Bug 495649

Summary: Dolphin's "Properties for …" dialog should allow editing the timestamps
Product: [Frameworks and Libraries] frameworks-kio Reporter: ratijas <me>
Component: Properties dialogAssignee: KIO Bugs <kio-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: kde, kdelibs-bugs, kfm-devel, nate, smowtenshi
Priority: NOR    
Version: 6.7.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: mtime September 22, 1881
NextCloud error
145 years ago

Description ratijas 2024-10-31 16:58:28 UTC
Created attachment 175412 [details]
mtime September 22, 1881

SUMMARY
Dolphin's "Properties for …" dialog should allow editing the timestamps if the file system permissions allow it.

Use case: I unpacked the "drivers" archive downloaded from my monitor's vendor website, and for some reason the directory where an ICC color profile was contained has Modification Time set to Thursday, September 22, 1881 5:20:31 AM. So now NextCloud totally refuses to sync it, and there is no GUI button to fix it, and somehow it is my problem now to google how to change `mtime` on Linux (assuming I know what `mtime` is already).

This is obviously both a vendor error and NextCloud error. But Dolphin could've made it easier for user to resolve this situation.

STEPS TO REPRODUCE
1. Open file or directory properties for something writable by the current user.

OBSERVED RESULT
Created, Modified and Accessed timestamps are read-only text labels.

EXPECTED RESULT
Timestamps could have an option to edit them.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.4-arch1-1 (64-bit)

file system: btrfs
mount options: rw,relatime,ssd,discard=async,space_cache=v2,subvol=/@home

ADDITIONAL INFORMATION
You can get the funny archive here, under the Drivers tab:
https://aoc.com/al-en/gaming/products/monitors/u28g2xu-bk/downloads
Comment 1 ratijas 2024-10-31 17:00:53 UTC
Created attachment 175413 [details]
NextCloud error

Just for laughs, here are the screenshots of NextCloud freaking out
Comment 2 ratijas 2024-10-31 17:03:49 UTC
Created attachment 175414 [details]
145 years ago

I wouldn't call it "The bug of the century", really… except maybe "[…] of the previous century"
Comment 3 David Edmundson 2024-10-31 22:52:11 UTC
Seems sensible.