Bug 168557

Summary: Desktop grid does not keep desktops' aspect ratio.
Product: [Plasma] kwin Reporter: Josef Kufner <jk>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Josef Kufner 2008-08-06 23:27:56 UTC
Version:           3.0 (using KDE 4.1.0)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Hi,
I'm using 12 desktops in 4x3 grid (4 horizontaly, 3 verticaly). So when desktop grid is activated, it stretches all desktops (whole grid) to fit screen. But it is ugly and windows are deformed. Wallpaper is not deformed, only windows. When I try same with 3x3 grid, it has same aspect ratio as screen, everything is ok and it looks good. And 12x1 grid is unusable -- it looks like barcode :)

Solution: Scale desktops with correct aspect ratio and fill screen with black margins. It is same situation when viewing 16:9 movie on 4:3 screen.

Thank you and sorry for my english...
Comment 1 lucas 2008-08-12 17:28:03 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