GNOME Bugzilla – Bug 778746
Rename popover is sometimes misplaced
Last modified: 2017-02-17 22:35:30 UTC
In File chooser dialog, the rename popover is sometimes misplaced. How to reproduce: 1. Open some application (eg: gedit) 2. Save the opened document (ie, 'Save' button if in gedit) 3. Navigate to some directory having many files/dirs (enough so that the file/folder view is scrollable) 4. Scroll down a little (one or two (or more) items are now hidden above) 5. Right click on some file/folder -> Rename Result: The rename popover is placed somewhere not related to the item that is being renamed. Thanks
Created attachment 345930 [details] [review] filechooserwidget: Fix rename popover position calculation Since the browse_file_popover is positioned correctly, just convert the coordinates in the same way we do there.
Review of attachment 345930 [details] [review]: assuming you've tested this...
Pushed as d637b0eeed6d63449777ffdd06de2b9309150142
Wow, not only did the popover not appear, but if you scroll too far, then the terminal fills up with this critical, and (e.g.) gedit seems unrecoverable. > (gedit:1030): Gtk-CRITICAL **: _gtk_widget_captured_event: assertion 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed I can confirm that Timm's patch fixes both issues, and pushed it to gtk-3-22: commit 26cab782cd81f938fda9a49b4187c2a67282f1b6
(In reply to Daniel Boles from comment #4) > Wow, not only did the popover not appear ... if you scroll too far, that is. Otherwise it does appear, but in the wrong place, as reported.
bug 776479 may be related to this.