Thanks for your comment, but I think I might not have explained myself clearly in the initial bug report.
The behaviour you describe in your second paragraph (focus if one window, preview if multiple) is what I want and what the code implies should happen, but isn't what's happening. Rather, (on my system at least) click-action previews ALWAYS focuses first regardless of the number of windows. This can be seen in the video I attached, where the first click focuses one of the terminal windows even though there are two open, and the previews only show up on the second click. Basically previews mode seems to be acting exactly the same as focus-or- previews, which doesn't seem right. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell-extension-ubuntu-dock in Ubuntu. https://bugs.launchpad.net/bugs/1987330 Title: Dock click action "previews" focuses instead Status in gnome-shell-extension-ubuntu-dock package in Ubuntu: New Bug description: Description: Ubuntu 22.04.1 LTS Release: 22.04 gnome-shell-extension-ubuntu-dock: Installed: 72~ubuntu5.22.04.1 Candidate: 72~ubuntu5.22.04.1 Version table: *** 72~ubuntu5.22.04.1 500 500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages 100 /var/lib/dpkg/status 72~ubuntu5 500 500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu jammy/main i386 Packages With the Ubuntu dock click-action set to previews, focusing on one program then clicking on the icon of a different program with multiple windows focuses the most recently used window from that program instead of showing the previews. Steps to reproduce:- 1) Open multiple Terminal windows (or any program I guess, but I used Terminal and Firefox for testing) 2) Open Firefox 3) Click on the Terminal icon in the dock Expected behaviour: Previews for all the Terminal windows are shown Actual behaviour: The most recent Terminal window is focused. Additional info: Appears to be a regression of #1947445, which was supposedly fixed in version 70 but I'm on version 72. I've tried setting the click-action via gsettings and by editing /usr/share/glib-2.0/schemas/10_ubuntu- dock.gschema.override (as per #1770405) but neither has any effect. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/1987330/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp