Bug 197132

Summary: Slide effect has wrong desktop layout if pager is not run
Product: [Plasma] kwin Reporter: Jeremy Kerr <jk>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 4.2.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jeremy Kerr 2009-06-19 12:01:58 UTC
Version:           4.2.2 (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

[ originally a comment in 185710, but filing as a new bug ]

I have five virtual desktops, and the 'Slide' desktop effect enabled. If I use the 'desktop grid' effect to view all desktops (it zooms out to show all desktops), I see that they're laid out in 1 row * 5 column grid:

 1 2 3 4 5

However, if I switch between virtual desktops, the slide effect will slide the windows as if the desktop is laid out in a 2 row * 3 column grid:

 1 2 3
 4 5

ie, if i switch from desktop 1 to desktop 4, the slide effect scans downwards, not sideways as expected.

Note that I do *not* have the pager plasmoid running. If I start the pager plasmoid, then the behaviour of the slide effect seems to be correct (laid out in a 1 * 5 grid). If I then remove the pager, the correct behaviour remains.

So, the workaround is to add the pager app and then immediately remove it, but this must be done on every login.
Comment 1 Martin Flöser 2009-07-17 23:20:43 UTC
the layout has to be set by the pager (http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#id2550891). The Desktop Grid does have an option to have an independent layout. Nevertheless for something like the slide effect we *should* implement a general solution

*** This bug has been marked as a duplicate of bug 105779 ***