Bug 501712 - With NVIDIA GPU, clicking on thumbnail in Task Switcher thumbnail grid does nothing
Summary: With NVIDIA GPU, clicking on thumbnail in Task Switcher thumbnail grid does n...
Status: REOPENED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2025-03-18 22:12 UTC by Nik Clayton
Modified: 2025-12-12 20:33 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nik Clayton 2025-03-18 22:12:54 UTC
SUMMARY

I want to select a window by first Alt-Tab, then with Alt still held down, click the window to select.

I believe this is supposed to work (discussion: https://discuss.kde.org/t/switching-windows-with-task-switcher-by-clicking/31711), so I'm filing this bug to get assistance on troubleshooting until it does.

STEPS TO REPRODUCE
1. Open multiple windows
2. Press Alt-Tab, with Task Switcher configured to show "Thumbnail Grid"
3. Keep Alt held down, click on one of the thumbnails to switch to that window

OBSERVED RESULT

Moving the mouse over the thumbnail causes the x-in-a-red-circle that appears on hover to appear. However, clicking the thumbnail, or the X, does nothing.

EXPECTED RESULT

The clicked window should be selected.

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-19-generic (64-bit)

ADDITIONAL INFORMATION

In case it makes a difference, I also have set:

Window activation policy: Focus follows mouse
Delay focus by: 0ms

This is a very new install of Kubuntu (< 48h old), and this behaviour has been present since it was installed.

In all other respects the mouse behaves as I would expect w.r.t. clicking on menus, windows, dragging items around, etc. It's only in the Task Switcher grid that clicking does nothing.

Left, middle, and right mouse buttons all do nothing in the thumbnail grid. If I use the scrollwheel the selected window **does** change, jumping 5 windows at a time with each distinct scroll.

This may be a dupe of https://bugs.kde.org/show_bug.cgi?id=481267, but that was marked resolved over a year ago, so I expect the fix has been released by now (given the comment in the discussion I linked to earlier).
Comment 1 Nik Clayton 2025-03-19 10:58:06 UTC
Possibly relevant additional information.

In the iconbar/dock at the bottom of the screen, if I hover the mouse over the icon of a running app then a window appears immediately above with a thumbnail grid of just that app's windows. This grid looks very similar to the alt-tab thumbnail grid, and includes the red-x-in-a-circle.

Clicking on the window thumbnail in this view **does** work to switch windows.
Comment 2 Nate Graham 2025-03-19 21:29:09 UTC
Is this on Wayland or X11? Or does it happen on both?

Can you reproduce the issue in a new clean user account with no customizations applied?
Comment 3 Nik Clayton 2025-03-24 08:48:32 UTC
(In reply to Nate Graham from comment #2)
> Is this on Wayland or X11? Or does it happen on both?

At least Wayland. I haven't tried X11.

> Can you reproduce the issue in a new clean user account with no
> customizations applied?

Interestingly, no.

Are there specific files in .config to diff between the two accounts to see what the culprit might be?
Comment 4 Nate Graham 2025-03-25 22:19:41 UTC
Unclear, there are a lot of things it could be, and I'm not sure I can help with that.

Closing since this seems to be a configuration issue, but feel free to ask your distro or https://discuss.kde.org for help figuring out what exact config file is causing it.
Comment 5 Nik Clayton 2025-03-28 09:44:56 UTC
Respectfully, I am re-opening this.

A plain reading of "this seems to be a configuration issue" suggests that "disabling clicks on the thumbnails when task switching" is a legitimate configuration a user could choose, and I don't believe that's the case.

I'm happy to be corrected if I'm wrong about that, but at the moment this feels more like the thumbnail grid is incorrectly applying a configuration setting that should not apply to it, and that's the actual bug.
Comment 6 John Kizer 2025-04-09 19:02:27 UTC
Hi - a configuration issue could also be that some combination of user-initiated changes, add-ons, system package upgrades, etc. has resulted in a configuration state within your user profile that shouldn't ever be reached, and that is throwing off the intended functionality there.

For what it's worth, my thought is that there are a couple of different troubleshooting paths:

* Test on an up-to-date version of KDE Plasma - currently 6.3.4 - instead of the held-in-place version that is distributed in the standard Kubuntu repositories
* Start changing the new user account's settings, add-ons, etc. in small enough pieces that you can identify what change was made right before the issue begins occurring

The former would identify if perhaps there was some intermittent issue that was incidentally fixed in one of the updates that's occurred since Plasma 6.1.5 was released, and the latter would identify if there's a specific configuration step that caused the issue on the profile on your device.

Either way, there would need to be a set of steps that someone on a different device, with a new profile, can take to reproduce the bug in order for investigation into a fix to be possible. Can you help detail that setup that could reproduce the issue?
Comment 7 Bug Janitor Service 2025-04-24 03:47:29 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Nik Clayton 2025-05-01 09:09:51 UTC
This appears to be related to Wayland.

If I login choosing X11 instead of Wayland from the login screen then the combination of "Alt-Tab, keep Alt held down, click a thumbnail" works.

Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-24-generic (64-bit)
Graphics Platform: X11
Processors: 24 × 13th Gen Intel® Core™ i7-13700K
Memory: 62.5 GiB of RAM
Graphics Processor: NV134
Comment 9 Bug Janitor Service 2025-05-16 03:46:53 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2025-05-31 03:47:49 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.
Comment 11 Nik Clayton 2025-06-03 09:42:00 UTC
I'm now using Kubuntu 25.04 which includes Plasma 6.3.4 and this is still a problem.

```shell
% kinfo
Operating System: Kubuntu 25.04
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Kernel Version: 6.14.0-15-generic (64-bit)
Graphics Platform: Wayland
Processors: 24 × 13th Gen Intel® Core™ i7-13700K
Memory: 62.5 GiB of RAM
Graphics Processor: llvmpipe
```

The upgrade to 25.04 also broke the Android Emulator under X11, so now I have to use Wayland.
Comment 12 John Kizer 2025-06-03 19:25:37 UTC
Does the issue persist when using the proprietary NVIDIA drivers provided by your distro for your device? Those do not seem to be loaded in the system information provided most recently, but looks like they were previously.

I can't reproduce in a Kubuntu 25.04 VM using Wayland.
Comment 13 Bug Janitor Service 2025-06-18 03:47:48 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 14 Bug Janitor Service 2025-07-03 03:47:28 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.
Comment 15 Nik Clayton 2025-12-12 12:55:40 UTC
(In reply to John Kizer from comment #12)
> Does the issue persist when using the proprietary NVIDIA drivers provided by
> your distro for your device? Those do not seem to be loaded in the system
> information provided most recently, but looks like they were previously.
> 
> I can't reproduce in a Kubuntu 25.04 VM using Wayland.

Yes it does, under Wayland.

Under X11 it does not.

Current system info:

```
Operating System: Kubuntu 25.10
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.17.0-6-generic (64-bit)
Graphics Platform: X11
Processors: 24 × 13th Gen Intel® Core™ i7-13700K
Memory: 64 GiB of RAM (62.5 GiB usable)
Graphics Processor 1: Intel® Graphics
Graphics Processor 2: NVIDIA GeForce GTX 1080
```

```
% modinfo nvidia | grep ^version
version:        580.95.05
```