<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/src/tests/viewpropertiestest.cpp, branch master</title>
<subtitle>Patched KDE Dolphin with Pixel Scaling
</subtitle>
<id>https://fiftyfourth.xyz/git/dolphin/atom?h=master</id>
<link rel='self' href='https://fiftyfourth.xyz/git/dolphin/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/'/>
<updated>2026-02-21T08:37:12Z</updated>
<entry>
<title>viewproperties: don't use intermediate tmp file to save viewprops</title>
<updated>2026-02-21T08:37:12Z</updated>
<author>
<name>Méven Car</name>
<email>meven@kde.org</email>
</author>
<published>2025-11-29T10:08:46Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=8e4d7e1e2196425d54eefc65da096de20c509171'/>
<id>urn:sha1:8e4d7e1e2196425d54eefc65da096de20c509171</id>
<content type='text'>
</content>
</entry>
<entry>
<title>viewproperties: remove temp file after loading defaultConfig</title>
<updated>2026-01-12T12:57:40Z</updated>
<author>
<name>Sergey Katunin</name>
<email>sulmpx60@yandex.ru</email>
</author>
<published>2026-01-12T12:57:40Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=b9b06174afca99d7fe544940b950a7323631271a'/>
<id>urn:sha1:b9b06174afca99d7fe544940b950a7323631271a</id>
<content type='text'>
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.

BUG: 510500
</content>
</entry>
<entry>
<title>Fix several user-facing and non-user-facing typos</title>
<updated>2025-09-03T12:04:13Z</updated>
<author>
<name>Kunda Ki</name>
<email>luzpaz@pm.me</email>
</author>
<published>2025-09-03T12:04:13Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=479ce3a1641398a8506812300834666614013850'/>
<id>urn:sha1:479ce3a1641398a8506812300834666614013850</id>
<content type='text'>
Found via `codespell -S "*.desktop,*.po,*.svg,*.xml,./po" -L aparent,childs,goup,lokal`</content>
</entry>
<entry>
<title>viewpropertiestest: simplify two tests</title>
<updated>2025-02-08T08:43:09Z</updated>
<author>
<name>Méven Car</name>
<email>meven@kde.org</email>
</author>
<published>2025-02-08T08:42:40Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=f6c97d52220be9bd996b71309051e56ff7aa1834'/>
<id>urn:sha1:f6c97d52220be9bd996b71309051e56ff7aa1834</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Viewproperties: prevent loosing view settings</title>
<updated>2025-02-08T08:43:09Z</updated>
<author>
<name>Méven Car</name>
<email>meven@kde.org</email>
</author>
<published>2025-02-07T10:16:05Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=c12946ee2ec8dbbb8645ca5763584574458a0a6c'/>
<id>urn:sha1:c12946ee2ec8dbbb8645ca5763584574458a0a6c</id>
<content type='text'>
When they match the hardcoded internal settings, when they should be
kept as long as they don't match the currently set default
viewproperties.

Is saved in metadata the diff with the hardcoded internal defaults
still. A stable default reference allows to change defaults without
changing existing saved viewproperties.

CCBUG: 495878
</content>
</entry>
<entry>
<title>ViewProperties: Return nullptr if viewPropertiesString is empty</title>
<updated>2024-12-16T19:00:03Z</updated>
<author>
<name>Akseli Lahtinen</name>
<email>akselmo@akselmo.dev</email>
</author>
<published>2024-12-16T19:00:03Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=8d155558e980197b4dc2180660ea9bc61a23f3d3'/>
<id>urn:sha1:8d155558e980197b4dc2180660ea9bc61a23f3d3</id>
<content type='text'>
If viewPropertiesString is empty, return a nullptr.
This will later used in the stack by the defaultProperties call.

In defaultProperties, if we can't find the global directory,
create new one with a tempfile. If tempfiles can't be created,
use default instead.

This will ensure that view settings are saved and loaded correctly
if user has separate view properties per folder.

This will also add an unit test, where we create a global directory,
modify it and make sure the changes are reflected in the unmodified
folder.

BUG:495878
</content>
</entry>
<entry>
<title>ViewProperties: Store view properties in extended file attributes</title>
<updated>2024-10-27T17:20:40Z</updated>
<author>
<name>Méven Car</name>
<email>meven@kde.org</email>
</author>
<published>2024-10-27T17:20:40Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=fdf854bd81d9e42df2d8672d49a0b7fcdb7443a5'/>
<id>urn:sha1:fdf854bd81d9e42df2d8672d49a0b7fcdb7443a5</id>
<content type='text'>
Existing settings are converted.

Works on most FS except FAT/exFAT which fallback to .directory files.

If the extended file attributes (in ADS in Windows) can't be saved, they are saved to file as before.

BUG: 322922

You can see file xattr using for instance for Unix filesystems:

getfattr -d /home/meven
</content>
</entry>
<entry>
<title>Add clang-format and format code as in Frameworks</title>
<updated>2023-02-05T05:45:38Z</updated>
<author>
<name>Serg Podtynnyi</name>
<email>serg@podtynnyi.com</email>
</author>
<published>2023-02-03T17:14:53Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=38c34eeca315c7be58e65d4d3fb72aaf7b866719'/>
<id>urn:sha1:38c34eeca315c7be58e65d4d3fb72aaf7b866719</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enable test mode in all test</title>
<updated>2021-03-13T16:18:53Z</updated>
<author>
<name>Elvis Angelaccio</name>
<email>elvis.angelaccio@kde.org</email>
</author>
<published>2021-03-13T16:18:53Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=ffb80cb00d8fd886051f970b5155a55b1d066fcd'/>
<id>urn:sha1:ffb80cb00d8fd886051f970b5155a55b1d066fcd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Build with QT_NO_KEYWORDS</title>
<updated>2021-02-09T20:39:50Z</updated>
<author>
<name>Nicolas Fella</name>
<email>nicolas.fella@gmx.de</email>
</author>
<published>2021-02-08T22:09:59Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=f65b0899c3666561cafac14f67ab0bb8a5bfa00a'/>
<id>urn:sha1:f65b0899c3666561cafac14f67ab0bb8a5bfa00a</id>
<content type='text'>
</content>
</entry>
</feed>
