Version-Release number of selected component (if applicable): konsole5-16.08.1-1.fc24 How reproducible: Setup a shortcut in KDE app launcher with checked Option "Start in Terminal". OR Use as desktop shortcut with terminal option true: [Desktop Entry] Comment= Exec=/path/to/bash/script GenericName= Icon= MimeType= Name= Path= StartupNotify=true Terminal=true <============ !!! TerminalOptions= Type=Application X-DBUS-ServiceName= X-DBUS-StartupType= X-KDE-SubstituteUID=false X-KDE-Username= Actual results: Start notification is shown, but terminal never comes up. Program/script doesn't run. Expected results: Program/script running and showing output in terminal. Additional info: Downgrade to konsole5-16.04.3-1.fc24 + konsole5-part-16.04.3-1.fc24 fixes the issue. Maybe a side effect of this bug: https://bugs.kde.org/show_bug.cgi?id=368596
Thanks, confirmed, reported upstream, https://bugs.kde.org/show_bug.cgi?id=368949
Also related, Regression in Konsole's handling of command line parameters https://bugs.kde.org/show_bug.cgi?id=366793
Per my comment upstream: So, kio contains this code: if (d->service.terminal()) { KConfigGroup cg(KSharedConfig::openConfig(), "General"); QString terminal = cg.readPathEntry("TerminalApplication", QStringLiteral("konsole")); if (terminal == QLatin1String("konsole")) { if (!d->service.path().isEmpty()) { terminal += " --workdir " + KShell::quoteArg(d->service.path()); } terminal += QLatin1String(" -caption=%c %i %m"); } And konsole seems to no longer support the -caption command line option, $ konsole -caption="foo" Unknown options: c, a. One workaround we could implement (and probably upstreamable) is to patch kio to longer use the (deprecated) -caption commandline option.
Yay, upstream already implemented the fix to kio as I surmised, backporting.
kf5-kio-5.26.0-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4bfcb7b83a
(In reply to Rex Dieter from comment #4) > Yay, upstream already implemented the fix to kio as I surmised, backporting. Thanks. Will pickup patched kf5-kio and test when pushed testing.
kf5-kio-5.26.0-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4bfcb7b83a
Sadly, the patch doesn't work for me with konsole5-16.08.1-1.fc24. I additionally recognized it causing a regression, as it breaks launching program/script in terminal with konsole5-16.04.3-1.fc24. Downgrade to kf5-kio-5.26.0-1.fc2 + konsole5-16.04.3-1.fc24 brings behavior back to normal. Any ideas?
It fixed it for me, but I had to restart my session after installing kf5-kio-5.26.0-2 (*probably* stale kdeinit5). Did you try testing after logout/login again?
Yes, I did logout/login, but as your feedback was positive, I did some extra testing with new shortcuts. This brought following conclusions: Yes, it's generally fixed. But there are new restrictions about command line: * $HOME/remaining/path don't work anymore. /home/UN must be used. Had $HOME in all my shortcuts. * Command line options require now use of quotation marks "/path/to/script -opt" Don't know how to deal with this, when path needs quotation marks itself. This is somewhat a regression, but I can live with this state.
Remaining regressions are likely because of KDE #366793.
> * Command line options require now use of quotation marks "/path/to/script -opt" > Don't know how to deal with this, when path needs quotation marks itself. This is indeed bug #1377017 = kde#366793.
kf5-kio-5.26.0-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.