Bug 393960

Summary: Dolphin should not write a .directory file in any directory that is used by IndexedDB
Product: [Applications] dolphin Reporter: Graham Perrin <grahamperrin>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: elvis.angelaccio, kde, kde, nate
Priority: NOR    
Version: 18.04.0   
Target Milestone: ---   
Platform: Other   
OS: FreeBSD   
URL: https://bugzilla.mozilla.org/show_bug.cgi?id=944918#c39
Latest Commit: Version Fixed In:
Attachments: Frame from a screen recording of the bug.

Description Graham Perrin 2018-05-07 15:22:35 UTC
Created attachment 112473 [details]
Frame from a screen recording of the bug.

Whilst troubleshooting Mozilla bug 
944918 - indexedDB broken - UnknownError - Error opening Database
<https://bugzilla.mozilla.org/show_bug.cgi?id=944918>

I discovered that the presence of

.directory

– in a 'db' directory, nested in the 'storage' directory of a Firefox profile, will cause IndexedDB to not work as required. 

Please: 

- can Dolphin, or some other part of KDE, be enhanced to 
  prevent creation of .directory files wherever 
  a 'db' directory contains an .sqlite file?
Comment 1 Graham Perrin 2018-05-07 16:02:48 UTC
Screen recordings: 

<https://bugzilla.mozilla.org/show_bug.cgi?id=944918#c33> comments 33 and 34.
Comment 2 Graham Perrin 2018-05-08 14:54:27 UTC
It seems that the scope is broader than the 'db' directory alone; please see  <https://bugzilla.mozilla.org/show_bug.cgi?id=944918#c36>.
Comment 3 Kai Uwe Broulik 2018-05-14 08:48:53 UTC
That is an oddly specific request. The file is hidden (dot file) so it ought to be ignored...
Comment 4 Graham Perrin 2018-06-29 05:55:40 UTC
(In reply to Kai Uwe Broulik from comment #3)

> … oddly specific …

Agreed. 

Re <https://bugzilla.mozilla.org/show_bug.cgi?id=944918#c39> things on the Mozilla side are currently moving towards: 

> …
> b) Whitelist everything starting with a "." as that's convention for "ignore this file". …
> …

Would you like to resolve this KDE bug as WONTFIX?
Comment 5 Graham Perrin 2018-06-29 05:56:27 UTC
(In reply to Kai Uwe Broulik from comment #3)

> … oddly specific …

Agreed. 

Re <https://bugzilla.mozilla.org/show_bug.cgi?id=944918#c39> things on the Mozilla side are currently moving towards: 

> …
> b) Whitelist everything starting with a "." as that's convention for "ignore this file". …
> …

Would you like to resolve this KDE bug as WONTFIX?
Comment 6 Elvis Angelaccio 2019-02-10 21:00:23 UTC
Closing as request, since there is very little we can do from the dolphin side.