location suggestion popup has different colors the first time it's opened in a window

Bug #947635 reported by gue5t gue5t
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Midori Web Browser
Fix Released
Undecided
Unassigned

Bug Description

To reproduce: cause the completion dropdown to appear for the locationbar; the first time it's displayed it has a different background color (incorrect) compared to subsequent times.

It looks like this is caused by using the colors from the widget's style before the widget has been realized, so the colors aren't appropriate for the widget and theme. The attached patch fixes this bug.

Revision history for this message
gue5t gue5t (gue5t) wrote :
Revision history for this message
Cris Dywan (kalikiana) wrote :

Makes sense. In fact, let's move the gtk_widget_realize call out of the positioning.

Changed in midori:
status: New → Fix Committed
Cris Dywan (kalikiana)
Changed in midori:
status: Fix Committed → Fix Released
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.