Bug 445243 - "Click raises active window" has no effect in wayland session
Summary: "Click raises active window" has no effect in wayland session
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.23.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://invent.kde.org/plasma/kwin/-/...
Keywords: wayland
Depends on:
Blocks: 445244
  Show dependency treegraph
 
Reported: 2021-11-10 04:18 UTC by Fushan Wen
Modified: 2022-02-02 11:53 UTC (History)
2 users (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 Fushan Wen 2021-11-10 04:18:23 UTC
Because KWin installs WindowActionInputFilter in wayland session. But the filter ignores the option.
Comment 1 Fushan Wen 2021-11-11 08:52:40 UTC
The expected behavior should be set in Window Actions.
Comment 2 Berkay 2022-02-02 10:04:24 UTC
(In reply to Fushan Wen from comment #1)
> The expected behavior should be set in Window Actions.

Hi, how should we exactly do this in that actions, I tried a couple of this, but none of them worked.
Comment 3 Fushan Wen 2022-02-02 10:38:56 UTC
(In reply to Berkay from comment #2)
> (In reply to Fushan Wen from comment #1)
> > The expected behavior should be set in Window Actions.
> 
> Hi, how should we exactly do this in that actions, I tried a couple of this,
> but none of them worked.

I just tried to change the settings and it still worked. Choose "Activate"/"Activate and pass click" in Left click.
Comment 4 Berkay 2022-02-02 10:58:15 UTC
"Window activation policy: Click to focus.
Focus stealing prevention: None.
Raising windows: Click raises active window - Checked.
Inactive Inner Window Actions:
Left click: Activate and pass click."
With these options, when I try to open a second pdf document, okular's window is not raised and document is opening in the background with a new tab. Same is true also when I try to open a link from thunderbird in a web browser.
I can provide anything you want about my system, I do not have any guesses about why this option is not working.
Comment 5 Fushan Wen 2022-02-02 11:04:50 UTC
(In reply to Berkay from comment #4)
> "Window activation policy: Click to focus.
> Focus stealing prevention: None.
> Raising windows: Click raises active window - Checked.
> Inactive Inner Window Actions:
> Left click: Activate and pass click."
> With these options, when I try to open a second pdf document, okular's
> window is not raised and document is opening in the background with a new
> tab. Same is true also when I try to open a link from thunderbird in a web
> browser.
> I can provide anything you want about my system, I do not have any guesses
> about why this option is not working.

That's a different bug then. I can also reproduce it.
Comment 6 Berkay 2022-02-02 11:53:27 UTC
Hım, so there has to be a some configuration then raising windows with clicking works. Could you please share the options  that you use?  I post the bug tomorrow.