Bug 440280

Summary: Underlining does not work with mv'ed or copied files
Product: [Applications] konsole Reporter: Paul Brown <paul.brown>
Component: generalAssignee: Konsole Bugs <konsole-bugs-null>
Status: REPORTED ---    
Severity: normal CC: a.samirh78, christoph, tcanabrava
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paul Brown 2021-07-25 23:14:44 UTC
SUMMARY

If you mv (rename) a file in an open directory or cp a file, underlining will not work on the newly named or new files. If you close the tab and access the directory containing the mv'ed or cp'ed files, then underlining will work.

STEPS TO REPRODUCE
1. mv or cp an underlineable file within a directory
2. ls the contents of the directory
3. hover the cursor over the mv'ed or cp'ed files

OBSERVED RESULT

Underlining does not work.

EXPECTED RESULT

That underlining work

SOFTWARE/OS VERSIONS

Operating System: Manjaro Linux
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.13.4-1-MANJARO (64-bit)
Comment 1 Ahmad Samir 2021-08-21 00:18:16 UTC
This is by design: https://invent.kde.org/utilities/konsole/-/merge_requests/108#note_54641

since (re)scanning the dir periodically would incur a performance penalty, especially in big folder.
Comment 2 Christoph Cullmann 2024-12-01 20:21:51 UTC
One should re-scan if the dir modification date is altered.