Bug 271164 - Groupbox labels are almost invisible in nvidia-settings in some places
Summary: Groupbox labels are almost invisible in nvidia-settings in some places
Status: CLOSED FIXED
Alias: None
Product: Oxygen
Classification: Plasma
Component: gtk2-engine (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Hugo Pereira Da Costa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-17 17:13 UTC by Ruslan Kabatsayev
Modified: 2011-07-29 23:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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