SUMMARY While terminal is opened when editing a file using F4, Ctrl+Shift+F4 is default shortcut for Focus/Defocus Terminal Panel . On using Ctrl+Shift+F4 , Defocus Terminal Panel happens where active cursor moves from terminal area to text editing area , on using same shortcut Focus Terminal Panel happens where active cursor moves from text editing area to Terminal. But if you set alternate shortcut key for Focus/Defocus Terminal Panel and on pressing the alternate shortcut key only Focus Terminal Panel happens but again on pressing alternate shortcut key Defocus Terminal Panel does not happen. STEPS TO REPRODUCE 1. Open a text file to edit and press F4 to bring terminal panel. 2. Set alternate shortcut for Defocus/Focus Terminal panel. 3. Use alternate shortcut set while cursor is active at text editing area , where you will notice focus moving from cursor from text editing area to terminal area but on again using same alternate shortcut focus does not move back to text editing area. 4. Now use default shortcut , which is Ctrl+Shift+F4 . Focus moves back and forth from text editing area and terminal area . OBSERVED RESULT Alternate shortcut set for Focus/Defocus Terminal Panel does have same behavior as default shortcut. Basically alternate shortcut only Focus Terminal Panel but does Defocus Terminal panel EXPECTED RESULT Both alternate shortcut and default shortcut should have same behavior. Alternate shortcut should Focus Terminal Panel and Defocus Terminal panel. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.26.5 KDE Frameworks Version: 5.102.0 Qt Version: 5.15.8 Kernel Version: 5.15.89-1-lts (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i3-7020U CPU @ 2.30GHz Memory: 3.8 GiB of RAM Graphics Processor: Mesa Intel® HD Graphics 620 Manufacturer: HP Product Name: HP Laptop 15-bs0xx
Terminals do intercept some shortcuts such as Ctrl+C, Ctrl+V, etc. So you have to assign some shortcuts which doesn't mess up with those. Setting shortcut with multiple modifier keys like Ctrl+Shift+<anything> or Ctrl+Alt+<anything> is a good idea. I have tried with some alternate shortcuts which do not mess up with the default terminal shortcuts, and it works as expected.
(In reply to Puspam Adak from comment #1) > Terminals do intercept some shortcuts such as Ctrl+C, Ctrl+V, etc. So you > have to assign some shortcuts which doesn't mess up with those. Setting > shortcut with multiple modifier keys like Ctrl+Shift+<anything> or > Ctrl+Alt+<anything> is a good idea. > > I have tried with some alternate shortcuts which do not mess up with the > default terminal shortcuts, and it works as expected. Thanks , I tried with Ctrl+Shift+Q as alternate shortcut and it is working as expected .
(In reply to Puspam Adak from comment #1) > Terminals do intercept some shortcuts such as Ctrl+C, Ctrl+V, etc. So you > have to assign some shortcuts which doesn't mess up with those. Setting > shortcut with multiple modifier keys like Ctrl+Shift+<anything> or > Ctrl+Alt+<anything> is a good idea. > > I have tried with some alternate shortcuts which do not mess up with the > default terminal shortcuts, and it works as expected.