Bug 156247 - Desktopgrid should act more like real desktop WRT window activation and raising
Summary: Desktopgrid should act more like real desktop WRT window activation and raising
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
Depends on:
Reported: 2008-01-20 17:19 UTC by Mike
Modified: 2008-08-24 18:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2008-01-20 17:19:39 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

In desktop grid mode it is possible to click and move a window which is not on the top, if you do it raises but then drops.  This behavoiur is very confusing because if you click a window in desktopgrid mode it raises, but then as you leave desktopgrid mode it drops back to where it was.

I also notice problems moving and dropping a window back where it was, sometimes another window appears above it that was below before, I cannot easily replicate that though.

The stacking in desktopgrid mode should be replicated in the real desktop IMHO.
Comment 1 Lubos Lunak 2008-01-21 23:17:25 UTC
The window is only temporarily raised while dragged, to make it visible while dragging - what is the problem with that?
Comment 2 Mike 2008-01-22 03:28:19 UTC
It is totally different to how windows behave on the desktop.

Normally windows have 2 different actions depending on if the titlebar is clicked or if the window is moved with the alt key.  With the titlebar, the window is raised and then moved, with alt the window is not raised ever.

This way of doing things is another way altogether and personally I find it strange to have so many actions to move a different window.

I think it also creates other bugs, if a window is picked up and moved a small distance it sometimes gets dropped below where it was originally in the stack.

In addition to this, it will be common for people to use the desktop grid as an all-desktops version of present windows.  Activating desktop grid and then clicking a window has a totally different action to both the normal desktop and present windows.  It also looks visually unappealing as the window jumps to the top and then back down as the desktop is zoomed back in.
Comment 3 Lubos Lunak 2008-01-24 16:55:10 UTC
I'm not sure desktopgrid should act exactly like normal desktop - it probably shouldn't (as it has some features of its own) and even can't completely. But at least the raising could be improved.
Comment 4 lucas 2008-08-12 17:22:34 UTC
SVN commit 845893 by lmurray:

Improved the desktop grid effect.
FEATURE: 163104, 167265, 168557
CCBUG: 156247, 157196, 158787

 M  +0 -1      COMPOSITE_TODO  
 M  +3 -0      effects/CMakeLists.txt  
 M  +443 -441  effects/desktopgrid.cpp  
 M  +3 -3      effects/desktopgrid.desktop  
 M  +33 -22    effects/desktopgrid.h  
 M  +122 -66   effects/desktopgrid_config.cpp  
 M  +15 -6     effects/desktopgrid_config.h  
 A             effects/desktopgrid_config.ui  
 A             effects/slide.cpp   [License: GPL (v2+)]
 A             effects/slide.desktop  
 A             effects/slide.h   [License: GPL (v2+)]

WebSVN link: http://websvn.kde.org/?view=rev&revision=845893
Comment 5 Mike 2008-08-24 18:34:11 UTC
This should have been closed automatically