! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Logout dialog turns screen bluish
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-session
Component:
General

Comments

Description Andrew Conkling 2005-01-29 15:59:33 CET
I notice that the logout screen turns the screen kind of blue, rather than
pulling a colour from the GTK theme (or even from the background colour).  Also,
the border around the dialog window is also blue.  Could these be changed to
reflect the colour of the GTK theme?
Comment 1 Andrew Conkling 2005-03-08 23:25:33 CET
I don't know if this helps, but if it's not possible to get an appropriate color
from the GTK+ theme, the color could at least be changed to a dark grey, which
would achieve the same effect.
Comment 2 Benedikt Meurer editbugs 2005-03-08 23:29:31 CET
The problem is: Which Gtk theme color?
Comment 3 Andrew Conkling 2005-03-08 23:38:59 CET
How about, in theme-speak, bg[SELECTED]?  For all the themes I can think of,
that would be a good choice.  (In non-theme-speak, that's the background of
selected text.)
Comment 4 Benedikt Meurer editbugs 2005-03-08 23:45:58 CET
bg[SELECTED] is bound to a widget class/name. So, use an existing Gtk widget
class (e.g. query the background color of GtkWidget), or use a custom class?
Comment 5 Andrew Conkling 2005-03-09 00:09:29 CET
Well I don't see a problem in using an existing class; like I said, bg[SELECTED]
would be a good choice in all the themes I can think of.  However, it may not. 
So, if you choose to create a new class, would it be possible at least to have a
fallback to an existing one?
Comment 6 Ori Bernstein 2005-07-13 22:21:43 CEST
Created attachment 274 
Patch changing the color to be taken from the realized window

A workaround from GTK apparently not assigning theme colors properly to
unrealized widgets and GtkEventBoxes.

This patch realizes the window passed to the function, and uses it's
bg[SELECTED] color as the background color in place of the EventBox's.

A bug should probably be filed against GTK.
Comment 7 Benedikt Meurer editbugs 2005-07-14 11:18:08 CEST
Its the correct behaviour for Gtk+, the style is attached when the widget is
realized. The bug was in xfce4-session. Fixed with revision 16225.
Comment 8 Benedikt Meurer editbugs 2005-07-14 11:18:33 CEST
Comment on attachment 274 
Patch changing the color to be taken from the realized window

Applied with revision 16225.
Comment 9 Harold Aling 2007-02-15 21:01:40 CET
(In reply to comment #8)
> (From update of attachment 274 )
> Applied with revision 16225.
> 

Fixed...

Bug #747

Reported by:
Andrew Conkling
Reported on: 2005-01-29
Last modified on: 2009-07-14

People

Assignee:
Benedikt Meurer
CC List:
0 users

Version

Attachments

Additional information