shell icon indicating copy to clipboard operation
shell copied to clipboard

Focus changes to Desktop when clicking in a window

Open alexalex89 opened this issue 1 year ago • 3 comments

(1) Issue/Bug Description: After upgrading to Ubuntu Noble Numbat (24.04) a few weeks ago, pop-shell has a strange behaviour which made me disable it. When clicking in a window (e.g. browser), the desktop icons pop up and focus is set to Desktop, but the window itself is still on top somehow. I recorded a small video to show what I mean:

https://github.com/pop-os/shell/assets/967363/29a0c2e2-50ad-4c9c-8451-6bd2cad64c44

(2) Steps to reproduce (if you know): Enable pop-shell on Ubuntu 24.04 (no special configuration) and open Chrome or any other window. Then click anywhere in that window.

(3) Expected behavior: Focus is still set to the window in foreground.

(4) Distribution (run cat /etc/os-release): Ubuntu 24.04 LTS

(5) Gnome Shell version: GNOME Shell 46.0

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally): commit cfa0c55 (latest on master-noble branch)

(7) Where was Pop Shell installed from: make local-install, from official repo

(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc): Notebook internal screen 15", 1920x1080

(9) Other Installed/Enabled Extensions:

(10) Other Notes:

alexalex89 avatar Jun 16 '24 11:06 alexalex89

I have this issue as well

jrruethe avatar Aug 30 '24 20:08 jrruethe

I also have this issue.

BaelfireNightshd avatar Sep 03 '24 17:09 BaelfireNightshd

Ok. After some experimentation. I've found it only does this when interacting with a group of tabbed windows (Stacked? meta+s) that share a monitor with another window. If I change tabs, it'll start doing it every time I click in the window I selected. Then it will do it once more when I click on a different window (not tabbed) on the same monitor and then when I click that window again, actually focusing it, it'll stop focusing the desktop. I can also get it to stop focusing the desktop if I click a window on my main monitor that isn't sharing the screen with another window.

BaelfireNightshd avatar Sep 03 '24 17:09 BaelfireNightshd

Deactivating the Desktop Icons NG extension will temporarily resolve the issue.

wylho avatar Nov 17 '24 15:11 wylho

Closing as duplicate from #1658

alexalex89 avatar Jan 29 '25 12:01 alexalex89