https://bugs.kde.org/show_bug.cgi?id=510500

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/syst
                   |                            |em/dolphin/-/commit/b9b0617
                   |                            |4afca99d7fe544940b950a73236
                   |                            |31271a
         Resolution|DUPLICATE                   |FIXED

--- Comment #13 from Méven <[email protected]> ---
Git commit b9b06174afca99d7fe544940b950a7323631271a by Méven Car, on behalf of
Sergey Katunin.
Committed on 12/01/2026 at 12:57.
Pushed by meven into branch 'master'.

viewproperties: remove temp file after loading defaultConfig

It turns out that since f6c97d52220be9bd996b71309051e56ff7aa1834 a temp file is
created here with each `save()` call for this default config, which is not
deleted later. In another place where `defaultProperties()` is called for
`m_node`, the file is deleted in the destructor of this class. But it is not
deleted here.

So, remove temp file after loading defaultConfig or it will create temp file on
each save() operation in /tmp folder.

Also keep the global/.directory file when xattr isn't supported.

M  +54   -0    src/tests/viewpropertiestest.cpp
M  +11   -0    src/views/viewproperties.cpp

https://invent.kde.org/system/dolphin/-/commit/b9b06174afca99d7fe544940b950a7323631271a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to