Bug 410293 - "Switch to Next Screen" hotkey is not working
Summary: "Switch to Next Screen" hotkey is not working
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: core (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: LO normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2019-07-27 21:14 UTC by Aleksey Midenkov
Modified: 2024-06-06 15:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksey Midenkov 2019-07-27 21:14:49 UTC
I used to switch between screens without mouse. It focused correct window on each screen. Now it seems to be broken as I don't see any effect. Though hotkey works, because there is error popup when option "Active screen follows mouse" is ON.

Also "Window to Next Screen" works as expected.
Comment 1 Aleksey Midenkov 2019-08-05 08:41:30 UTC
Corresponding option is "Separate screen focus" whose presence is questionable. This option should be turned on and grayed out implicitly if there are screen switching keyboard shortcuts set.
Comment 2 Vlad Zahorodnii 2019-08-09 11:16:02 UTC
(In reply to Aleksey Midenkov from comment #1)
> Corresponding option is "Separate screen focus" whose presence is
> questionable. This option should be turned on and grayed out implicitly if
> there are screen switching keyboard shortcuts set.

If this were that simple... "Separate screen focus" option is a bit aggressive. If you close the last window on a screen, then focus won't be moved to another screen.

I agree that "Next to switch screen" shortcut is broken without "Separate screen focus" option being on. Perhaps we need to add some enum parameter to FocusChain::getForActivation in order to control its granularity (per screen, or per desktop). "Separate screen focus" should still take precedence if it's on.
Comment 3 Aleksey Midenkov 2019-08-09 14:49:50 UTC
> then focus won't be moved to another screen

I don't see a trouble with it. I see trouble when I press shortcut but it does nothing and doesn't give you a clue why it doesn't work.
Comment 4 Aleksey Midenkov 2019-08-09 14:57:01 UTC
With this option ON I didn't feel any anomalies for 7 years of experience. So acquiring focus on different screen without explicit user intent looks an artificial task to me.
Comment 5 Zamundaaa 2024-06-06 15:12:07 UTC
This has been fixed with https://invent.kde.org/plasma/kwin/-/commit/354a71855e04ee28311410e1b6d2a69cddcbcdbc, the shortcut will always work in Plasma 6.1+, independently of the options