Summary: | buggy drakxtools banner rendering | ||
---|---|---|---|
Product: | [Plasma] Oxygen | Reporter: | tv <thierry.vignaud> |
Component: | gtk3-engine | Assignee: | Hugo Pereira Da Costa <hugo.pereira.da.costa> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | b7.10110111, hugo.pereira.da.costa, web, yyc1992 |
Priority: | NOR | ||
Version: | 1.2.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Banner rendered with Adwaita
Banner rendered with Oxygen-gtk3 |
Description
tv
2013-12-01 06:20:50 UTC
Created attachment 83848 [details]
Banner rendered with Adwaita
Created attachment 83849 [details]
Banner rendered with Oxygen-gtk3
Git commit 50dcea18bb61061a54b3a1b2565ba5ac5866de3d by Hugo Pereira Da Costa. Committed on 02/12/2013 at 10:58. Pushed by hpereiradacosta into branch 'gtk3'. - set some background to transparent explicitly in css, rather than using if statement in render_background - disable background on GtkOverlay - cleanup some code M +26 -0 src/oxygenqtsettings.cpp M +4 -12 src/oxygenthemingengine.cpp http://commits.kde.org/oxygen-gtk/50dcea18bb61061a54b3a1b2565ba5ac5866de3d Banner is back, but label is still not blue Still investigating why @Thierry From the diff code posted in the first comment, can you tell me how the blue text color is achieved ? I guess that would help me getting it fixed in oxygen-gtk3 The Banner widget (really the GtkOverlay) is set to have 'Banner' as name (with set_name()): http://gitweb.mageia.org/software/drakx/tree/perl-install/ugtk3.pm#n1371 This CSS file set widgets named 'Banner' to be rendered as blue: http://gitweb.mageia.org/software/drakx/tree/perl-install/share/themes-galaxy.css @Thierry Thanks, that helps. Investigating a bit, seems that the setting from galaxy is ignored because oxygen-gtk3 sets all (foreground) colors to black (well to kde's pallette). Now this should be overwritten by the galaxy setting, but the code #Banner { color: #5A8AD6; } Only applies to the #Banner widget and not its children (the actual GtkLabel) so that oxygen-gtk is kept. If you change the above into: #Banner *{ color: #5A8AD6; } Then blue label reappears magically (I think) Can you give it a shot ? (on top of the patch above) ? Thanks in advance, Hugo Actually, I'd done so 10minutes before your comment :-) http://gitweb.mageia.org/software/drakx/commit/perl-install/share?id=11ba82c878d478bd7707dd7a5d1083b19ecd4060 But in order to test, I need the patch that fixes the gray block... With the above commit, it's all good! Thanks thanks for the feedback closing, then |