Bug 759872 - GtkPopoverMenu disappears when child GtkModelButton is pressed in the workspace
GtkPopoverMenu disappears when child GtkModelButton is pressed in the workspace
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2015-12-26 07:23 UTC by Tristan Van Berkom
Modified: 2016-01-29 10:04 UTC (History)
0 users

See Also:
GNOME target: ---
GNOME version: ---


Attachments

Description Tristan Van Berkom 2015-12-26 07:23:25 UTC
When you have a GtkPopoverMenu with a child GtkModelButton, pressing on the GtkModelButton causes the popover menu to disappear from the workspace.

Note that the initial click on the GtkModelButton will not do this, as the initial click is taken by Glade's workspace to assign selection; we only allow the workspace widget to receive and react to events once it has selection.
Comment 1 Tristan Van Berkom 2016-01-29 10:04:28 UTC
Fixed with this commit:


commit 64e24557c7976f0b82adc657e9539b07929fcab5
Author: Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>
Date:   Fri Jan 29 11:01:33 2016 +0100

    Bug 759872 - Show popovers hidden by model buttons
    
    Model button enjoys hiding popover ancestors when clicked,
    just go ahead and re-show the hidden popovers in that case.

Note You need to log in before you can comment on or make changes to this bug.