Skip to content

Draft: Read .hidden file in file:/ worker rather than KCoreDirLister

Kai Uwe Broulik requested to merge work/kbroulik/dothidden-in-file-kio into master

This ensure we don't do a blocking file system read and instead delegate that to the worker which is async. It also only works for local files anyway.

The downside is that it will likely stop working for other schemas which return files with a localPath, such as desktop:/

To not jeopardize the performance of "background" list jobs, such as copy jobs, .hidden is only read if readDotHiddenFile metadata is set to "true" on the listJob.


  • Files listed in .hidden are still hidden
  • No longer blocks main thread reading .hidden file

It's not cached anymore, though, and not sure about .hidden not working anymore on desktop:/, recentdocuments:/ and others.

Edited by Kai Uwe Broulik

Merge request reports

Loading