-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In a file > open dialog the active file is always part of the selection #2486
Comments
Is this happening in a FileChooser window or in a Files window. I can get this to happen in a FileChooser window if you select a file and then rubberband select other files starting on the blank area below the list. Otherwise if you start the rubberband selection on a file item that file item becomes the active one and the other is deselected. However in Files, clicking on the blank area below the list also deselects the active fileitem. In the case of the FileChooser I suspect this is an upstream issue with Gtk since we only modify the pathbar of the filechooser. |
a Filechooser is the one you get from within applications, right? Because that's the one. |
@wout Yes, the FileChooser is what shows when you press, for example, an "Open File" button or menu option from within an app such as Code |
So, should this be reported upstream? |
I guess so, if it hasn't already. I'll check. |
Actually, come to think of it the Gtk.FileChooser is deprecated in Gtk4 so unlikely to be fixed (?) I don't know whether the replacement ( |
There are 57 open bug reports against Gtk.FileChooser here |
Okay, so maybe it's good to wait this one out then 🙂️. |
What Happened?
I'm unsure if this is related to files, but I can't think of any other place to report it.
There is a long-standing bug in applications that use the default elementary OS modal for File > Open. The highlighted active file is always added to the selection, even if you drag a box over a series of files that do not include that active file.
For example, here, the folder "api" was selected when opening the dialog, and I drew a box around the files at the bottom:
Now, the "api" folder is part of the selection if I click "open", even if I didn't select it. But the same is true if I select one file, effectively marking it as active, and then drag a box over a set of other files. The file I clicked before will remain part of the selection, even if that's not the intention.
Steps to Reproduce
Expected Behavior
When dragging a box around files, the active one should be part of that list—perhaps making the first one dragged around the active one?
OS Version
7.x (Horus)
Software Version
Latest release (I have run all updates)
Log Output
No response
Hardware Info
The text was updated successfully, but these errors were encountered: