Panel should show a dropdown menu if the menu entries doesn't fit in the available horizontal space
Bug #1274554 reported by
Marco Trevisan (Treviño)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If the horizontal panel space is not enough to show all the application menus, unity should show a drop-down menu that shows all the indicator entries that aren't displayed.
Basically this is the proper fix for #655184:
Some programs with long menus interfere with the panel items on the right side of the panel. The panel should switch to a condensed font, then elide longer menu names in order to bring the menu into line with panel length. In an extreme case, switch to a vertical
layout:
File View Edit More
Related branches
lp:~3v1n0/unity/panel-dropdown-menu
- Christopher Townsend (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 4557 lines (+1819/-969)46 files modifiedUnityCore/CMakeLists.txt (+1/-1)
UnityCore/DBusIndicators.cpp (+42/-18)
UnityCore/DBusIndicators.h (+3/-3)
UnityCore/Indicator.cpp (+18/-26)
UnityCore/Indicator.h (+3/-6)
UnityCore/IndicatorEntry.cpp (+65/-6)
UnityCore/IndicatorEntry.h (+15/-7)
UnityCore/Indicators.cpp (+1/-1)
UnityCore/Indicators.h (+10/-44)
UnityCore/pch/unitycore_pch.hh (+2/-0)
debian/control (+3/-3)
debian/libunity-core-6.0-9.lintian-overrides (+1/-1)
debian/rules (+1/-1)
panel/CMakeLists.txt (+1/-0)
panel/PanelController.cpp (+1/-1)
panel/PanelController.h (+2/-4)
panel/PanelIndicatorEntryDropdownView.cpp (+150/-0)
panel/PanelIndicatorEntryDropdownView.h (+64/-0)
panel/PanelIndicatorEntryView.cpp (+28/-62)
panel/PanelIndicatorEntryView.h (+17/-11)
panel/PanelIndicatorsView.cpp (+101/-61)
panel/PanelIndicatorsView.h (+14/-8)
panel/PanelMenuView.cpp (+14/-9)
panel/PanelMenuView.h (+5/-1)
panel/PanelView.cpp (+21/-6)
panel/PanelView.h (+5/-1)
panel/StandalonePanel.cpp (+1/-0)
plugins/unityshell/src/unity-panel-view-accessible.cpp (+1/-1)
plugins/unityshell/src/unitya11y.cpp (+1/-0)
plugins/unityshell/unityshell.xml.in (+3/-0)
services/panel-main.c (+23/-0)
services/panel-service.c (+187/-52)
services/panel-service.h (+7/-0)
tests/CMakeLists.txt (+2/-29)
tests/data/external.gschema.xml (+34/-0)
tests/data/icons/go-down-symbolic.svg (+17/-0)
tests/mock_indicators.h (+52/-0)
tests/test_indicator.cpp (+111/-98)
tests/test_indicator_entry.cpp (+290/-176)
tests/test_indicators.cpp (+80/-283)
tests/test_main.cpp (+1/-4)
tests/test_panel_controller.cpp (+33/-29)
tests/test_panel_indicator_entry_dropdown_view.cpp (+313/-0)
tests/test_panel_indicators_view.cpp (+43/-3)
tests/test_panel_menu_view.cpp (+4/-2)
tests/test_panel_view.cpp (+28/-11)
description: | updated |
To post a comment you must log in.
Fix committed into lp:unity at revision None, scheduled for release in unity, milestone 7.2.0