GTG

Crashes when changing color of a tag (caused by switch to GtkBuilder)

Bug #486917 reported by Kevin Mehall
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GTG
Fix Released
High
Bertrand Rousseau

Bug Description

1. Right click on a tag and choose "Color"
    > the dialog appears
2. Choose a new color and click OK
    > The color does not change
3. Right click on the tag and choose "Color" again
    > GTG crashes with the following output

GTG/taskbrowser/browser.py:1047: GtkWarning: gtk_widget_queue_draw: assertion `GTK_IS_WIDGET (widget)' failed
  colorsel.set_previous_color(colorspec)
GTG/taskbrowser/browser.py:1048: GtkWarning: gtk_widget_queue_draw: assertion `GTK_IS_WIDGET (widget)' failed
  colorsel.set_current_color(colorspec)
GTG/taskbrowser/browser.py:1048: GtkWarning: gtk_hsv_set_color: assertion `GTK_IS_HSV (hsv)' failed
  colorsel.set_current_color(colorspec)
GTG/taskbrowser/browser.py:1048: GtkWarning: gtk_spin_button_get_adjustment: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
  colorsel.set_current_color(colorspec)
GTG/taskbrowser/browser.py:1048: GtkWarning: gtk_adjustment_set_value: assertion `GTK_IS_ADJUSTMENT (adjustment)' failed
  colorsel.set_current_color(colorspec)
GTG/taskbrowser/browser.py:1048: GtkWarning: gtk_range_get_adjustment: assertion `GTK_IS_RANGE (range)' failed
  colorsel.set_current_color(colorspec)
GTG/taskbrowser/browser.py:1048: GtkWarning: gtk_entry_set_text: assertion `GTK_IS_ENTRY (entry)' failed
  colorsel.set_current_color(colorspec)
Segmentation fault

This was introduced with the switch to GtkBuilder in r368

Changed in gtg:
status: New → Confirmed
Changed in gtg:
assignee: nobody → Bertrand Rousseau (bertrand-rousseau)
importance: Undecided → High
milestone: none → 0.2
Revision history for this message
Bertrand Rousseau (bertrand-rousseau) wrote :

Fixed in revno 379

Changed in gtg:
status: Confirmed → Fix Committed
Revision history for this message
Bertrand Rousseau (bertrand-rousseau) wrote :

This fix also brings instant-apply to color selection

Changed in gtg:
status: Fix Committed → Fix Released
Revision history for this message
mzcmzc (michael-kooinda) wrote :

Is this really fixed? I was using 0.2.4 installed from Ubuntu 11.04, and it crashes as the colour dialogue flashes up then disapears. Funny thing is on another PC with the SAME os, it works fine!
I upgraded to the latest PPA version 3.something and it does the same thing. I'm wondering if it's some gnome thing?

Revision history for this message
Izidor Matušov (izidor) wrote : Re: [Bug 486917] Re: Crashes when changing color of a tag (caused by switch to GtkBuilder)

Hi,

Does a choosing color widget works on your computer? Try it e.g. in
GIMP. I often change colors of my tags and it works perfectly for me.

Revision history for this message
mzcmzc (michael-kooinda) wrote :

I'll try on Monday (It's my work computer that gtg crashes on, not home one which is the same os! Wierd.
I think the colour widget is OK, as I use the gimp quite often, but I'll check it out and let you know.

Revision history for this message
mzcmzc (michael-kooinda) wrote :

If I can get it to crash with a fresh install and default data, I'll see what debug output I can gather... after checking the gimpgnome colour picker widget is working fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.