spin83 / multi-monitors-add-on

GNU General Public License v2.0
419 stars 98 forks source link

Does not work on GNOME 3.38 #137

Closed jvnknvlgl closed 4 years ago

jvnknvlgl commented 4 years ago

The extension does not work on GNOME 3.38. It gives the following error in the Extensions application:

's is undefined'

I'm using the Fedora 33 pre-release.

jacobmischka commented 4 years ago

I've dug into this a little bit.

They removed the Calendar.EventsSection, so all of the code in mmcalendar.js related to it needs to be stripped or disabled in 3.38.

Then, Tweener was removed in 3.38, so all of the calls to Tweener need to be stripped out. This can be done relatively easily by dropping 3.32 support and removing the icon hello function that doesn't even seem to be called anywhere.

Once those changes are made the extension will activate without errors, but the overview is pretty broken and doesn't align/sync well. They changed a lot about how geometries are updated since 3.36 it seems. This is where I'm stuck now.

fdinardo commented 4 years ago

Is this extension dropped?

asterlab commented 4 years ago

patch anyone ?

Jhackler commented 4 years ago

usually takes a bit after this extension breaks before it gets fixed/ updated. really wish gnome would just give decent multi-monitor option by default

Jhackler commented 4 years ago

keep up the good work though, I appreciate it.

toupeira commented 4 years ago

@spin83 thank you, latest master fixed it for me on Gnome 3.38.1! :tada:

jacobmischka commented 4 years ago

Can also confirm that it works again, but the animations are a bit clunky when the switcher panel is enabled on non-primary monitors. Regardless, great work and thanks for the quick update!

asterlab commented 4 years ago

Is there a way to have this from the gnome extensions site ?

From: "Jacob Mischka" notifications@github.com To: "spin83/multi-monitors-add-on" multi-monitors-add-on@noreply.github.com Cc: "renato" renato@aster-lab.com, "Comment" comment@noreply.github.com Sent: Monday, October 12, 2020 2:19:29 PM Subject: Re: [spin83/multi-monitors-add-on] Does not work on GNOME 3.38 (#137)

Can also confirm that it works again, but the animations are a bit clunky when the switcher panel is enabled on non-primary monitors. Regardless, great work and thanks for the quick update!

— You are receiving this because you commented. Reply to this email directly, [ https://github.com/spin83/multi-monitors-add-on/issues/137#issuecomment-707085688 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/AHKOEYWUWIK2E6R5A2ZUXGTSKLX5DANCNFSM4R4QEK7A | unsubscribe ] .

jvnknvlgl commented 4 years ago

@asterlab it would be nice if you could be a little patient.

Your comment 'patch anyone ?' does not contribute anything to this issue, and comes across as very rude. The developer does this work free of charge, and is in no way obligated to provide this work to you or any other user.

If the developer feels like the code is in a proper state, he or she might decide to upload it on the GNOME Extensions website. You, as a regular user, have two options: wait and see, or actively contribute yourself. The latter option is, of course, possible because this is a GPL 2-licensed project.

In the meantime, see README.md for installation instructions.

fdinardo commented 4 years ago

Thanks @spin83 that worked on gnome 3.38. Great work and great extension. I can't imagine why the gnome team doesn't provide this by default.

About my previous comment, I was just wondering if this extension was dropped, in case, I would have made a fork and try to fix by myself, but with a very long deadline, since I am not an expert developing gnome extensions.

Thanks again!

fulljackz commented 4 years ago

Great work, thanks for all of Ubuntu 20.10 / Gnome 3.38 users :+1:

RSWilli commented 4 years ago

whats the state on this? if it is working, why was the gnome extensions repo not updated?

are there still problems / needed improvements involving the current implementation?

highvoltage commented 4 years ago

@spin83 According to reports above, it seems that master is working in 3.38.1, do you think you can tag a new release?

grizzlysmit commented 4 years ago

Yeah just found out about this whats the ETA on a fix, even a partial one

grizzlysmit commented 4 years ago

The main/master is working to some degree on my box, with 3.38.1 on ubuntu 20.10 very happy

grizzlysmit commented 4 years ago

hmm the version I grabbed from github seams to leave me with no borders etc on windows any idea when the plugin will be totally fixed

spin83 commented 4 years ago

Should work with gnome-shell 3.38.1 . Could you be more specific about what you mean by "no borders etc on windows" maybe you can put a screenshot. You're using Ubuntu 20.10, right?

grizzlysmit commented 4 years ago

uumm here's a screen shot of a gvim session though it happens with everything else too 2020-11-08T06 39 41-gvim-sans-borders-1468x850 though maybe it some thing else doing it would love to know though

grizzlysmit commented 4 years ago

and yes I am using Ubuntu 20.10 but it does not happen on single monitor systems, but I do not have this plugin on them as well only single monitors

grizzlysmit commented 4 years ago

stop press I've found the culprit it's Argos https://extensions.gnome.org/extension/1176/argos/ that does it was going through the diff's between this and the single monitor system and this and Argos were it, so I switched Argos off and the problem went away, sorry for the bother.

grizzlysmit commented 4 years ago

maybe not I've uninstalled Argos and the problem came back

grizzlysmit commented 4 years ago

Hmm even when I switched off Multi Monitors Add-On the problem persisted I have to dig deeper

jacobmischka commented 4 years ago

Confirming that animations look perfect after the recent commit, great work :+1:. Thanks again!

Random-Chain commented 4 years ago

On Gnome 3.36.3, running master commit b326bb3e67304a78176c060537bca796c2b112dd.

I'm getting this error: `Nov 16 17:33:18 system gnome-shell[2447]: JS WARNING: [/home/user/.local/share/gnome-shell/extensions/multi-monitors-add-on@spin83/mmcalendar.js 115]: reference to undefined property "EventsSection" Nov 16 17:33:18 system gnome-shell[2447]: JS ERROR: Extension multi-monitors-add-on@spin83: TypeError: s is undefined

012copyClass@/home/user/.local/share/gnome-shell/extensions/multi-monitors-add-on@spin83/extension.js:43:25

012MultiMonitorsEventsSection<@/home/user/.local/share/gnome-shell/extensions/multi-monitors-add-on@spin83/mmcalendar.js:115:19

012@/home/user/.local/share/gnome-shell/extensions/multi-monitors-add-on@spin83/mmcalendar.js:117:3

012@/home/user/.local/share/gnome-shell/extensions/multi-monitors-add-on@spin83/mmpanel.js:31:20

012@/home/user/.local/share/gnome-shell/extensions/multi-monitors-add-on@spin83/mmlayout.js:17:17

012@/home/user/.local/share/gnome-shell/extensions/multi-monitors-add-on@spin83/extension.js:30:18

012_callExtensionInit@resource:///org/gnome/shell/ui/extensionSystem.js:425:13

012loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:346:27

012_loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:599:18

012collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17

012_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:574:19

012_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:608:18

012_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:639:18

012init@resource:///org/gnome/shell/ui/extensionSystem.js:56:14#012_initializeUI@resource:///org/gnome/shell/ui/main.js:257:22

012start@resource:///org/gnome/shell/ui/main.js:146:5

012@
:1:47`

Is this issue not fixed in master? Or is there something else I should do?

spin83 commented 3 years ago

Version 22 and the master branch are not compatible with gnome-shell 3.36.x Please use an older version or the gnome-3-32_3-36 branch.