Bug 485851 - if a window is under another window but part of the window of the window below is visible clicking on it does not return to the front
Summary: if a window is under another window but part of the window of the window belo...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 6.0.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-20 12:49 UTC by andrew
Modified: 2024-05-21 03:45 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 andrew 2024-04-20 12:49:44 UTC
SUMMARY
for example if i have telegram desktop in the front and firefox under telegram-desktop but a part of firefox is visible, clicking on the visible part of firefox does not return to the front

STEPS TO REPRODUCE
1.  open a window A
2.  open a window B
3.  window A is more large than window B
4.  window B is in the front
5.  click in a visible part of window A

OBSERVED RESULT
the window A don't brings to the front

EXPECTED RESULT
brings to the front

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.8.7-zen1-1-zen (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 30.6 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Comment 1 andrew 2024-04-20 12:53:00 UTC
I tried to create a new account on the computer and it happens as well without changing any configuration, it happens on my work computer as well.
Comment 2 fanzhuyifan 2024-04-20 23:48:57 UTC
What are your settings in window management - window behavior - focus -  raising windows?

Does this happen with windows from any app?
Comment 3 andrew 2024-04-21 13:12:42 UTC
(In reply to fanzhuyifan from comment #2)
> What are your settings in window management - window behavior - focus - 
> raising windows?
> 
> Does this happen with windows from any app?

What are your settings in window management - window behavior - focus
- window activation policy: click to focus
- delay focus by: 300ms
- focus stealing prevention: none
- click raises active window: no
- raise on hover: no

Does this happen with windows from any app?
- Seems to happen more often with desktop telegram in the front and firefox below with youtube playing a video.
- is not deterministic, it happens occasionally during long uses
- anyway I use all the default kde options except change the theme to the dark one, I recently deleted all the configurations folders from my home
- happens on two of my computers both running archlinux and all updated to date
Comment 4 andrew 2024-04-21 13:14:59 UTC
(In reply to andrew from comment #3)
> (In reply to fanzhuyifan from comment #2)
> > What are your settings in window management - window behavior - focus - 
> > raising windows?
> > 
> > Does this happen with windows from any app?
> 
> What are your settings in window management - window behavior - focus
> - window activation policy: click to focus
> - delay focus by: 300ms
> - focus stealing prevention: none
> - click raises active window: no
> - raise on hover: no
> 
> Does this happen with windows from any app?
> - Seems to happen more often with desktop telegram in the front and firefox
> below with youtube playing a video.
> - is not deterministic, it happens occasionally during long uses
> - anyway I use all the default kde options except change the theme to the
> dark one, I recently deleted all the configurations folders from my home
> - happens on two of my computers both running archlinux and all updated to
> date
Comment 5 andrew 2024-04-21 13:20:59 UTC
(In reply to andrew from comment #3)
> (In reply to fanzhuyifan from comment #2)
> > What are your settings in window management - window behavior - focus - 
> > raising windows?
> > 
> > Does this happen with windows from any app?
> 
> What are your settings in window management - window behavior - focus
> - window activation policy: click to focus
> - delay focus by: 300ms
> - focus stealing prevention: none
> - click raises active window: no
> - raise on hover: no
> 
> Does this happen with windows from any app?
> - Seems to happen more often with desktop telegram in the front and firefox
> below with youtube playing a video.
> - is not deterministic, it happens occasionally during long uses
> - anyway I use all the default kde options except change the theme to the
> dark one, I recently deleted all the configurations folders from my home
> - happens on two of my computers both running archlinux and all updated to
> date

I saw that the current options were not the ones that are set by pressing the "dafault" button, these days I must have tried to change to try to get around the bug, I was able to reproduce it as well after using the options that are set with the "dafault" button

- window activation policy: click to focus
- delay focus by: 300ms
- focus stealing prevention: low
- click raises active window: yes
- raise on hover: no
Comment 6 Bug Janitor Service 2024-05-06 03:45:56 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2024-05-21 03:45:26 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!