Bug 486102 - Useractions/run in terminal does not work in a wayland session
Summary: Useractions/run in terminal does not work in a wayland session
Status: RESOLVED NOT A BUG
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: 2.8.0
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-25 09:05 UTC by bzanetti
Modified: 2024-05-24 10:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Patch to run konsole without the --title option (625 bytes, patch)
2024-04-25 09:05 UTC, bzanetti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bzanetti 2024-04-25 09:05:31 UTC
Created attachment 168891 [details]
Patch to run konsole without the --title option

SUMMARY
Krusader executes useractions in terminal "konsole" (when configured to do so) with the option --title "some string".
Unfortunately it seems that konsole does not allow such option any more and therefore it does not start at all.

STEPS TO REPRODUCE
1. Define a new useraction from Useractions->Manage Useractions...
2. In "Execution Mode" set "Run in terminal"
3. Run the useraction defined above

OBSERVED RESULT
Nothing happens. When krusader is started from terminal the following message is printed:
konsole: Unknown option 'title'.

EXPECTED RESULT
The command defined in the useraction is run in a new terminal instance.

SOFTWARE/OS VERSIONS
Windows: n.a.
macOS: n.a.
Linux/KDE Plasma: Debian 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Still present in krusader 2.8.1
Patch attached with a possible workaround
Comment 1 bzanetti 2024-05-24 10:04:10 UTC
Well, it turned out the --title option is a valid alias of --qwindowtitle qt option valid in a X11 session but not in a Wayland one.

And forget about that silly patch: the command to run the terminal in user actions is indeed configurable in Settings->Configure Krusader...->User Actions. Replace --title with --qwindowtitle (or remove --title %t) and it works in both X11 and Wayland session.

Marking as RESOLVED then.