Summary: | When "default browser" was set to a custom desktop file that didn't come from the browser itself, links open with KRun as an io worker e.g. "file:///home/username/.cache/kioexec/krun/11894_0/enter_bug.cgi" ) | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Patrick Silva <bugseforuns> |
Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | kdelibs-bugs-null, nate, nicolas.fella |
Priority: | NOR | ||
Version First Reported In: | 5.106.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
chromium.desktop installed with the app
chromium (wayland).desktop created with kmenuedit |
Description
Patrick Silva
2023-05-17 16:52:32 UTC
Cannot reproduce. This would imply that the default browser is not set up correctly. Is this a new install? Or is it an old install, and it just started happening randomly, out of the blue? You are right. For some reason, Firefox is not available as an option in Default Applications KCM. Then I used the option "Other...' to choose an option that runs Firefox natively on Wayland created with kmenuedit. If I choose the Firefox option automatically created when Firefox was installed instead, the bug does not occur. I can also reproduce the bug when setting an option that runs Chromium natively on Wayland created with kmenuedit as default browser. Thanks. Can you attach the desktop file that you created whch triggers the bug, and also the desktop file that comes installed with the app, so we can see the differences between them? Created attachment 159082 [details]
chromium.desktop installed with the app
Created attachment 159083 [details]
chromium (wayland).desktop created with kmenuedit
The problem is that the %U got lost from the Exec= line I have added "%U" to beginning of "Command-line arguments" field of the .desktop files in kmenuedit, saved the change and now the bug is fixed. :) Thank you Nicolas. :) |