Bug 271164

Summary: Groupbox labels are almost invisible in nvidia-settings in some places
Product: [Plasma] Oxygen Reporter: Ruslan Kabatsayev <b7.10110111>
Component: gtk2-engineAssignee: Hugo Pereira Da Costa <hugo.pereira.da.costa>
Status: CLOSED FIXED    
Severity: normal CC: b7.10110111, hugo.pereira.da.costa, web
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ruslan Kabatsayev 2011-04-17 17:13:36 UTC
Version:           unspecified
OS:                Linux

See http://simplest-image-hosting.net/png-0-im-shot1 (notice the dots instead of the labels).

Reproducible: Always
Comment 1 Hugo Pereira Da Costa 2011-04-19 15:14:15 UTC
Git commit 2a6895a94d50c239770d615fa22dde04008b6b01 by Hugo Pereira Da Costa.
Committed on 19/04/2011 at 15:14.
Pushed by hpereiradacosta into branch 'master'.

Fix groupbox label size adjustment

- register groupbox label to dedicated engine
- only resize at registration if size is large enough
- resize at size-allocate otherwise
- never resize labels twice.

CCBUG: 271164

M  +36   -14   src/animations/oxygenanimations.cpp     
M  +10   -2    src/animations/oxygenanimations.h     
A  +64   -0    src/animations/oxygengroupboxlabeldata.h         [License: LGPL (v2)]
A  +60   -0    src/animations/oxygengroupboxlabelengine.h         [License: LGPL (v2)]

http://commits.kde.org/oxygen-gtk/2a6895a94d50c239770d615fa22dde04008b6b01
Comment 2 Hugo Pereira Da Costa 2011-04-19 15:28:16 UTC
That fixes it, in a hopefully robust way.
Closing.
Thanks for reporting Ruslan !