Bug 441373 - we need strict and simple folder structures
Summary: we need strict and simple folder structures
Status: RESOLVED FIXED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-22 15:44 UTC by empyreal
Modified: 2021-08-31 18:43 UTC (History)
3 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 empyreal 2021-08-22 15:44:18 UTC
I don't understand path /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/
when you can have /usr/lib/x86_64-linux-gnu/qt5/plugins/

Why /qt5/plugins/kf5/kio/ instead of /qt5/plugins/ ?
Comment 1 Davide Gianforte 2021-08-22 20:48:17 UTC
It is an upstream task (https://phabricator.kde.org/T14518) for the upcoming KF6, it should not be a good idea install every plugin in the base folder.

As this is set directly in source code, it should not impact packagers work, while Krusader 2.7.2 packages still have the two plugins installed in the base folder.
Comment 2 empyreal 2021-08-22 22:40:09 UTC
It’s good to group plugins, but it should be very strict.
It’s not good when one program installs plugins into different locations.
When there are multiple paths it is harder to track dependencies.
It gives more possibilities to make bugs in code.
Also paths should not be hard-coded in multiple places.
I had annoying situation with installer recently and it was connected with paths.  https://docs.kde.org/trunk5/en/krusader/krusader/faq_usage.html Krusader reports “krarc:... protocol not supported” error at opening an archive file, what to do?
Comment 3 Davide Gianforte 2021-08-23 16:38:12 UTC
What kind of archive (mime) are you opening?

Sadly, documentation is not updated immediatley (we have a very low manpower).
Comment 4 empyreal 2021-08-23 16:52:46 UTC
I forgot to indicate that text after link is quote. Sorry... Documentation has solution, but I found it out without any docs. Was looking for cause... Problem with krarc simply disappeared and it source is unknown. It can happen on Kubuntu 20 but seems not to happen on Kubuntu 21. I just wanted to raise issue about file paths here, because it's very important. All things should have their single specific place.
Comment 5 Nicolas Fella 2021-08-24 22:53:07 UTC
/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/ is the correct place for kio plugins/slaves. There is no point in discussing that here
Comment 6 empyreal 2021-08-24 23:33:23 UTC
Accepted.
If plugins should be put into
/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/ 
let if be.
But it should not cause such issues https://docs.kde.org/trunk5/en/krusader/krusader/krusader.pdf [page 111].