[Grid] Window restored to wrong position if it was fully maximized by Grid plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Medium
|
MC Return | ||
compiz (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
1. Place an unmaximized window to bottom of the screen.
2. Maximize the window by dragging it to the top of your screen.
3. Unmaximize it by pressing restore window decoration(1) or grid restore key binding (CTRL + ALT + R) (2).
What should happen?
- Window restores its original size and position (at the bottom of your screen)
What happens?
- Window is placed to fixed position on top left corner of the screen at (50, 50).
Why?
If window is being moved by mouse, the window is placed to (50, 50) of the current workarea to make sure it maximizes to right workspace. The window state is saved(*) at maximize event _after_ reposition operation and when it's restored, window returns to (50, 50).
(*) (1) by another plugin, (2) GridWindow:
Related branches
- PS Jenkins bot (community): Approve (continuous-integration)
- Sam Spilsbury: Approve
- MC Return: Needs Resubmitting
-
Diff: 1901 lines (+691/-678)5 files modifieddebian/patches/100_workaround_virtualbox_hang.patch (+14/-22)
debian/patches/ubuntu-config.patch (+31/-43)
plugins/grid/grid.xml.in (+459/-455)
plugins/grid/src/grid.cpp (+99/-98)
plugins/grid/src/grid.h (+88/-60)
Changed in compiz: | |
milestone: | 0.9.8.0 → 0.9.8.1 |
Changed in compiz: | |
milestone: | 0.9.8.2 → 0.9.8.4 |
Changed in compiz: | |
milestone: | 0.9.8.4 → 0.9.9.0 |
Changed in compiz: | |
milestone: | 0.9.9.0 → 0.9.9.2 |
Changed in compiz: | |
milestone: | 0.9.9.2 → 0.9.10.0 |
Changed in compiz: | |
assignee: | nobody → MC Return (mc-return) |
status: | New → Confirmed |
Changed in compiz: | |
importance: | Undecided → Medium |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
Sounds related to bug 878516.