Possible race condition in PanelMenuView::OnWindowMaximized and OnWindowRestored
Bug #736580 reported by
Dylan McCall
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Fix Released
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
PanelMenuView:
This opens us up to a race condition, dependent on the surrounding environment. If the function runs after a window has been restored and unfocused, Unity will fail to return that window's decorations. This is likely with the fix for bug #723882, if one double clicks the panel titlebar using the middle mouse button.
Related branches
lp:~dylanmccall/unity/panel-drag-frontmost-maximized
- Didier Roche-Tolomelli: Approve
-
Diff: 423 lines (+180/-44)8 files modifiedsrc/PanelMenuView.cpp (+78/-42)
src/PanelMenuView.h (+5/-0)
src/PanelTitlebarGrabAreaView.cpp (+6/-0)
src/PanelTitlebarGrabAreaView.h (+1/-0)
src/PluginAdapter.cpp (+60/-0)
src/PluginAdapter.h (+4/-0)
src/WindowManager.cpp (+21/-1)
src/WindowManager.h (+5/-1)
lp:~ubuntu-desktop/unity/ubuntu
(Merged)
Changed in unity: | |
status: | New → Confirmed |
Changed in unity (Ubuntu): | |
status: | New → Confirmed |
Changed in unity: | |
status: | Confirmed → Fix Committed |
milestone: | none → 3.6.8 |
Changed in unity: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thank you Dylan! (nb. Dylan originally queried this on IRC yesterday, but the right people weren't around to ask).