Bug 483324 - Splitting views doesn't put focus on the new view
Summary: Splitting views doesn't put focus on the new view
Status: RESOLVED DUPLICATE of bug 482119
Alias: None
Product: yakuake
Classification: Applications
Component: general (show other bugs)
Version: 24.02.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-12 08:26 UTC by Massimiliano Torromeo
Modified: 2024-03-13 03:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Massimiliano Torromeo 2024-03-12 08:26:46 UTC
When using the split view top/bottom or left/right the cursor does not focus the new view anymore like it used to do in previous versions.

The behavior is also inconsistent based on where the focus is when the split view action is invoked:
- if the focus is on the first view, the focus does not change and is still on the first view after the split
- if the focus is on any other view, yakuake loses focus entirely

STEPS TO REPRODUCE
1. open yakuake
2. split view with "CTRL+(" or "CTRL+)"

OBSERVED RESULT
The focus remains on the first view.

EXPECTED RESULT
The focus should change to the new view on the right or bottom of the first one.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.1 (yakuake reports 6.0.0, but every KDE package is at version 6.0.1)
Qt Version: 6.6.2
Comment 1 Massimiliano Torromeo 2024-03-12 08:31:49 UTC
I just noticed that in the shortcut settings, there are duplicate actions for split view. There are 2 actions (vertical/horizontal) for the konsolepart component with no keybinds by default, and 2 similar actions (the ones this report is about) in the yakuake section.

If I bind keys to the konsolepart actions I can work around this issue and the focus is moved properly to the new views, but the split behaves a little differently and creates a new header/toolbar on top of the views (which I don't mind much).
Comment 2 Massimiliano Torromeo 2024-03-12 10:49:27 UTC
I noticed something else in regard to the keybindings workaround that I mentioned earlier.

Only if the focus is on the first split view I can access the "konsolepart" keybindings in the shortcut settings, otherwise I can only see the "Yakuake" bindings.
Comment 3 Christian Muehlhaeuser 2024-03-13 03:34:57 UTC
*** This bug has been marked as a duplicate of bug 482119 ***