<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/src/views/viewproperties.cpp, branch pixelated-scaling-option</title>
<subtitle>Patched KDE Dolphin with Pixel Scaling
</subtitle>
<id>https://fiftyfourth.xyz/git/dolphin/atom?h=pixelated-scaling-option</id>
<link rel='self' href='https://fiftyfourth.xyz/git/dolphin/atom?h=pixelated-scaling-option'/>
<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>viewproperties: Fix leaking file descriptors</title>
<updated>2025-06-09T12:55:49Z</updated>
<author>
<name>Akseli Lahtinen</name>
<email>akselmo@akselmo.dev</email>
</author>
<published>2025-06-05T08:49:22Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=04e493d78cdf46e64562fe8a302426b1fd8c47df'/>
<id>urn:sha1:04e493d78cdf46e64562fe8a302426b1fd8c47df</id>
<content type='text'>
File descriptors would keep leaking here since tempFile never gets
deleted. This would be especially noticeable when browsing /tmp/ folder.

This patch makes the QTemporaryFile an unique_ptr, so it gets
deleted when it's out of scope. This also causes the files to be
handled accordingly.

BUG: 505215
</content>
</entry>
<entry>
<title>dolphinview: Add a dynamic view option</title>
<updated>2025-05-28T10:33:52Z</updated>
<author>
<name>Victor Blanchard</name>
<email>viblanc@proton.me</email>
</author>
<published>2025-05-28T10:33:52Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=edda24eb851c2647f7dde01885008ef60fcadd9a'/>
<id>urn:sha1:edda24eb851c2647f7dde01885008ef60fcadd9a</id>
<content type='text'>
Added a 'dynamic view' option, which allows to switch from a 'compact' or 'details' view to an 'icons' view if most of the files in the directory are images or videos. It reverts to the previous view mode when we switch to a directory which doesn't meet that criteria.

The view mode is only changed once so users don't have to undo that for specific folders when they don't want icon view.

A setting is added in the "Display style" section of the general view setting page.

BUG: 491139
</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>ViewProperties: sort by accesstime for recentlyused</title>
<updated>2024-09-15T13:51:54Z</updated>
<author>
<name>Méven Car</name>
<email>meven@kde.org</email>
</author>
<published>2024-09-13T13:59:48Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=b1ac3729bac0a3b1bc489712218ff9d97e20557a'/>
<id>urn:sha1:b1ac3729bac0a3b1bc489712218ff9d97e20557a</id>
<content type='text'>
By default.

Since recentlyused:/ fills only access time based on the DB data.

timeline:/ is also included.

CCBUG: 437382
</content>
</entry>
<entry>
<title>viewproperties: remove now obsolete recentdocument reference</title>
<updated>2024-04-11T15:53:39Z</updated>
<author>
<name>Méven Car</name>
<email>meven.car@kdemail.net</email>
</author>
<published>2024-04-11T15:53:39Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=9ba1d33b576c10579a125be1ddda086f3e9608a1'/>
<id>urn:sha1:9ba1d33b576c10579a125be1ddda086f3e9608a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enable custom view properties for special folders even if "remember for each folder" is off</title>
<updated>2024-03-12T09:43:44Z</updated>
<author>
<name>Jin Liu</name>
<email>m.liu.jin@gmail.com</email>
</author>
<published>2024-03-12T09:43:44Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=3a03f86b836e172001120ee73956a7bad9c7276b'/>
<id>urn:sha1:3a03f86b836e172001120ee73956a7bad9c7276b</id>
<content type='text'>
Special folders include: search, trash, recents, timeline

Not including Downloads, although we have a custom view when "remember
for each folder" is on.

Rational: These folders really need the custom view. So even if the
user selects a global view for all "normal" folders, s/he probably
still want a custom view for special folders.
</content>
</entry>
</feed>
