GNOME Bugzilla – Bug 764784
GtkInfoBar only shown 1st time, stays hidden forever after close
Last modified: 2016-05-02 17:04:34 UTC
This is similar to bug 710888, however occurs independent of reveler transition state. I can only trigger issue using gtk 3.20 on MS windows. Issue was not present using GTK 3.18 on MS Windows platform. Also cannot reproduce issue using Fedora 24 (GTK 3.20.2). Reproduction is possible using gtk3-demo-application: 1. Choose menuitem Preferences->Shapes->Square 2. Press "OK" button on info bar to hide info bar 3. Choose menuitem Preferences->Shapes->Oval Expected result: * GtkInfoBar shown again after step 3) Actual result: * info bar is not shown using GTK 3.20.2 on MS Windows
I can confirm this problem.
In case it helps. Calling "gtk_widget_queue_resize(GTK_WIDGET(info_bar));" where gtk_widget_show is called helps as an workaround for problem.
1) I can reproduce this as well 2) I still can't believe that this is W32-specific. 3) The infobar remains "hidden" in the sense that its height remains 1px. It can be "shown" by triggering widget size re-allocation (theme change, flipping of "expand" property etc). Since it is said to have worked in 3.18, i think the easiest way to find the culprit at the moment is to bisect between 3.18 and 3.20.[0,1,2] (whichever is earliest, i guess?). Testing with 3.19.x releases might help narrow down the bisection interval.
This bug is not present in 3.19.5, but does appear in 3.19.6.
Bisecting suggests that this bug is caused by acbff854029cc5b308c92024990abeb81355c360 That commit can't be cleanly and easily reverted, so i can't verify that it is indeed causing this bug. I'm CCing Company.
Can confirm here on GTK 3.20 + X11
Duplicate of 710888?
*** This bug has been marked as a duplicate of bug 710888 ***