Bug 328703 - Per application setting for KFileDialog
Summary: Per application setting for KFileDialog
Status: RESOLVED NOT A BUG
Alias: None
Product: kfile
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-12 08:13 UTC by Eugeny Shkrigunov
Modified: 2018-04-13 20:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugeny Shkrigunov 2013-12-12 08:13:15 UTC
Hi!
Sorry for my English.

There is many use cases for various programs.
Many users use Okular so: on click on link to a PDF file a browser downloads it to a temporary directory and launches okular. The user views the document and decides to keep it by using "Save as". Typically, users have files in the directories are located near each other (typical location).
With <=Okular-4.10.5 KFileDialog's "Recent Dir" helps to navigate within the typical location (subsequent files of the same type does not requires navigation at all).
Since >=Okular-4.11 the user must navigate to the typical location every time: this is inconvenient (hardcoded). Take a look at the bug reports #319042, #315552, #328658.

The KFileDialog behavior - to use the current or recent directory - should be a configurable parameter. But there is many programs that use KFileDialog. 
Please, do a separate setting for KFileDialog, so the user can define the behavior of the dialogue depending on the program, from which it is invoked: use the current, recent or some permanent directory. This will provide a flexible behavior needed to different users, without changing the code in many applications.

Thank you very much, sincerely.

Reproducible: Always
Comment 1 Christoph Feck 2013-12-12 12:47:54 UTC
Any idea for a user interface to change the setting? Where would you search it? How would you configure it?
Comment 2 Christoph Feck 2013-12-12 12:56:44 UTC
I am tempting to resolve it as invalid. The application decides in which directory the file dialog opens, not the file dialog. If the application does not make the right choice, or does not offer customization, then that has to be changed in or added to the application, not the file dialog.
Comment 3 Eugeny Shkrigunov 2013-12-12 13:35:12 UTC
(In reply to comment #1)
> Any idea for a user interface to change the setting? Where would you search
> it? How would you configure it?

For example in the dialog window
"Options" -> "Path" ->
"recent"                                                               # (default) recently used path
"original"                                                              # i.e. current file path
"use this path ( now is /path/to/blah)"            # use this dir permanently
Comment 4 Eugeny Shkrigunov 2013-12-12 13:39:56 UTC
(In reply to comment #2)
> I am tempting to resolve it as invalid. The application decides in which
> directory the file dialog opens, not the file dialog. If the application
> does not make the right choice, or does not offer customization, then that
> has to be changed in or added to the application, not the file dialog.

This will provide (in one place) a flexible (predictable) behavior needed to different users, without changing the code in many applications.
Comment 5 Nate Graham 2018-04-13 20:30:51 UTC
Let's focus on individual KDE apps to get the issue resolved. But I'm actually having a hard time finding ones that don't do this, so perhaps it already is...