bugMyPaint - Bugs: bug #20773, [cosmetic] Color selectors draw...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #20773: [cosmetic] Color selectors draw their own background, showing boring grey rectangles under them in gradient-y themes

Submitted by:  Andrew Chadwick <achadwick>
Submitted on:  Sat Apr 27 22:35:34 2013  
Severity: 2 - MinorPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: git master 9571de8bPlanned Release: None
Operating System: All, esp. shinily-themed ones

Sat Apr 27 22:35:34 2013, original submission:

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

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.

Andrew Chadwick <achadwick>
Project Administrator


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by achadwick (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup