Bug 257428 - Aurorae: window content clipped when thin borders selected
Summary: Aurorae: window content clipped when thin borders selected
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: aurorae (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-20 17:22 UTC by S.Trzmiel
Modified: 2012-01-13 17:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot showing the issue (88.52 KB, image/jpeg)
2010-11-20 17:22 UTC, S.Trzmiel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S.Trzmiel 2010-11-20 17:22:20 UTC
Created attachment 53582 [details]
Screenshot showing the issue

Version:           unspecified (using KDE 4.5.3) 
OS:                Linux

New windows aren't displayed properly with Aurorae decorations/thin borders selected. It looks like content is drawn larger than actual window and gets cropped to it's size. If window shade plugin is enabled, window shade is rendered just for the title bar. It's not possible to resize window dragging sides/bottom corners. With normal borders windows/shadows are dislpayed ok.

BTW, I know about one issue/one bug rule but it's so small that it's not worth separate report. Please enlarge diagonal-resize area around corners to lets say 10x10 px box. Now it's too small and it's difficult to resize window quicly.

Reproducible: Didn't try

Steps to Reproduce:
1. Select any Aurorae based theme as a window decoration.
2. Select thin border in theme config window. Hit apply
3. Open new window


Actual Results:  
New opened window content is cropped by ~10 px.Some elements of the window (like scrollbars) are cut. Window shadow parts are missing, It's imposible to drag windows sides/corners.

Expected Results:  
Window display full content, shadows are displayed for the whole window. Window is resizable on all sides/corners.
Comment 1 Martin Flöser 2011-01-16 12:07:26 UTC
confirmed using air-oxygen theme
Comment 2 Martin Flöser 2011-01-16 12:23:37 UTC
ah yes, found the relevant code with a nice comment:
// TODO: this looks wrong
Comment 3 Martin Flöser 2012-01-13 17:09:27 UTC
Git commit 75ba381f46302aa7e45b61644ccb44f46e657246 by Martin Gräßlin.
Committed on 12/01/2012 at 20:23.
Pushed by graesslin into branch 'master'.

Ensure that borders have at least a size of 0

Prevents cropping of windows with tiny borders.

M  +8    -8    kwin/clients/aurorae/src/qml/aurorae.qml

http://commits.kde.org/kde-workspace/75ba381f46302aa7e45b61644ccb44f46e657246