pop-os / beta

Pop!_OS Beta
356 stars 19 forks source link

Cosmic-dock doesn't work with the "this._monitor is undefined" error. #414

Closed oguzkarayemis closed 1 year ago

oguzkarayemis commented 2 years ago

How did you upgrade to 22.04? (Fresh install / Upgrade)

Upgrade from 21.10

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

Cosmic-dock

Issue/Bug Description:

Cosmic-dock doesn't work, instead I've ubuntu dock (I think). In extensions app, I get the "this._monitor is undefined" error.

Steps to reproduce (if you know):

Expected behavior:

Just a working cosmic-dock.

Other Notes: Ekran Görüntüsü - 2022-04-23 16-35-55 Ekran Görüntüsü - 2022-04-23 16-37-33

oguzkarayemis commented 2 years ago

After some digging, I could figure out the cause (I believe). I found an (arch) user with the same error: https://github.com/micheleg/dash-to-dock/issues/1687 As in that case, it appears that our issue is related to the Turkish locale. When I changed the locale to English, there is no problem, everything is like just expected. I think this discovery can make easier to fix that issue.

Screenshot from 2022-04-23 21-24-44

oguzkarayemis commented 2 years ago

Now upstream has a workaround for this bug, I can confirm it works for cosmic-dock too: https://github.com/micheleg/dash-to-dock/commit/a6447f246ad10075dd8f054b4625bff6009acd02

oguzkarayemis commented 2 years ago

I closed the issue by accident, sorry for that.

mmstick commented 2 years ago

This will be fixed in an upstream update of gjs soon

oguzkarayemis commented 2 years ago

After the latest update, all issue is gone now.