[konsole] [Bug 408217] Konsole switch profile from gui only change termial theme but not excute the customed command

Darin McBride bugzilla_noreply at kde.org
Sat Jul 6 15:11:03 BST 2019


https://bugs.kde.org/show_bug.cgi?id=408217

Darin McBride <Tanktalus at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Tanktalus at gmail.com

--- Comment #3 from Darin McBride <Tanktalus at gmail.com> ---
(In reply to Achim Bohnet from comment #2)
> Hi,
> AFAIR this behaviour is not new.  That's the way konsole treated the
> switch-profile as long as I can remember.

Prior to https://bugs.kde.org/show_bug.cgi?id=405930, if I used the keyboard
shortcut, it would properly create a new tab.  Switching an existing tab to a
new process makes no sense to me.

Also, if I use the switch-profile like the way it is now, whether keyboard or
menu, and then restart KDE such that that konsole gets restarted, then that tab
has the theme AND runs the command, which is different behaviour. I'd say that
it's far more broken now than it was before that "fix".

The only way I can see to salvage the difference between "switch profile" and
"new tab -> profile" is to separate out *theme* from command/profile. That is,
everything under "Settings" changes from "profile" to "theme". There is no
command or current directory associated with a theme. The entire "General" tab
in profiles would be removed.

And then a new configuration, say "template", would exist that would have that
"General" tab that just got removed, plus a link to an existing "theme".
(Perhaps the ability to create a new theme at the same time would be there,
doesn't matter to me.)

Both themes and templates can have keyboard shortcuts. I would personally never
use the shortcut for the theme, but that doesn't mean others wouldn't.

On re-startup, konsole would have to know what template and theme each tab had,
and apply as appropriate.

That's the salvage. Otherwise, I would simply move the whole profile thing to
be starting new tabs. Because as long as a command exists there, which is the
sole reason why I use profiles in the first place, switching a tab to a profile
without running the command specified is inherently broken.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list