Dash-to-panel: D2P is broken on GNOME 3.30 | global.screen is undefined

Created on 11 Jul 2018  路  15Comments  路  Source: home-sweet-gnome/dash-to-panel

Hello! This is a bit early but Dash To Panel doesn't work on GNOME Shell 3.29.3.

It throws

Extension "[email protected]" had error: TypeError: global.screen is undefined

And it now only places panel on bottom
screenshot from 2018-07-11 15-14-22

I think the problem is on Remove usage of MetaScreen commit in GNOME Shell

All 15 comments

Have a look at this PR from dash-to-dock: https://github.com/micheleg/dash-to-dock/pull/770 (thanks to @3v1n0 )

@franglais125 thanks for the PR link! I patched DtP similar, but for some reason JHbuild Shell now crashes (even without the extension enabled) and i cant fix it :( I will wait till Fedora29 (im using) to push 3.29.3 and retest

Thanks for the heads up. I'll work on this. Are you using Rawhide?

@jderose9 yes but 3.29.3 hasn't published yet on their repos, and not sure what happened with my JHBuild and crashes now. I rebuilt everything! And it was a golden opportunity for my first patch :(

@alex285 Looks like Rawhide repos have 3.29.4 now. Did you want to take a stab at it?

@jderose9 actually im just about! got it last night!

maybe you know working topicons plus alternative too?

@jderose9 yes, no changes involved there.

Just a simple patch. It works with 3.29.4. And it breaks 3.28.x of course.

I love Gnome foundation, they work like a fully automatic shotgun, hang up Gnome API as a target, close eyes, spray shells, open eyes, major_version++, release.

@horvathz Using a wrapper like done in https://github.com/micheleg/dash-to-dock/pull/770 will keep compatibility with both.

It can be cleaner, but that's the fastest and simplest solution ;-)

@jderose9 You forgot to import imports.gi.Meta in latest 6206195 commit. It still doesn't work on 3.30 without it.

@Prototik Thank! Give it a shot now. I believe everything should be working with 3.30 as expected.

@jderose9 yeah, with fixed import it works like a charm.

Was this page helpful?
0 / 5 - 0 ratings