Merge lp:~smspillaz/unity/4.0.fix_881190_918360 into lp:unity/4.0
Status: | Rejected |
---|---|
Rejected by: | Sam Spilsbury |
Proposed branch: | lp:~smspillaz/unity/4.0.fix_881190_918360 |
Merge into: | lp:unity/4.0 |
Diff against target: |
208 lines (+41/-38) 3 files modified
plugins/unityshell/src/compizminimizedwindowhandler.h (+35/-23) plugins/unityshell/src/minimizedwindowhandler.h (+1/-0) plugins/unityshell/src/unityshell.cpp (+5/-15) |
To merge this branch: | bzr merge lp:~smspillaz/unity/4.0.fix_881190_918360 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sam Spilsbury (community) | Disapprove | ||
Review via email: mp+89183@code.launchpad.net |
Description of the change
Fix LP #881190 and a condition that could happen after: #918360 due to
a incorrect refcounting.
The transient for reader would report every window as a "transient" if it
matched the w->transientFor () definition on the window - at destruction time
this will be zero, so it will match every single window. That would cause
all windows to be unminimized.
However, it makes no sense to do the unminimize/minimize normally dance when
the window has been destroyed.
Additionaly, there was a cyclic reference in CompizMinimized
which would cause those objects to never be destroyed. A condition could
happen where CompizMinimized
a CompWindow that was gone.
Unmerged revisions
- 1733. By Sam Spilsbury
-
Fix LP #881190 and a condition that could happen after: #918360 due to
a incorrect refcounting.The transient for reader would report every window as a "transient" if it
matched the w->transientFor () definition on the window - at destruction time
this will be zero, so it will match every single window. That would cause
all windows to be unminimized.However, it makes no sense to do the unminimize/minimize normally dance when
the window has been destroyed.Additionaly, there was a cyclic reference in CompizMinimized
WindowHandler,
which would cause those objects to never be destroyed. A condition could
happen where CompizMinimizedWindowHandler could loop its own list and dereference
a CompWindow that was gone.
Dropped for 4.0 while the fix is reworked again