Bug 298402

Summary: Ugly behavior with the zoom function in "present windows" effect with small windows
Product: [Plasma] kwin Reporter: christian.blaicher
Component: effects-window-managementAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: edgbla
Priority: NOR Flags: thomas.luebking: ReviewRequest+
Version: unspecified   
Target Milestone: 4.11   
Platform: Ubuntu   
OS: Linux   
URL: https://git.reviewboard.kde.org/r/115455/
Latest Commit: Version Fixed In: 4.11.7

Description christian.blaicher 2012-04-19 09:43:38 UTC
The new zoom effect at Present Windows doesn't look very good with small windows or shaded windows (see screenshot URL). Especially the close button looks a little bit lost.

http://wstaw.org/m/2012/04/19/Present_Window_Zoom1.png
http://wstaw.org/m/2012/04/19/Present_Window_Zoom.png

Reproducible: Always

Steps to Reproduce:
1.Open a shade window or a long horizontal window
2."Use Present Windows"
3.
Actual Results:  
The horizontal/shaded window zooms out to far

Expected Results:  
It should zoom to a nice size
Comment 1 Thomas Lübking 2014-02-24 19:38:29 UTC
Git commit 6e5e5ca5ab580e8f14ac6a4082ba82efd68d47df by Thomas Lübking.
Committed on 04/02/2014 at 18:00.
Pushed by luebking into branch 'KDE/4.11'.

spatial present windows zoom calculation

instead 1/16 of the area, 1/4 of the bigger and 1/32
of the smaller screen/window ratio
(ie. a shaded window would typically zoom to 1/32 of the screen height)
FIXED-IN: 4.11.7
REVIEW: 115455

M  +8    -1    kwin/effects/presentwindows/presentwindows.cpp

http://commits.kde.org/kde-workspace/6e5e5ca5ab580e8f14ac6a4082ba82efd68d47df