SUMMARY As https://invent.kde.org/system/dolphin/-/merge_requests/695#note_965019 explains, I do not see a warning when renaming, such that it shall be hidden when renamed, a file or directory (I've not tried other filesystem objects, like symbolic and hard links) although, as https://invent.kde.org/system/dolphin/-/merge_requests/695#note_965313 demonstrates, it should. STEPS TO REPRODUCE 1. Create a file containing a period at the start of its name. 2. Observe the warning, as https://invent.kde.org/system/dolphin/uploads/f2dadd0e5554177ba49c3f99ba892251/Screenshot_20240609_195931.png demonstrates. 3. Create a file containing mere letters as its name. 4. Rename it such that a period is at the start of the name, as https://invent.kde.org/system/dolphin/uploads/c8db2b2be1d678801210963bb1b01c08/Screenshot_20240609_200132.png demonstrates. OBSERVED RESULT The warning solely appears during creation, not renaming. EXPECTED RESULT The warning should appear in both instances. SOFTWARE/OS VERSIONS Operating System: Fedora Linux 40 KDE Plasma Version: 6.0.5 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.1 Kernel Version: 6.8.12-300.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor Memory: 30.5 GiB of RAM Graphics Processor: AMD Radeon RX 5700 Manufacturer: ASRock Product Name: X670E Taichi
Created attachment 170322 [details] Windowed file creation with warning present.
Created attachment 170323 [details] Windowed directory creation with warning present.
Created attachment 170324 [details] Windowed file rename with warning absent.
Created attachment 170325 [details] Windowed directory rename with warning absent.
Created attachment 170351 [details] Inline file rename with warning present, except for `.old` file extension. When using inline rename, you get a warning when adding a period to the start of the name, but not if you add .old extension.
(In reply to Linus Kardell from comment #5) linus.kardell@gmail.com, that's a good catch. I'll expand the scope in the title to encompass that too. Do you know whether any other file extensions exhibit that behaviour? I recall an Invent thread where a few more equivalent extensions were mentioned.
It's the application/x-trash mime-type, which is used for files ending in .old, .bak or %. It's the same when creating files BTW, you get a warning if put a period at the start, but not if you add an application/x-trash extension.
Created attachment 170354 [details] Windowed file creation for application/x-trash with warning absent.