Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gtk+:3] Restoring the "file to select" behaviour
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Dominique_71
Veteran
Veteran


Joined: 17 Aug 2005
Posts: 1895
Location: Switzerland (Romandie)

PostPosted: Mon Sep 25, 2023 8:26 pm    Post subject: [gtk+:3] Restoring the "file to select" behaviour Reply with quote

All software using the gtk+:3 toolkit suffer from a very strange "feature" of the file widget: When you want to save a file and change its name, most people will first navigate to the wanted folder, change the file name and press Enter. That strange feature is than, when you begin to type the new name after that folder navigation, gtk+ was programmed to think You want to search for a file to replace. Most of the time, it is not the case and you have to reselect the whole original filename in order to change it. That "recursive search" is definitely the most annoying "feature" of that toolkit.

If you want to restore the old and well proven "type-to-select-file" behaviour of that widget, it is a patch at https://bugs.gentoo.org/585092
It is just to put the patch into /etc/portage/patches/x11-libs/gtk+:3 and do an emerge -av1 x11-libs/gtk+
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3708
Location: Rasi, Finland

PostPosted: Tue Sep 26, 2023 7:41 am    Post subject: Reply with quote

Moved from "Desktop Environments" to "Documentation, Tips & Tricks".
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
downloader
n00b
n00b


Joined: 09 Mar 2024
Posts: 4

PostPosted: Sat Mar 09, 2024 8:49 pm    Post subject: [gtk+:3] Restoring the "file to select" behaviour Reply with quote

Use Tab Key: Instead of pressing Enter after navigating to the folder, try pressing the Tab key to see if it helps GTK+ recognize that you're trying to change the file name rather than initiating a search.

Double-Click to Rename
: Double-click on the file name in the file dialog to select it for renaming. This action might bypass the issue you're encountering with GTK+ interpreting your typing as a search action.

Provide Feedback
: Consider providing feedback to the GTK+ development community about this specific usability issue. They might be unaware of it and could potentially address it in a future update if it consistently causes frustration for users.

Explore Alternatives: If the issue persists and significantly impacts your workflow, explore alternative file dialog implementations or consider creating a custom file dialog tailored to your specific needs. This might involve using different toolkits or creating your own solution using GTK+ or another framework.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum