[Bug 864478] Re: Window shading is broken
** Changed in: unity (Ubuntu) Status: Invalid => Fix Released ** Changed in: unity (Ubuntu) Importance: Undecided => High ** Changed in: unity (Ubuntu) Assignee: (unassigned) => Sam Spilsbury (smspillaz) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
** Changed in: unity (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
** Description changed: Shading a window results in an invisible frame and rendering artefacts. Also, shading doesn't happen reliably (eg, pressing the keybinding will not shade some windows) Testcase - edit /apps/compiz-1/gwd/titlebar_action to 'shade' + edit /apps/gwd/titlebar_action to 'shade' scroll up on a window titlebar The window should not disappear -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
Thanks, I didn't know about the "proposed" repository. deb http://us.archive.ubuntu.com/ubuntu/ oneiric-proposed restricted main multiverse universe I installed the compiz and the problem is solved. Excellent! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
Fix seems to work. Thanks guys! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
Found http://ubuntuforums.org/showthread.php?t=1870006 and it lead me to the change log for '1:0.9.6+bzr20110929-0ubuntu6' in oneiric-proposed (pre-released updates): * Add some upstream missing bits from previous fixes: - debian/patches/fix-864330.patch - debian/patches/fix-864478.patch A poster on the thread also reports that the oneiric-proposed version DOES fix the issue for them. Seems like there was a slight problem with the patch that has since been fixed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
Does somebody know if the updated Compiz packages (4.26) be released for 11.10? If not, I must downgrade to 11.04 or switch to something different. I've got 13 years of muscle memory telling me that I can shade windows. Unfortunately, minimized xterms can be very difficult to find in this version of Unity and metacity doesn't have the customization options I enjoy. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
I have this problem also: ii compiz 1:0.9.6+bzr20110929-0ubuntu5 OpenGL window and compositing manager ii compiz-core1:0.9.6+bzr20110929-0ubuntu5 OpenGL window and compositing manager ii compiz-gnome 1:0.9.6+bzr20110929-0ubuntu5 OpenGL window and compositing manager - GNOME window decorator ii compiz-plugins 1:0.9.6+bzr20110929-0ubuntu5 OpenGL window and compositing manager - plugins ii compiz-plugins-default 1:0.9.6+bzr20110929-0ubuntu5 OpenGL window and compositing manager - default plugins ii -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
I also have the same frame, also compiz 1:0.9.6+bzr20110929-0ubuntu5, unity 4.24.0-0ubuntu2b1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
I have the visible frame in shaded windows too, as beruic. Oneiric and compiz 1:0.9.6+bzr20110929-0ubuntu5. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
Here's a screenshot of how my windows look in shaded mode. ** Attachment added: "Skærmbillede på 2011-10-23 23:47:29.png" https://bugs.launchpad.net/compiz-core/+bug/864478/+attachment/2568872/+files/Sk%C3%A6rmbillede%20p%C3%A5%202011-10-23%2023%3A47%3A29.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
I think I still have this issue. Has the fix hit the repos? I can't find that path mentioned in the description, but when I use Ctrl+Alt+S there's a frame left upon shading. I'm on Oneiric. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
This bug was fixed in the package compiz - 1:0.9.6+bzr20110929-0ubuntu5 --- compiz (1:0.9.6+bzr20110929-0ubuntu5) oneiric-proposed; urgency=low * debian/patches/fix-864330.patch: - fix windows which can have towed moving (LP: #864330) * debian/patches/fix-864478.patch: - Window shading is broken (LP: #864478) compiz (1:0.9.6+bzr20110929-0ubuntu4) oneiric-proposed; urgency=low * debian/control: - don't suggest nvidia-glx, it's part of the old initial packaging and probably a bad hint on non nvidia system (LP: #844218) * Cherry-pick upstream patches: - Windows should not automatically be focused when opened if the focus is on another application (LP: #748840) - Launcher - If a spread contains minimised windows, when the spread exits, the minimised windows momentarily appear on the desktop before disappearing (LP: #863328) - reproducible stacking bug in compiz (LP: #869316) - Click-dragging a window that's stacked above a fullscreen window will cause it to go underneath the fullscreen window (LP: #869919) - sometimes the keyboard input doesn't go to the apparently focussed dialog (LP: #869967) - Opening mumble can cause it to be stacked above the dash if you open the dash at the same time (LP: #865863) - Sometimes configure events are missed and windows move slow as a result (LP: #866752) - Workaround ubuntu desktop unity. Mouse at the left side doesn't reveal launcher (LP: #832150) -- Didier RocheWed, 12 Oct 2011 10:44:49 +0200 ** Changed in: compiz (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
** Changed in: unity Milestone: 4.24.0 => 4.26.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
Pending follow-up fix pending verification === modified file 'debian/patches/fix-864478.patch' --- debian/patches/fix-864478.patch 2011-10-12 10:06:03 + +++ debian/patches/fix-864478.patch 2011-10-17 07:02:55 + @@ -1,8 +1,8 @@ === modified file 'plugins/decor/src/decor.cpp' Index: compiz-0.9.6+bzr20110929/plugins/decor/src/decor.cpp === compiz-0.9.6+bzr20110929.orig/plugins/decor/src/decor.cpp 2011-10-12 16:58:15.358820188 +0800 -+++ compiz-0.9.6+bzr20110929/plugins/decor/src/decor.cpp 2011-10-12 16:58:26.894877391 +0800 +--- compiz-0.9.6+bzr20110929.orig/plugins/decor/src/decor.cpp 2011-09-29 14:53:38.0 +0800 compiz-0.9.6+bzr20110929/plugins/decor/src/decor.cpp 2011-10-17 15:01:40.431183993 +0800 @@ -189,8 +189,6 @@ if (wd && wd->decor->type == WINDOW_DECORATION_TYPE_PIXMAP) @@ -12,10 +12,86 @@ CompRect box; GLTexture::MatrixList ml (1); mask |= PAINT_WINDOW_BLEND_MASK; +@@ -738,9 +736,14 @@ + for (i = 0; i < wd->nQuad; i++) + { + int x, y; ++ unsigned int width = window->size ().width (); ++ unsigned int height = window->size ().height (); ++ ++ if (window->shaded ()) ++ height = 0; + +- computeQuadBox (&wd->decor->quad[i], window->size ().width (), +- window->size ().height (), ++ computeQuadBox (&wd->decor->quad[i], width, ++ height, + &x1, &y1, &x2, &y2, &sx, &sy); + + x = window->geometry ().x (); This ensures that the decoration size is correctly calculated when the window is shaded, so that you don't get a full size decoration for a shaded window +@@ -1995,37 +1998,34 @@ + void + DecorWindow::stateChangeNotify (unsigned int lastState) + { +-if (!update (true)) ++if (wd && wd->decor) + { +- if (wd && wd->decor) +- { +- int oldShiftX = shiftX (); +- int oldShiftY = shiftY (); +- int moveDx, moveDy; ++ int oldShiftX = shiftX (); ++ int oldShiftY = shiftY (); ++ int moveDx, moveDy; + +- if ((window->state () & MAXIMIZE_STATE) == MAXIMIZE_STATE) +- window->setWindowFrameExtents (&wd->decor->maxBorder, +- &wd->decor->maxInput); +- else +- window->setWindowFrameExtents (&wd->decor->border, +- &wd->decor->input); ++ if ((window->state () & MAXIMIZE_STATE) == MAXIMIZE_STATE) ++ window->setWindowFrameExtents (&wd->decor->maxBorder, ++ &wd->decor->maxInput); ++ else ++ window->setWindowFrameExtents (&wd->decor->border, ++ &wd->decor->input); + +- /* Since we immediately update the frame extents, we must +- * also update the stored saved window geometry in order +- * to prevent the window from shifting back too far once +- * unmaximized */ ++ /* Since we immediately update the frame extents, we must ++ * also update the stored saved window geometry in order ++ * to prevent the window from shifting back too far once ++ * unmaximized */ + +- moveDx = shiftX () - oldShiftX; +- moveDy = shiftY () - oldShiftY; ++ moveDx = shiftX () - oldShiftX; ++ moveDy = shiftY () - oldShiftY; + +- if (window->saveMask () & CWX) +- window->saveWc ().x += moveDx; ++ if (window->saveMask () & CWX) ++ window->saveWc ().x += moveDx; + +- if (window->saveMask () & CWY) +- window->saveWc ().y += moveDy; ++ if (window->saveMask () & CWY) ++ window->saveWc ().y += moveDy; + +- updateFrame (); +- } ++ updateFrame (); + } + This ensures that the decoration image can be updated even if there was no change to the window size (happens in the case of shading a maximized window + window->stateChangeNotify (lastState); Index: compiz-0.9.6+bzr20110929/src/event.cpp === compiz-0.9.6+bzr20110929.orig/src/event.cpp2011-10-12 16:58:15.434820565 +0800 -+++ compiz-0.9.6+bzr20110929/src/event.cpp 2011-10-12 16:58:26.898877416 +0800 +--- compiz-0.9.6+bzr20110929.orig/src/event.cpp2011-10-17 14:59:58.882680439 +0800 compiz-0.9.6+bzr20110929/src/event.cpp 2011-10-17 15:00:01.278692325 +0800 @@ -1837,7 +1837,7 @@ * and the passive button grabs and then we will * get the DestroyNotify later and change the focus @@ -44,8 +120,8 @@ state &= ~CompWindowStateDemandsAttentionMask; Index: compiz-0.9.6+bzr20110929/src/window.cpp === compiz-0.9.6+bzr20110929.orig/src/window.cpp
[Bug 864478] Re: Window shading is broken
** Changed in: compiz Status: Fix Committed => Fix Released ** Changed in: compiz-core Status: Fix Committed => Fix Released ** Changed in: unity Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
** Branch linked: lp:ubuntu/oneiric-proposed/compiz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
** Branch linked: lp:compiz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
** Package changed: unity (Ubuntu) => compiz (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
** Description changed: Shading a window results in an invisible frame and rendering artefacts. Also, shading doesn't happen reliably (eg, pressing the keybinding will not shade some windows) + + Testcase + + edit /apps/compiz-1/gwd/titlebar_action to 'shade' + scroll up on a window titlebar + + The window should not disappear -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
** Changed in: unity Status: In Progress => Fix Committed ** Changed in: unity (Ubuntu) Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
** Changed in: unity Milestone: 4.22.0 => 4.24.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
** Changed in: compiz-core Status: In Progress => Fix Committed ** Also affects: compiz Importance: Undecided Status: New ** Changed in: compiz Status: New => Fix Committed ** Changed in: compiz Assignee: (unassigned) => Sam Spilsbury (smspillaz) ** Changed in: compiz Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 864478] Re: Window shading is broken
** Changed in: unity (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/864478 Title: Window shading is broken To manage notifications about this bug go to: https://bugs.launchpad.net/compiz-core/+bug/864478/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs