#1115615 konsole can't open folders by application menu commands if Midnight Commaner was started

Package:
konsole
Source:
konsole
Description:
X terminal emulator
Submitter:
Alex Volkov
Date:
2026-10-06 18:41:01 UTC
Severity:
normal
#1115615#5
Date:
2025-09-18 17:07:55 UTC
From:
To:
Dear Maintainer,

Konsole loses the ability to open folders by the app menu (right click → "Open
File Manager", also some of the "Open Folder With..." items) if `mc` was ever
started in its session.

Steps to reproduce:

1. Start a fresh Konsole session.

2. Launch `mc` in it. (Even if you exit it immediately, the behavior will
stay.)

3. Try to launch a file manager from the app menu (right click). You'll get the
error message about "The file or folder //<host>/<path> does not exist".

Probably, it's `mc` more to blame, as if seemingly breaks something in the
session, but I couldn't find what exactly. The environment seems unchanged (I
tried to save and compare `printenv` output before and after launching mc).
Maybe, something in dbus state gets broken?

#1115615#10
Date:
2026-10-06 17:29:30 UTC
From:
To:
So, apparently the reason is that `konsole` 25.04.2 from trixie (or, maybe, KIO) can't process a "file:" scheme URL having the host part (like `file://localhost/home/user` instead of `file:///home/user`). `mc` 4.8.32 added the terminal escape sequence OSC 7 to specify the current directory using that scheme. Konsole 26.04.0 works OK. I think it's possible to backport the fix into 25.04, but as of now I have no particular success with that.
#1115615#15
Date:
2026-10-06 18:39:21 UTC
From:
To:
the bug - https://bugs.kde.org/show_bug.cgi?id=483297

the fix - https://invent.kde.org/frameworks/kio/-/commit/659ef10fd031c5656e5b019fd8175dda85f13e8a