passingthru67 / workspaces-to-dock

A gnome shell extension that transforms the workspaces into an intellihide dock
https://extensions.gnome.org/extension/427/workspaces-to-dock/
GNU General Public License v3.0
262 stars 54 forks source link

Using multiple monitors crashes workspaces-to-doc #190

Open tobyink opened 4 years ago

tobyink commented 4 years ago

Linux Distribution version

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 19.10
Release:    19.10
Codename:   eoan

Gnome Shell version

$ gnome-shell --version
GNOME Shell 3.34.1

Xorg or Wayland (or both)

$ xdpyinfo | grep version
version number:    11.0
X.Org version: 1.20.5

Extension version or branch

$ grep '"version"' .local/share/gnome-shell/extensions/workspaces-to-dock@passingthru67.gmail.com/metadata.json
  "version": 52

Description of the problem

Plugging in an external monitor to my laptop somewhat crashes the extension.

The extension still works to an extent. The thumbnails for the different workspace will update correctly when windows are moved around. Clicking on the thumbnails can be used to switch workspace. The Workspaces to Dock settings window works fine.

However, the dock no longer auto-hides, resulting in it taking up a significant portion of my primary display. And it's shown as having an error in the list of installed extensions.

Unplugging the external monitor does not fix the issue, but restarting the laptop does. (Presumably logging out and logging in again would work too, but I have not tried that yet.)

I believe this issue to be distinct from the other issues reported with multiple monitor displays.

Steps to reproduce the problem

  1. Plug in an external monitor via HDMI. (Gnome display mode is set to "join displays", and the primary display is my laptop's built-in screen.)
  2. Go to https://extensions.gnome.org/local/ and note that it says "ERROR" beside the "Workspaces to Dock" extension.
tobyink commented 4 years ago

Additional information: if my external monitor is plugged in and switched on before I log in then everything works fine.

jeffmahoney commented 4 years ago

FWIW, I'm using gnome-shell 3.36.4 on openSUSE Tumbleweed (updated yesterday) with multiple displays (one HDMI, one DP) and it works ok. I'm using Wayland, though.

tobyink commented 4 years ago

I guess I should update this issue. I've upgraded to Ubuntu 20.04 and things work okay now.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:    20.04
Codename:   focal
$ gnome-shell --version
GNOME Shell 3.36.3
$ xdpyinfo | grep version
version number:    11.0
X.Org version: 1.20.8
$ grep '"version"' .local/share/gnome-shell/extensions/workspaces-to-dock@passingthru67.gmail.com/metadata.json
  "version": 53
yinzixie commented 3 years ago

Nope, still have same issue on 20.04