[window management] Add option to metacity to avoid unmapping minimized windows

Bug #696864 reported by Ugo Riboni
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-2d
Fix Released
High
Ugo Riboni

Bug Description

Right now Metacity unmaps the windows when they are minimized.
This prevents the spread feature in unity-qt to grab their screenshots.
It would be interesting to add an option (via gconf) that when activated would prevent this unmapping to happen.
It seems Mutter already does this, and it is based on Metacity, so it's probably worth backporting as much as this code as possible to Metacity when implementing this.

Changed in upicek:
assignee: nobody → Ugo Riboni (uriboni)
importance: Undecided → Medium
status: New → Confirmed
milestone: none → m4
summary: - Add option to metacity to avoid unmapping minimized windows
+ [window management] Add option to metacity to avoid unmapping minimized
+ windows
affects: upicek → unity-2d
Changed in unity-2d:
milestone: 0.4 → none
milestone: none → 3.4
visibility: private → public
Changed in unity-2d:
importance: Medium → High
Changed in unity-2d:
status: Confirmed → In Progress
Changed in unity-2d:
status: In Progress → Fix Committed
Changed in unity-2d:
status: Fix Committed → Fix Released
Revision history for this message
Ori Avtalion (salty-horse) wrote :

The Ubuntu patch 16-capture-before-unmap.patch for the metacity package, which links here, has a bug.

It introduces several display glitches that causes windows to redraw incorrectly, and show the window beneath.

Example 1:
Using the Human theme, go to a clean desktop and open several terminals. they will tile. Now hold alt-tab to quickly change the focus between them. The focus rectangle will move between the windows, and when it will disappear, the edges of the window decoration will be removed, and not redrawn.

Example 2:
Using any theme, go to a clean desktop and open a terminal window. Maximize it. open several more terminal windows (that will tile) and then spread them around so that they all appear above the maximized window. Now alt-tab quickly. Again, the focus rectangle will move between windows, and after leaving some, those will fail to redraw their left and bottom borders.

I have seen other glitches, unrelated to the window focus rectangle, that are harder to reproduce but are quite common. Those involve larger rectangles appearing on windows, showing through to the window beneath (or the desktop wallpaper). The rectangles appear on windows and even the gnome-panel.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.