Merge lp://staging/~3v1n0/unity/panelmenu-fixes into lp://staging/unity
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Neil J. Patel (community) | Approve | ||
Jason Smith (community) | Approve | ||
Gord Allott (community) | Approve | ||
Review via email: mp+76133@code.staging.launchpad.net |
Description of the change
Fixed lots of other PanelMenuView related bugs (see the linked list of "In Progress bugs" for reference).
In particular, I've also changed these things:
- Moving to nux::GetGraphic
warning this needs nux bzr-453 or newer not to crash, thanks to Jay for fixing!)
- Checking for mouse position after closing menus to hide/show them (bug bug #843670)
- Checking for mouse position after dragging a window to to hide/show menus
- Fix for PluginAdapter not to consider unmapped windows as maximized (bug #781215)
- Panel-service: correctly close menus when releasing mouse outside a menu title (bug #844309)
- Panel-service: cache the indicator entries geometry and use the values for checking mouse position
- Don't redecorate windows on maximization drag (bug #838923)
- panel-service: Remove id2entry_hash and use sscanf to parse the entries IDs
- PanelView: track mouse position only when it has been changed (fix bug #834065)
- PanelMenuView / PanelIndicators
- Better mouse grab management using only PanelTitleGrabArea
- PanelMenuView: even more checks to avoid to show/hide menus when we shouldn't
- PanelView: sync geometries for real
See the related commit logs for more informations.
This branch, to work properly, needs the updated UnityCore code that I've pushed in my lp:~3v1n0/unity/menus-switching-hacks branch (for the entries geometry things), so in the case that the other branch isn't accepted, we need to port its UnityCore changes here.
PS: for the record, this is the previous merge request for this branch: https:/
Has a merge conflict if you merge your other branch in first. Conflicts are non-trivial (at least for me to fix)