Bug 453575 - Last modification date always show 18/19/20th January 1970 for remote files
Summary: Last modification date always show 18/19/20th January 1970 for remote files
Status: RESOLVED FIXED
Alias: None
Product: kdiff3
Classification: Applications
Component: application (show other bugs)
Version: 1.9.5
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: michael
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-09 13:51 UTC by jmaspons
Modified: 2024-05-19 19:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 1.11.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jmaspons 2022-05-09 13:51:36 UTC
STEPS TO REPRODUCE
1. Start a comparison of a remote folder in «Trust size (unsafe)» or «Trust size and last modification (unsafe)» mode

OBSERVED RESULT
Last modification for remote files appear as 18th / 19th or 20th January 1970

EXPECTED RESULT
Last modification date should be correct, as shown in dolphin with fish:// protocol

SOFTWARE/OS VERSIONS

Sistema operatiu: KDE neon 5.24
Versió del Plasma del KDE: 5.24.5
Versió dels Frameworks del KDE: 5.93.0
Versió de les Qt: 5.15.3
Versió del nucli: 5.13.0-40-generic (64 bits)
Comment 1 michael 2023-03-05 18:51:02 UTC
Both dolphin and kdiff3 use KIO::UDSEntry::UDS_MODIFICATION_TIME for modification time of files. The fish protocol handler is responsible for setting this. Does this still reproduce with dolphin giving  different results?
Comment 2 jmaspons 2023-03-06 11:47:08 UTC
(In reply to michael from comment #1)
> Does this still reproduce with dolphin giving  different
> results?

Yes, it happens for fish:// and sftp:// protocols (1970's in kdiff3 and correct date in dolphin)

System with Catalan locale
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 5.19.0-35-generic (64-bit)
Graphics Platform: X11
Processors: 6 × Intel® Core™ i5-8500 CPU @ 3.00GHz
Memory: 15.4 GiB of RAM
Graphics Processor: OLAND
Manufacturer: HP
Product Name: HP ProDesk 600 G4 SFF
Comment 3 michael 2024-05-18 23:19:56 UTC
I believe this should be fixed in 1.11.1. Found to separate issues in handling non file urls via KIO. Together they  caused the initial stat to abort  at an arbitrary time. Typically not long enough to actually get the response.