GNOME Bugzilla – Bug 756976
GtkPopover is misplaced when attached to a GtkEntry in a GtkHeaderBar
Last modified: 2015-10-22 18:17:13 UTC
Steps to reproduce: 1. Open evince, open a document 2. find the EvZoomAction widget containing a GtkEntry (in GtkHeaderBar). press the arrow button. What happens: A GtkPopover opens above the button. It is invisible and unreachable if evince is maximized. What should happen: A GtkPopover should open below the button (in most cases) depending on window position, size, orientation, … Additional info: I only tested on wayland, can't test on X right now. Affected software versions: Gtk 3.18.2 Evince 3.18.0 Fedora 23 with updates-testing enabled
gtk does what it is told here. The default for GtkPopover::position is GTK_POS_TOP. Which may be an unfortunate choice, but it is too late to change it now. Evince needs to call gtk_popover_set_position (popover, GTK_POSITION_BOTTOM);
Created attachment 313885 [details] [review] shell,plugin: Set position of GtkPopover. Fixes 756976
Comment on attachment 313885 [details] [review] shell,plugin: Set position of GtkPopover. Fixes 756976 Push it to both branches, please. Thanks
Review of attachment 313885 [details] [review]: Pushed in both, master and gnome-3-18.
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.
*** Bug 748513 has been marked as a duplicate of this bug. ***