Bug 432984

Summary: Krusader tar content display does not show full filenames
Product: [Frameworks and Libraries] frameworks-kio Reporter: slartibart70
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: a.samirh78, kdelibs-bugs-null, voidpointertonull+bugskdeorg
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: tar1
tar2 (inside tar)

Description slartibart70 2021-02-15 20:19:40 UTC
Hi,

i am using krusader to display the contents of tar/tgz files, but i came across a tar that will only show a partial filename.

For example, in the tar i have (tar tvf file.tar) files like these:

-rw-r--r-- root/root     13046 2021-01-03 18:57 ./root/.local/share/remarkable/xochitl/2b3ee1a9-f544-4064-9034-947cf7d3947a.thumbnails/73b2ef1e-a9bc-40ae-8281-db2a34e035f0.jpg
-rw-r--r-- root/root     13855 2021-01-03 19:21 ./root/.local/share/remarkable/xochitl/2b3ee1a9-f544-4064-9034-947cf7d3947a.thumbnails/0d85f813-01f3-42b2-a421-8d098a632611.jpg
-rw-r--r-- root/root     16931 2020-11-10 01:02 ./root/.local/share/remarkable/xochitl/2b3ee1a9-f544-4064-9034-947cf7d3947a.thumbnails/c8dc83c6-d670-4370-a95d-8e0d5bb3a3f5.jpg
-rw-r--r-- root/root      9269 2021-01-03 19:04 ./root/.local/share/remarkable/xochitl/2b3ee1a9-f544-4064-9034-947cf7d3947a.thumbnails/5df7a022-acb0-48d7-b082-d9ddcabebb22.jpg


In the krusader pane, i only see this:
0d85f813-01f3
0d3742d9-50fe
1c5aad6a-783c

Pressing F3 on any of those abbreviated filenames still works though, the file content is shown properly.
But, pressing Enter to start the associated file does not work (well, because the filename displayed in the panel is cut off).
I can of course select the proper application (like gwenview) which will then happily display the selected file.

This is more than annoying, because with other tar archives this works fine, all files are displayed correctly (filename and extension).
Any advice?
Comment 1 Ahmad Samir 2022-05-19 12:15:20 UTC
Which ioslave is this using? my guess would be kio_archive from kio-extras.
Comment 2 slartibart70 2022-05-19 15:56:45 UTC
any hint how to find out, which kio slave krusader is using?
(kio-extras package is installed)
Comment 3 slartibart70 2022-05-19 16:06:37 UTC
well, this also was 2021, so plasma evolved

I re-created a test tar, seems to work right now (more tests will follow)
BUT

as you see, there is a '.local' subdir in the path.
To make this visible in krusader, you need to switch on hidden files

Then, in my opinion, we have another 'cosmetic bug' 
Every folder you follow (inside the tar) has the tar-archive filename as entry in the panel (see screenshots)
on the first level (entering the tar in krusader) the test.tar is 'runable' and starts ark.
on the second and deeper levels, the test.tar is not 'runable' any more, krusader opens a 'open with...' dialog 

I think, the test.tar should disappear completely, this is only misleading (because the tar does not contain itself)
Comment 4 slartibart70 2022-05-19 16:08:11 UTC
Created attachment 148999 [details]
tar1
Comment 5 slartibart70 2022-05-19 16:08:28 UTC
Created attachment 149000 [details]
tar2 (inside tar)