Bug 248754 - [Aurorae] text shadow not drawing correctly
Summary: [Aurorae] text shadow not drawing correctly
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-23 06:10 UTC by S. Christian Collins
Modified: 2010-08-28 13:52 UTC (History)
0 users

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


Attachments
aurorae text shadow incorrect rendering (75.64 KB, image/png)
2010-08-23 06:13 UTC, S. Christian Collins
Details
aurorae text shadow correct rendering (67.66 KB, image/png)
2010-08-23 06:13 UTC, S. Christian Collins
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Christian Collins 2010-08-23 06:10:41 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

When a window first appears, the text color and shadow are not drawn correctly.  After the window state changes (minimize & restore, or make inactive then active again) the title bar text is then properly drawn.  I have attached two screenshots, the first showing the incorrect rendering and the second, the correct rendering.

The theme I am using is "Tenuto-Light-ActiveStrong", and can be downloaded here:
http://kde-look.org/content/show.php?content=121891

According to the theme's *rc file, the text is supposed to be black and the shadow is white with a 1px horizontal & vertical offset (to create an embossed effect).  Here is the pertinent part of the *rc file:

[General]
ActiveTextColor=0,0,0,255
InactiveTextColor=0,0,0,128
UseTextShadow=true
ActiveTextShadowColor=255,255,255,200
InactiveTextShadowColor=255,255,255,130
TextShadowOffsetX=1
TextShadowOffsetY=1
TitleAlignment=Center
TitleVerticalAlignment=Center
Animation=200
Shadow=true

** My System **
Motherboard: MSI K9N SLI Platinum (nForce 570 SLI chipset)
CPU: AMD Athlon(tm) 64 Processor 4000+ (2.6 GHz)
RAM: 2GB DDR2
Video: Dell NVIDIA GeForce 7800 GTX w/ 256 MB RAM (PCI Express)
OS: Kubuntu 10.04 i386 w/ KDE SC 4.5.0 from Kubuntu PPA
Linux Kernel: 2.6.32-24-lowlatency
NVIDIA driver: 256.44 (also tested with 195.36.15)
Screen Resolution: 1280 x 960
X.org: 7.5
Qt: 4.7.0 beta2

Reproducible: Always
Comment 1 S. Christian Collins 2010-08-23 06:13:01 UTC
Created attachment 50847 [details]
aurorae text shadow incorrect rendering
Comment 2 S. Christian Collins 2010-08-23 06:13:17 UTC
Created attachment 50848 [details]
aurorae text shadow correct rendering
Comment 3 Martin Flöser 2010-08-26 20:38:56 UTC
Can confirm in AuroraeDesigner. Seems really to be related to text shadows. If I disable those in AuroraeDesigner it's rendered correctly. Thanks for reporting this issue.
Comment 4 Martin Flöser 2010-08-28 13:50:33 UTC
SVN commit 1169086 by graesslin:

Update text shadow information whenever Tabs are added/removed in Aurorae.

Fixes incorrect initial text shadow position in Aurorae. Unfortunately
QGraphicsDropShadowEffect seems to be not side effect free. Updates to the scene
are not propagated leaving the tabs in a wrong visual state. Therefore text shadow
is disabled for window tabbing. I will investigate further to see if it gets fixed
in Qt 4.7.
BUG: 248754
FIXED-IN: 4.5.2



 M  +13 -1     auroraescene.cpp  
 M  +12 -1     auroraetab.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1169086
Comment 5 Martin Flöser 2010-08-28 13:52:18 UTC
SVN commit 1169087 by graesslin:

Forward port revision 1169086: Update text shadow information whenever Tabs are added/removed in Aurorae.

Fixes incorrect initial text shadow position in Aurorae. Unfortunately
QGraphicsDropShadowEffect seems to be not side effect free. Updates to the scene
are not propagated leaving the tabs in a wrong visual state. Therefore text shadow
is disabled for window tabbing. I will investigate further to see if it gets fixed
in Qt 4.7.
CCBUG: 248754

 M  +13 -1     auroraescene.cpp  
 M  +12 -1     auroraetab.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1169087