Will a fix accepted by GTK get backported? LTS distros won't upgrade their GTK, though they will release bugfix versions IIUC.
On 29 July 2016 at 08:53, Colomban Wendling notifications@github.com wrote:
:map-event is ugly IMO, because it's a mere implementation detail at best. Doing it properly would be listening to GtkMenuToolButton::show-menu https://developer.gnome.org/gtk3/stable/GtkMenuToolButton.html#GtkMenuToolButton-show-menu. However, just like GtkWidget::show on the menu itself, it somehow is emitted twice under GTK >= 3.16. See the just-filed bug https://bugzilla.gnome.org/show_bug.cgi?id=769287.
I'm not sure what to do. This is clearly a GTK bug, so I'm not very keen on adding a hack just for it until it gets fixed.
IIUC "show" is called everytime one calls gtk_widget_show() which can be more than once?
No, it's only emitted if the visible state changed. What happens here is that the menu is effectively shown twice.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/geany/geany/issues/1149#issuecomment-236049030, or mute the thread https://github.com/notifications/unsubscribe-auth/AAxgTT6kGgnavSW-_UpHgByF0DDj8xiPks5qaTL_gaJpZM4JTxOO .
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1149#issuecomment-236054630