After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 758307 - [Wayland] GtkFileChooserDialog is resizing itself to weird sizes
[Wayland] GtkFileChooserDialog is resizing itself to weird sizes
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
3.18.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks: WaylandRelated
 
 
Reported: 2015-11-18 20:41 UTC by Christian Stadelmann
Modified: 2016-04-07 13:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Stadelmann 2015-11-18 20:41:55 UTC
Steps to reproduce:
0. log in to a gnome on wayland session
1. open gedit (or evince or any other native Gtk+ 3 on wayland application)
2. press Ctrl+O or the button to open your file chooser

What happens:
File chooser displays, at first with a normal size but topleft on screen. Then the file chooser is resized (way too small, 733x470 px according to Gtk inspector). It can be resized to become bigger, but when it loses focus it is resized to the previous (too small) size again. When gaining focus again, it is often (not always) resized to its original (big) size. When not having focus (small) it still renders a preview in gnome-shell's activity overview that is big.

What should happen:
File chooser should never change its size without user request to do so. It should not be displayed in top left corner, especially not if the application is half-maximized to the right edge. This is working correctly in Gnome+X11 although I can't exactly describe how it goes there.

Additional info:
gtk3-3.18.4-1.fc23.x86_64
glib2-2.46.2-1.fc23.x86_64
gedit-3.18.2-1.fc23.x86_64
evince-3.18.2-1.fc23.x86_64

Additional info:
This issue is present with firefox (Gtk3, X backend) inside XWayland too.
This issue is not present on a gnome+X11 session and does not affect Qt4 or Gtk2 applications.
Comment 1 Matthias Clasen 2016-01-17 21:49:22 UTC
I believe this is fixed by now
Comment 2 Christian Stadelmann 2016-01-25 14:17:23 UTC
No, it is not.
I am using these package versions:
gtk3-3.18.6-1.fc23.x86_64
glib2-2.46.2-1.fc23.x86_64
gnome-shell-3.18.3-1.fc23.x86_64
mutter-3.18.2-1.fc23.x86_64
Comment 3 Matthias Clasen 2016-01-25 14:56:56 UTC
I was talking about 3.19
Comment 4 Christian Stadelmann 2016-04-07 13:16:39 UTC
This issue is gone in gtk+ 3.20. Thank you!