Bug 405930 - Shortcut for switching profiles opens a new tab unlike the mouse option
Summary: Shortcut for switching profiles opens a new tab unlike the mouse option
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (show other bugs)
Version: 18.12.3
Platform: Arch Linux All
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-27 13:48 UTC by joseph.axel
Modified: 2019-07-07 09:21 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In: 19.04


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description joseph.axel 2019-03-27 13:48:56 UTC
SUMMARY

When I switch to another profile using a keyboard shortcut, a new tab with this profile is open, which is not the same behavior than the mouse option, which changes the profile in the current tab WITHOUT opening a new tab

STEPS TO REPRODUCE
1. Bind a shortcut keyboard to a profile
2. Use this shortcut in a terminal


OBSERVED RESULT
 A new tab is opened with the chosen profile, and another tab stays with the ancient profile.

EXPECTED RESULT
The current tab switches profile (like the mouse option)

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Ludovic Jozeau 2019-03-30 16:37:47 UTC
Already fixed in the latest version 19.04 :
https://cgit.kde.org/konsole.git/commit/?id=d689ba5403ceb998013fc99de6758976f8509e98
Comment 2 mfw5 2019-04-27 05:24:35 UTC
Please revert this 'bug fix'. 
There a two profile related uses: 'New Tab' from the file menu and 'Switch Profile' from the context menu. I think the shortcuts should be used for 'New Tab' because it's much more useful as it respects the command, which is part of a profile.  'Switch Profile' doesn't, I don't think it is a much used option.
Personally I use(d) profiles to quickly open ssh connections to different hosts with shortcuts, which has now become very cumbersome.
Thank you!
Comment 3 Nate Graham 2019-04-28 22:28:50 UTC
Please file a new bug for that request. Thanks!

FWIW you can quickly create a new tab by clicking and holding the new tab button in the tab bar and selecting your preferred profile.
Comment 4 Darin McBride 2019-07-01 13:44:41 UTC
Did another bug get opened? Because this "fix" has crippled my workflow. In fact, it is a bug - now when I use the keyboard shortcut, it simply changes the colors in the window, but *does not run the command in the profile*. That is a bug. Please revert.
Comment 5 Achim Bohnet 2019-07-07 09:08:33 UTC
The bug report to fix the (IMHO) regression introduced with this bugfix is

  https://bugs.kde.org/show_bug.cgi?id=408217
Comment 6 Achim Bohnet 2019-07-07 09:21:50 UTC
And another even older bug report: https://bugs.kde.org/show_bug.cgi?id=407076