~ted/unity/menu-ref

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Panel Opacity Toggle
--------------------
This test shows how works the panel_opacity_maximized_toggle unity option

Setup:

Actions:
#. Open CCSM
#. Go in the "Experimental" tab
#. Set the "Panel Opacity" setting to a value less than 1.0 (best is 0.0 for testing)
#. Enable the "Panel Opacity for Maximized Windows Toggle"
#. Close all your opened windows
#. The panel should be transparent according to the opacity setting
#. Now open a window and make sure it is restored
#. Open another Window and make it maximized

Expected Result:
  When there's at least one maximized window on the current screen, the panel
  should become opaque, also if the opacity setting is set to 0.0. 
  Once all the maximized windows are closed, restored or not visible,
  the panel should go back to its defined opacity.

Menu Color
----------
This test shows the color of the menus using the Ambiance theme:

Setup:

Actions:
#. Start with a clean screen
#. Open an application window with menus
#. Go on the top panel and open a menu

Expected Result:
  The menu should have a black background (i.e. #403f3a)

Middle-clicking or Scrolling over active Indicators
---------------------------------------------------
This test shows how the indicators icons should react to events when active.

Setup:

Actions:
#. Start on a clean screen
#. Open an indicator Menu (i.e. indicator-sound, not a global menu item)
#. Move the mouse pointer over the indicator-sound and middle-click or scroll
   over it.

Expected Result:
  The indicator-sound should mute/unmute on middle-clicks, and change the system
  volume on scroll.
  Middle-clicking over global-menu items should work as before (causing the open
  indicator menu to close).

Panel appearance with overlays
------------------------------
Setup:
Actions:
  * Press <super> to bring up the dash
  * Assert: The panel should be translucent matching the dash background
  * Press <alt> to bring up the hud without closing the dash
  * Assert: The panel should stay translucent

Expected Result:
 All assertions from above hold.


Disabled Top-level Menus
------------------------
Setup:
#. Install the 'gnome-dictionary' package.

Actions:
#. Launch the 'gnome-dictionary' application.
#. Open the 'View' menu.
#. Move the mouse over the 'Go' menu.

Expected Result:
#. THe Go menu should NOT open.


Panel (and Launcher) blinking/flickering
-----------------------------------------
Setup:
#. Optionally install "emacs23"

Actions:
#. Open LibreOffice Impress.
#. Click on "Click to add title" and "Click to add text" a few times.
#. Optionally: Run emacs23
#. Optionally: Open a large file in emacs23.
#. Optionally: Scroll to the bottom of the file using Page Down.

Expected Result:
  At no point during the actions should the panel (or launcher) blink or
  flicker out of existence.