Bug 494958

Summary: Erratic Present Windows behavior with cloned display
Product: [Plasma] kwin Reporter: Michal Ziabkowski <mziab>
Component: effects-present-windowsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 6.2.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: kscreen-doctor -o output

Description Michal Ziabkowski 2024-10-17 20:05:28 UTC
Created attachment 174961 [details]
kscreen-doctor -o output

SUMMARY

The Present Windows effect has been acting in an erratic way ever since I switched from Plasma 5.27 to 6.2.1.

One of two things happen:

1) At times it behaves as though they were no windows open, even though multiple are indeed open. It doesn't matter if I active Present Windows (all desktops) through a hotkey or a window edge.

2) At other times it will seem like everything is okay, but clicking the task doesn't activate that window it should, but seemingly a random one.

My setup is an X11 session on a Nvidia GPU with the binary drivers. I have two screens - a 1080p monitor and a 4k TV switched to 1080p, cloning the contents of the monitor.

If I unplug the TV, the effect starts working as intended. After replugging the TV, the issue reappears. Usually no windows are detected then.

I can provide further information if needed. For now I'm attaching the output of kscreen-doctor -o

STEPS TO REPRODUCE
1. Open several windows
2. Activate Present Windows (all workspaces)

OBSERVED RESULT

Either no windows are displayed or their thumbnails open the wrong window on click.

EXPECTED RESULT

All windows are shown and the proper window is activated when a thumbnail is clicked.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.6.52-gentoo (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 23.4 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1650/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-12-12 19:52:41 UTC

*** This bug has been marked as a duplicate of bug 481222 ***