Bug 257428

Summary: Aurorae: window content clipped when thin borders selected
Product: [Plasma] kwin Reporter: S.Trzmiel <xeno>
Component: auroraeAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot showing the issue

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