Bug 493714

Summary: The problem of managing and saving files.
Product: [Applications] dolphin Reporter: Dellius <delliushencky>
Component: Selection ModeAssignee: KFM Developers <kfm-devel>
Status: RESOLVED UPSTREAM    
Severity: normal CC: felixernst
Priority: NOR    
Version: 24.08.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: you cannot deselect

Description Dellius 2024-09-26 23:10:48 UTC
SUMMARY


STEPS TO REPRODUCE

Table mode
1. When saving a file, Select a directory
2. Go back to the catalog up
3. Try to save

OBSERVED RESULT
It is impossible to save.
The directory is selected, not the file.
You have to make edits to the file name, then the selection disappears.

EXPECTED RESULT
Save the file to any directory.

SOFTWARE/OS VERSIONS

KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
There is also a problem when selecting an empty space, there is very little space at the bottom (for example, to deselect or open a menu)
Comment 1 Felix Ernst 2024-09-27 11:22:48 UTC
Hi! Which application are you using in which you are saving a file?
Comment 2 Dellius 2024-09-27 12:58:30 UTC
(In reply to Felix Ernst from comment #1)
> Hi! Which application are you using in which you are saving a file?
Firefox for example.
It's strange, I've seen this not only in Firefox.
I just can't remember right now.
Comment 3 Felix Ernst 2024-09-27 13:06:45 UTC
Okay, if the bugs happens while using Firefox it might be an issue in the file save dialog and not in Dolphin. Would you please upload an image here showing the bug? I have for example an issue figuring out what you mean by "Go back to the catalog up" because I don't know what the "catalog" is.
Comment 4 Dellius 2024-09-27 13:32:05 UTC
Created attachment 174136 [details]
you cannot deselect
Comment 5 Felix Ernst 2024-09-28 08:48:12 UTC
(In reply to Dellius from comment #4)
> Created attachment 174136 [details]
> you cannot deselect

Oh, the image shows that you are not actually using the KDE file dialog but the Gnome one. That is understandable because Firefox unfortunately does not use our better file dialog by default. You can switch to our file dialog by going to the Url "about:config" in Firefox and changing "widget.use-xdg-desktop-portal" to "true" there. See https://askubuntu.com/questions/1100261/how-do-i-make-firefox-64-use-the-kde-file-selection-dialog for more details. There are also images there which show the different styling of the Gnome and the KDE file dialog, so you can confirm which of the two you are using.

I'll mark this bug report as "UPSTREAM" because it is actually on Firefox and distributions that they do not use KDE's file dialog by default. If you want to keep using the Gnome file dialog and report a bug there, this will need to be done on the Gnome bug tracker.
Comment 6 Dellius 2024-09-29 15:33:51 UTC
(In reply to Felix Ernst from comment #5)
> (In reply to Dellius from comment #4)
> > Created attachment 174136 [details]
> > you cannot deselect
> 
> Oh, the image shows that you are not actually using the KDE file dialog but
> the Gnome one. That is understandable because Firefox unfortunately does not
> use our better file dialog by default. You can switch to our file dialog by
> going to the Url "about:config" in Firefox and changing
> "widget.use-xdg-desktop-portal" to "true" there. See
> https://askubuntu.com/questions/1100261/how-do-i-make-firefox-64-use-the-kde-
> file-selection-dialog for more details. There are also images there which
> show the different styling of the Gnome and the KDE file dialog, so you can
> confirm which of the two you are using.
> 
> I'll mark this bug report as "UPSTREAM" because it is actually on Firefox
> and distributions that they do not use KDE's file dialog by default. If you
> want to keep using the Gnome file dialog and report a bug there, this will
> need to be done on the Gnome bug tracker.

thank you very much.

widget.use-xdg-desktop-portal.file-picker 1

But we still about:config need to put
it on then it worked.
Comment 7 Felix Ernst 2024-09-30 08:55:35 UTC
You are welcome!