Bug 430252 - File inside archive shows up with 0 size in overwrite dialog
Summary: File inside archive shows up with 0 size in overwrite dialog
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Overwrite dialog (show other bugs)
Version: 5.76.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-11 09:07 UTC by Misha Shaygu
Modified: 2020-12-11 14:54 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Misha Shaygu 2020-12-11 09:07:12 UTC
SUMMARY
Filesystem: BTRFS

First case:

STEPS TO REPRODUCE
1. Open folder/archive
2. Select files(ex. a.txt)
3. Drag files to folder with the same name files(ex. a.txt)

OBSERVED RESULT
Dialog confirm replace, source file and dest file have zero size.

EXPECTED RESULT
Dialog confirm replace, source file and dest file have their size.

Second case:

STEPS TO REPRODUCE
1. Open Telegram
2. Select files(ex. a.txt)
3. Drag files to chat(ex. a.txt)

OBSERVED RESULT
Message: "Impossible send empty file: ./a.txt"

EXPECTED RESULT
File sended to chat.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.20
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Kernel Version: 5.4.0-56-generic
OS Type: 64-bit

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2020-12-11 14:54:58 UTC
Confirmed.

Seems like the overwrite dialog is not able to get that information from the file since it's being provided by an ioslave rather than living in the filesystem directly.