URL:
<http://gna.org/bugs/?20773>
Summary: [cosmetic] Color selectors draw their own
background, showing boring grey rectangles under them in gradient-y themes
Project: MyPaint
Submitted by: achadwick
Submitted on: Sat 27 Apr 2013 10:35:34 PM GMT
Severity: 2 - Minor
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: git master 9571de8b
Planned Release: None
Operating System: All, esp. shinily-themed ones
_______________________________________________________
Details:
The interactive colour selectors generally draw their own background:
specifically they get the default clear behaviour of GtkDrawingArea, and it
can be ugly when a theme uses gradients.
Non-interactive widgets derived from the same base classes do not always
suffer from this, for example gui.colors.hcywheel.HCYMaskPreview (which is
shown in the New and Open dialogs) does the following in its constructor
self.set_app_paintable(True)
self.set_has_window(False)
which allows the button backgrounds in the New dialog to show through.
This is of course all at the expense of receiving input events - widgets need
windows of their own for that - so it would probably be best to refactor this
class hierarchy to base selectors around a windowless selection DrawingArea
inside an invisible input-only GtkEventBox.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20773>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs