https://bugs.kde.org/show_bug.cgi?id=461998
Bug ID: 461998 Summary: Alternative terminal setting not respected by eg Dolphin Classification: Applications Product: systemsettings Version: 5.26.3 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: kcm_componentchooser Assignee: plasma-b...@kde.org Reporter: wstephen...@kde.org Target Milestone: --- SUMMARY There is a mismatch between what the terminal chooser writes to kdeglobals and what KTerminalLauncherJob reads. Because KTerminalLauncherJob reads a value for a configured alternate terminal which it cannot fetch a KService for, it always falls back to Konsole. Regression introduced in 246b23191d59ad852c8a56bc3af72fa8ff7308f8. STEPS TO REPRODUCE 1. Select XTerm in kcm_componentchooser as terminal application 2. kdeglobals contains: ``` TerminalApplication=xterm TerminalService=xterm.desktop ``` 3. User uses 'Open Terminal Here' in dolphin's context menu, for example 4. https://invent.kde.org/frameworks/kio/-/blob/master/src/gui/kterminallauncherjob.cpp#L92 tries to fetch KService::serviceByStorageId("xterm.desktop"). This fails and the fallback konsole is picked instead. 5. If the TerminalService line is removed or changed to ="xterm", the correct terminal emulator is started by the LauncherJob. OBSERVED RESULT Konsole always starts irrespective of configuration EXPECTED RESULT Xterm starts when configured SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: openSUSE Tumbleweed (you know me) (available in About System) KDE Plasma Version: , 5.26.3 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.7 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.