Bug 453708 - Opening folder with Konqueror doesn't open it in Dolphin part
Summary: Opening folder with Konqueror doesn't open it in Dolphin part
Status: REPORTED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-12 16:18 UTC by Christoph Feck
Modified: 2022-05-19 07:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Available parts for inode/directory (45.46 KB, image/webp)
2022-05-19 06:34 UTC, Christoph Feck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Feck 2022-05-12 16:18:34 UTC
STEPS TO REPRODUCE
1. in Dolphin, right-click a folder
2. choose "Open With > Konqueror"

OBSERVED RESULT
Konqueror opens and shows a terminal view

EXPECTED RESULT
Konqueror opens and shows a folder view

SOFTWARE/OS VERSIONS
Tumbleweed unstable (master versions)
Comment 1 Stefano Crocco 2022-05-15 12:36:40 UTC
It works for me. Konqueror chooses which parts to use according to the order you chose in the "File Associations" configuration dialog, so I think that the configuration there is not what you expect it to be. To check it, please, open the "Settings" menu in Konqueror and choose "Configure Konqueror", then choose "File association" and go to the "inode"->"directory" entry, then choose the "Embedding" tab on the right. There you'll find all the parts which can be used to open a directory, sorted in preference order, from the most preferred to the least preferred. If you want directories to be opened in Dolphin View, you need to move "Dolphin View (dolphinpart)" to the top. If it's already there but Konqueror still open directories in the Terminal Emulator, then there's indeed a problem somewhere.
Comment 2 Christoph Feck 2022-05-19 06:34:28 UTC
Created attachment 148986 [details]
Available parts for inode/directory

Available parts for inode/directory
Comment 3 Christoph Feck 2022-05-19 06:34:41 UTC
Updated to latest master, and the behaviour is now different: Instead of the Konsole part, it always shows the sidebar, but only the sidebar, no directory content.

> choose the "Embedding" tab

"Dolphin" is in the "General" tab, the "Embedding" tab doesn't offer a Dolphin part, see screenshot. Dolphin is installed, which file should I search?
Comment 4 Stefano Crocco 2022-05-19 07:03:14 UTC
The cause of your issue, then, is the absence of Dolphin part among the parts available for displaying directories. Since you have Dolphin installed and it does work, the part itself is installed on your system. For some reason, however, it isn't detected. I think the first thing you should check is whether the file /usr/share/kservices5/dolphinpart.desktop exists. This is the file which should tell KDE that Dolphin part can be used to open directories. If the file doesn't exist, try to reinstall Dolphin (or dolphinpart, if such package exists). If the file exists, you can try pressing the "Add..." button in the "Embedding" tab: it'll allow you to choose among all the parts you have installed on your system. This should solve your issue if you accidentally removed the part from the list associated with inode/directory. If even that doesn't work, you can try creating a new user and see if Dolphin part is listed for the new user: if it is, it's a configuration problem; if it isn't, it's a system-wide issue and I think you'll be more likely to get help asking on your distribution help channels, as I don't use Tumbleweed.
Comment 5 Christoph Feck 2022-05-19 07:16:05 UTC
dolphinpart.desktop has been removed with https://invent.kde.org/system/dolphin/-/commit/1618a3ed21761648b20a14d7477aa065a2239fa7
Comment 6 Stefano Crocco 2022-05-19 07:27:36 UTC
Thanks for noticing that commit. I'll look into this issue as soon as I have time.