Bug 478590 - Wishlist: add support for compressing files located on an SMB share via dolphin
Summary: Wishlist: add support for compressing files located on an SMB share via dolphin
Status: REPORTED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-16 06:27 UTC by Mohammed Khoory
Modified: 2024-10-01 08:17 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mohammed Khoory 2023-12-16 06:27:59 UTC
Hello,

I am a recent convert to Linux and Plasma from Windows. A feature that I have gotten used to on Windows is being able to compress folders from an SMB share (e.g. my NAS) via Windows explorer, and storing it into my local disk. In plasma, I can do this with local files, but not with remote shares accessed with dolphin (via smb:// or KIO, not via fstab). 

I've discussed this issue in this thread. Some say that it is not worth implementing, but I disagree. There is certainly merit to having this feature, as a convenient option.
https://discuss.kde.org/t/compress-option-doesnt-show-up-in-dolphin-while-browsing-smb-directories-is-this-a-bug/

I'm not sure where this feature request should go, since it could be a dolphin issue, or KIO, or just KDE/Plasma in general.

STEPS TO REPRODUCE
1. Open an SMB share in Dolphin (via smb://, not via mounting)
2. Rightclick on a folder

OBSERVED RESULT
The compress option isn't available

EXPECTED RESULT
There should be a way to compress a file or a folder on a remote folder via the GUI entirely.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Comment 1 spamless.9v5xj 2024-03-09 20:11:00 UTC
+1 for this; It seems like compressing files is now disabled period since KDE 6 whereas before you could do it if the share was mounted via fstab, so technically I'd call it a regression.
Comment 2 Méven Car 2024-03-11 10:12:51 UTC
(In reply to spamless.9v5xj from comment #1)
> +1 for this; It seems like compressing files is now disabled period since
> KDE 6 whereas before you could do it if the share was mounted via fstab, so
> technically I'd call it a regression.

Before it was a bug.
You might not ever used it, for small files that would be fine for anything else that would be very slow.

I will quote myself:

```
A smb share is a network share, meaning all data reading and writing must go through the network and is slow compared to a local folder.

In order to compress files, we need to read them them all and then write a new file of a potentially similar size.

If we were to allow compressing from a smb share, you would be copying locally the file(s) to compress, compress them and uploading the new compressed file to the server, which would be very noticeably slow and potentially not expected behavior.

If that’s what you want, you can do it manually.
```
Comment 3 spamless.9v5xj 2024-03-11 10:50:27 UTC
I think "noticeably slow" is an overgeneralization - for me it's definitely faster to do it on my local PC despite network overhead because the bottleneck of trying to compress on a Celeron processor far outweighs it.

This is a  blanket change based on a flawed assumption. The decision should be left up to the user with a pop up warning and confirming to continue anyway instead of outright forbidding the action.
Comment 4 Chris Hills 2024-10-01 08:17:55 UTC
I would like to add a similar use case - I would like to be able to compress from a network share to a local destination (as opposed to a destination on the network share).