<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/src/kitemviews/kfileitemmodelrolesupdater.h, 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-07T08:41:58Z</updated>
<entry>
<title>Remove preview ignore maximum local size handling from Dolphin</title>
<updated>2026-02-07T08:41:58Z</updated>
<author>
<name>Kai Uwe Broulik</name>
<email>kde@privat.broulik.de</email>
</author>
<published>2026-02-07T08:41:58Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=9bb9040c3fe541b29130ab50907d5c5134040271'/>
<id>urn:sha1:9bb9040c3fe541b29130ab50907d5c5134040271</id>
<content type='text'>
This all seems to be done by the PreviewJob in KIO already.
</content>
</entry>
<entry>
<title>KFileItemModelRolesUpdater: Use mime type from preview job, if any</title>
<updated>2026-02-04T09:33:26Z</updated>
<author>
<name>Kai Uwe Broulik</name>
<email>kde@privat.broulik.de</email>
</author>
<published>2026-01-31T15:01:25Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=5eafa19e2eca2ea6f6498011b263ca38f9f91e91'/>
<id>urn:sha1:5eafa19e2eca2ea6f6498011b263ca38f9f91e91</id>
<content type='text'>
The preview job does an async stat on the file, so we might as well
use its information to determine the icon.

Also only determine mime type in the final "ResolveAll" step since
it will initially resolve roles but mime type isn't necessarily fast.
</content>
</entry>
<entry>
<title>clang-tidy: avoid copy, use const references</title>
<updated>2026-01-22T15:27:11Z</updated>
<author>
<name>Méven Car</name>
<email>meven@kde.org</email>
</author>
<published>2026-01-22T15:15:09Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=1acd0dfe09a34817d8daf58db2c53b2262eec7b7'/>
<id>urn:sha1:1acd0dfe09a34817d8daf58db2c53b2262eec7b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>KFileItemModelRolesUpdater: reset size and count before updating folders</title>
<updated>2025-03-13T12:26:40Z</updated>
<author>
<name>Akseli Lahtinen</name>
<email>akselmo@akselmo.dev</email>
</author>
<published>2025-03-13T12:26:40Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=dd2cc41fdeed515f8b7921caa9da823e3cba424c'/>
<id>urn:sha1:dd2cc41fdeed515f8b7921caa9da823e3cba424c</id>
<content type='text'>
Folder count would not update properly when user would delete file from
a folder, or add a new file to it.

Previously when size value is set to -2 after update, the update will
never be called again unless user presses F5. This change will instead
reset that -2 to 0 whenever we are requesting for calculating
directory sizes. 

We never updated the count when a file was deleted, so that has been added as well.

This change also calculates the item counts from the processedAmount, which is the total amount of items we're processing. From there we remove the unwanted items and get the final count.

For remote files, we set the count to -1 since we don't calculate them.

BUG: 500502
</content>
</entry>
<entry>
<title>Refactor Overlay Handling</title>
<updated>2025-01-17T10:07:40Z</updated>
<author>
<name>Méven Car</name>
<email>meven@kde.org</email>
</author>
<published>2025-01-14T17:52:36Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=961e6270e4401a6c7512df3a2e3efd09a25df962'/>
<id>urn:sha1:961e6270e4401a6c7512df3a2e3efd09a25df962</id>
<content type='text'>
Now all overlays icons in kitemviews are added in
KStandardItemListWidget::updatePixmapCache.

data[iconOverlays] now contains icon names.

DolphinFileItemListWidget::refreshCache is the sole responsible of
setting the overlays either coming from KFileItemModelRolesUpdater or
KVersionControlPlugin.

This garantees consistency in rendering.

BUG: 497372
</content>
</entry>
<entry>
<title>KFileItemModelRolesUpdater: add utility cacheSize function</title>
<updated>2025-01-11T12:22:43Z</updated>
<author>
<name>Méven Car</name>
<email>meven@kde.org</email>
</author>
<published>2025-01-11T12:07:40Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=47f1287472044d67a1cd40ec013979ab2eda9b3f'/>
<id>urn:sha1:47f1287472044d67a1cd40ec013979ab2eda9b3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>KFileItemModelRolesUpdater: Show emblems even in hover sequence</title>
<updated>2025-01-11T12:22:39Z</updated>
<author>
<name>Méven Car</name>
<email>meven@kde.org</email>
</author>
<published>2025-01-11T11:59:32Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=8b3c45ab09223e73303a98dd3d845880e7f9f7f1'/>
<id>urn:sha1:8b3c45ab09223e73303a98dd3d845880e7f9f7f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dolphinview: Update thumbnail on filename change</title>
<updated>2024-12-19T10:04:16Z</updated>
<author>
<name>Akseli Lahtinen</name>
<email>akselmo@akselmo.dev</email>
</author>
<published>2024-12-19T10:04:16Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=eca160ae5a2dbd5590e4bae22cddde488dbacf74'/>
<id>urn:sha1:eca160ae5a2dbd5590e4bae22cddde488dbacf74</id>
<content type='text'>
If filename of an item was updated previously, it would modify the model
before the file was actually changed. This led to the model calling
a signal that would try to run a previewjob, but since the filename
is not actually changed yet on disk, it would fail.

This patch moves the model updating after copyjob. Copyjob
will take care of the file renaming if there is already existing file.
We just need to update the model correctly after the job has succeeded.

BUG:497555
</content>
</entry>
<entry>
<title>Create thumbnails with scene devicePixelRatio</title>
<updated>2023-11-21T12:54:25Z</updated>
<author>
<name>Kai Uwe Broulik</name>
<email>kde@privat.broulik.de</email>
</author>
<published>2023-11-20T21:39:14Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=90770d305a3ca5f4d4196d314fe7357ba0c92114'/>
<id>urn:sha1:90770d305a3ca5f4d4196d314fe7357ba0c92114</id>
<content type='text'>
</content>
</entry>
<entry>
<title>KDirectoryContentsCounter: show intermediate dir size counting results, improve stopping, improve data caching</title>
<updated>2023-05-26T15:10:09Z</updated>
<author>
<name>Méven Car</name>
<email>meven.car@kdemail.net</email>
</author>
<published>2023-05-26T15:10:09Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=a1c5c5cf81b5d1f6b7a0aa10b8a981cb70c5b26c'/>
<id>urn:sha1:a1c5c5cf81b5d1f6b7a0aa10b8a981cb70c5b26c</id>
<content type='text'>
Two user visible changes:
 * we can see the dir size changing as it is updated.
 * This makes the file counting a lot more reactive, when changing directories for instance.

`KDirectoryContentsCounterWorker::walkDir` is not recursive anymore.

The cache is now shared and only a single thread is used to count size recursively.
</content>
</entry>
</feed>
