Fix remaining issues with clearing recent files and folders
Closed, ResolvedPublic

Description

D11263 already polished handling of the SettingsConfigureAdvancedHistory checkbox, i.e. unchecking that setting clears recent files, recent folders and the last used directory for copy/move/link.

Remaining issues:

  • 1. Even after unchecking the checkbox, FileOpen / Save As / … still saves filenames to the [KFileDialog Settings] group. We can check whether this can be prevented, but otherwise it's not really an important issue, or at least not something which can be solved in Gwenview.
  • 2. FileOpen RecentClear List clears the list, but the same list in the Start PageRecent Files tab is only cleared after restarting Gwenview.
  • 3. The context menu for the Recent Files tab is broken, it should contain Forget this File and Forget All Files like in KDE4.
  • 4. For the Recent Folders context menu, the last action should be renamed to Forget All Folders.
  • 5. FileOpen Recent should also make it possible to forget all folders, either by adding a separate action or by extending the behaviour of the (to be renamed) existing action.

@muhlenpfordt You fixed #2 to #5, and looking again at #1 there is not really a good solution, because this affects all apps and it's very tricky to make this foolproof. Should we mark the task as resolved?

In T8194#133776, @rkflx wrote:

looking again at #1 there is not really a good solution, because this affects all apps and it's very tricky to make this foolproof. Should we mark the task as resolved?

I think so. Handling this in Gwenview will be an ugly workaround.
Maybe we could file a bug/wish to solve it on a basic layer.

rkflx updated the task description. (Show Details)Mar 23 2018, 12:35 AM
rkflx closed this task as Resolved.
In T8194#133776, @rkflx wrote:

looking again at #1 there is not really a good solution, because this affects all apps and it's very tricky to make this foolproof. Should we mark the task as resolved?

I think so. Handling this in Gwenview will be an ugly workaround.
Maybe we could file a bug/wish to solve it on a basic layer.

Bug 392206 – KFileDialog: Allow to disable and clear recent files