Bug 467899 - Extracting .zip file via dolphin extract menu ignores that libzip is disabled in settings
Summary: Extracting .zip file via dolphin extract menu ignores that libzip is disabled...
Status: RESOLVED NOT A BUG
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-28 20:55 UTC by Blazej S
Modified: 2023-04-14 11:14 UTC (History)
2 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 Blazej S 2023-03-28 20:55:32 UTC
SUMMARY
After unpacking a zip file with symlinks using Ark, the symlinks appear as regular files and don't point anywhere.
While disabling libzip plugin in Ark settings is a temporary workaround, rightclicking zip file in Dolphin and choosing any of the extract options forces archive to be decompressed with libzip, even though libzip is disabled in settings.
This is linked to bug 415723.

STEPS TO REPRODUCE
1. Repeat steps from bug 415723 .
2. Go to Ark Settings, disable libzip plugin.
3. Extract archive using Ark's GUI extract option. Notice that symlink is linked correctly
4. Remove extracted files and close Ark.
5. Extract the same archive rightclicking it in dolphin -> Extract -> any of the options

OBSERVED RESULT
Symlinks are not created correctly. Additionaly, monitoring dolphin's process with strace produces lines mentioning "Ark.libzip" despite libzip plugin being disabled.

EXPECTED RESULT
Symlinks are to be created correctly and libzip should not be used.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  6.2.8-arch1-1 (64bit)
KDE Plasma Version:  5.27.3
KDE Frameworks Version:  5.104.0
Qt Version:  5.15.8

ADDITIONAL INFORMATION
Comment 1 Blazej S 2023-04-14 11:14:46 UTC
(In reply to Blazej S from comment #0)
> SUMMARY
> After unpacking a zip file with symlinks using Ark, the symlinks appear as
> regular files and don't point anywhere.
> While disabling libzip plugin in Ark settings is a temporary workaround,
> rightclicking zip file in Dolphin and choosing any of the extract options
> forces archive to be decompressed with libzip, even though libzip is
> disabled in settings.
> This is linked to bug 415723.
> 
> STEPS TO REPRODUCE
> 1. Repeat steps from bug 415723 .
> 2. Go to Ark Settings, disable libzip plugin.
> 3. Extract archive using Ark's GUI extract option. Notice that symlink is
> linked correctly
> 4. Remove extracted files and close Ark.
> 5. Extract the same archive rightclicking it in dolphin -> Extract -> any of
> the options
> 
> OBSERVED RESULT
> Symlinks are not created correctly. Additionaly, monitoring dolphin's
> process with strace produces lines mentioning "Ark.libzip" despite libzip
> plugin being disabled.
> 
> EXPECTED RESULT
> Symlinks are to be created correctly and libzip should not be used.
> 
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma:  6.2.8-arch1-1 (64bit)
> KDE Plasma Version:  5.27.3
> KDE Frameworks Version:  5.104.0
> Qt Version:  5.15.8
> 
> ADDITIONAL INFORMATION

Turns out you have to close all dolphin sessions for the changes to take effect, so false alarm. Anyway, shouldn't this be mentioned in some kind of FAQ for Ark or its wiki page?