On sabato 6 settembre 2025 13:49:29 Ora legale dell’Europa centrale Kai Uwe
Broulik wrote:

Hi Stefano,

looks like this is an oversight in OpenUrlJob. It only ever runs files
from local URLs (i.e. file:/). It doesn’t handle pseudo-local (protocol
class “:local”) protocols, such as desktop:/.

It also doesn’t  resolve the “local url” that applications:/ sets.

The question is what the right fix is: I would like to avoid a StatJob
for every OpenUrlJob to resolve the local URL. Maybe we could add
handling for ”:local” protocols but that also doesn’t feel entirely right.

I made a patch [1] that will make it set UDS_TARGET_URL and might fix
this particular issue but isn’t a “proper” fix imho

Cheers
Kai Uwe

[1] https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5805

Thanks for your answer and for the patch. I'm not knowledgeable enough about the workings of OpenUrlJob to say whether your patch is the correct way to fix this issue or to suggest a different approach, but I tried it in both Konqueror
and Dolphin and it works as expected.

Stefano

Reply via email to