<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/src/itemactions/hidefileitemaction.h, 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>2025-09-22T06:51:19Z</updated>
<entry>
<title>itemactions: Add context menu actions to hide and unhide files using .hidden</title>
<updated>2025-09-22T06:51:19Z</updated>
<author>
<name>Kostiantin Korchuhanov</name>
<email>kostiantyn.korchanov@gmail.com</email>
</author>
<published>2025-08-15T13:29:34Z</published>
<link rel='alternate' type='text/html' href='https://fiftyfourth.xyz/git/dolphin/commit/?id=f5818306d014fafaf35ef10ee83e286eebea9cd7'/>
<id>urn:sha1:f5818306d014fafaf35ef10ee83e286eebea9cd7</id>
<content type='text'>
Summary:
This patch introduces context menu actions that allow users to hide or unhide selected files by editing the .hidden file in their parent directories.

What this patch does:
- Implemented HideFileItemAction plugin based on KAbstractFileItemActionPlugin
- Plugin is disabled by default unless explicitly enabled in kservicemenurc via the hidefileitemaction key
- "Hide" action adds selected file names to the .hidden file, avoiding duplicates
- "Unhide" action removes selected file names from the .hidden file
- Action visibility logic:
	- If only visible or only hidden files are selected, only the relevant action is shown
	- If both are selected, both "Hide" and "Unhide" actions are shown
- Write permission checks ensure actions are disabled if the .hidden file cannot be modified
- Optimized redundant path computations by calculating parent directory and .hidden file paths once and reusing them
</content>
</entry>
</feed>
