Bug 298402 - Ugly behavior with the zoom function in "present windows" effect with small windows
Summary: Ugly behavior with the zoom function in "present windows" effect with small w...
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-window-management (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: 4.11
Assignee: KWin default assignee
URL: https://git.reviewboard.kde.org/r/115...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-19 09:43 UTC by christian.blaicher
Modified: 2014-02-24 19:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.7
Sentry Crash Report:
thomas.luebking: ReviewRequest+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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