gtk-fortran icon indicating copy to clipboard operation
gtk-fortran copied to clipboard

[GTK 4 bug] when you type a character in the location entry of a file chooser, the search entry is activated

Open vmagnin opened this issue 3 years ago • 6 comments

Describe the bug In hl_choosers.f90 ("Save As" button) and hl_plplot8e.f90, when you type a character in the location entry, the search entry is activated. So you can not type the name of a file.

This is known as a GTK 4 bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/2985 https://discourse.gnome.org/t/gtk-4-gtkfilechooserwidget-seems-to-be-always-in-search-mode/3611

Your system:

  • OS version: Fedora Rawhide (34)
  • Compiler version: gfortran 11.0.0
  • GTK branch: gtk4-vmagnin (GTK 4.0.0)

Additional context A workaround is to type the name of the file in the search entry and then CTRL+C / CTRL+V it in the location entry.

vmagnin avatar Dec 18 '20 12:12 vmagnin

In MSYS2/Windows 10 (gfortran 10.2.0, GTK 3.99.4), the search entry is not activated, but there is also a strange behaviour: some keyboard keys are working, others not ("e", "t", "u"...)

vmagnin avatar Jan 14 '21 09:01 vmagnin

See https://gitlab.gnome.org/GNOME/gtk/-/issues/2638 That GTK 4 bug is still present in GTK 4.2.0-2 (Fedora 34).

vmagnin avatar Apr 03 '21 16:04 vmagnin

Not present in MSYS2/Windows 10 (GTK 4.2.0).

vmagnin avatar Jun 11 '21 10:06 vmagnin

Still present in GTK 4.4.0 (Fedora Rawhide).

vmagnin avatar Sep 01 '21 14:09 vmagnin

Still present in GTK 4.7.0 (Fedora Rawhide).

vmagnin avatar May 10 '22 19:05 vmagnin

That bug is fixed in GTK 4.6.7 (tested in Fedora 36) and GTK 4.7.2 (tested in Fedora Rawhide).

vmagnin avatar Aug 26 '22 19:08 vmagnin