Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unite with Gnome Shell 3.36 #155

Closed
galen1423 opened this issue Mar 1, 2020 · 20 comments
Closed

Unite with Gnome Shell 3.36 #155

galen1423 opened this issue Mar 1, 2020 · 20 comments
Labels

Comments

@galen1423
Copy link
Contributor

Hello,

Thanx for this wonderfull extension.

With Ubuntu 20.04 & G.S 3.35.91, unfortunately, Unite no longer work anymore...
TypeError: controls.reparent is not a function

@TheAifam5
Copy link

ArchLinux rolled the 3.36.0 out to public. Any update on this issue?

@Zeph33
Copy link

Zeph33 commented Mar 8, 2020

Replace in panel.js controls.reparent(this.container) by this code

    const parent = controls.get_parent();
    if (parent) {
        parent.remove_child(controls);
    }
    this.container.add_child(controls);    

No error but dash not visible :(

@jonian
Copy link
Member

jonian commented Mar 8, 2020

Thanks for the reports. I'm on Arch too. I will update and try to fix the issue soon.

@jonian jonian added the bug label Mar 8, 2020
jonian added a commit that referenced this issue Mar 8, 2020
@jonian
Copy link
Member

jonian commented Mar 8, 2020

I have pushed a fix in master branch. Can you try it and confirm that it works?

@TheAifam5
Copy link

It works on my machine ™

@Zeph33
Copy link

Zeph33 commented Mar 8, 2020

Same issue as with my code, dash no visible
This version of Dash To Dock work for me :
https://github.com/3v1n0/dash-to-dock/tree/gnome-3-36

@jonian
Copy link
Member

jonian commented Mar 8, 2020

@Zeph33 How is Dash to Dock related to unite?

@Zeph33
Copy link

Zeph33 commented Mar 8, 2020

Replace Unite by 3 extensions"Dash to Dock" "No title Bar" and "KStatusNotifierItem/AppIndicator Support". I have tested your fix with this 3 extensions disable but the dock is not visible, no crash, no error ...

@jonian
Copy link
Member

jonian commented Mar 8, 2020

@Zeph33 unite is not a replacement for "Dash to Dock" and "KStatusNotifierItem/AppIndicator Support". From those extensions unite can only replace "No title Bar".

@Zeph33
Copy link

Zeph33 commented Mar 8, 2020

I have a lot of extension, I mixed ... your screenshot show Dash to Dock
I am sorry

@jonian
Copy link
Member

jonian commented Mar 8, 2020

@Zeph33 no problem.

@pezz
Copy link

pezz commented Mar 8, 2020

Even after updating gnome-shell this morning, Unite still worked for me without that code change.

The main issue I have at the moment is that tray icons aren't looking quite right.

tray

Icons are Hexchat, Discord and Slack.

@jonian
Copy link
Member

jonian commented Mar 8, 2020

@pezz please open a new issue for the icons. Thanks.

@pezz
Copy link

pezz commented Mar 8, 2020

Done #156

@subliminal-one
Copy link

Hello,

Running Arch here and after the latest update it seems unite will only work in an X session. In Wayland the error comes up is unite_hardpixel.eu has error: TypeError: object is null.

Thanks

@ivan-masich
Copy link

I have pushed a fix in master branch. Can you try it and confirm that it works?

It works, thx!

@radiomike
Copy link

On Arch with 3.36 on Wayland and getting same error as subliminal-one. Journal excerpt for the error below.

JS ERROR: Extension unite@hardpixel.eu: TypeError: object is null
registerHandler@/home/radiomike/.local/share/gnome-shell/extension/unite@hardpixel.eu/handlers.js:59:9
connect@/home/radiomike/.local/share/gnome-shell/extensions/unite@hardpixel.eu/handlers.js:71:17
[_init@/home/radiomike/.local/share/gnome-shell/extensions/unite@hardpixel.eu/layout.js:76:20]
_init@/home/radiomike/.local/share/gnome-shell/extensions/unite@hardpixel.eu/extension.js:12:28
enable@/home/radiomike/.local/share/gnome-shell/extensions/unite@hardpixel.eu/extension.js:39:18
_callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:160:32
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:311:26
_loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:536:18
collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:17
_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:515:19
_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:545:18
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:576:18
init@resource:///org/gnome/shell/ui/extensionSystem.js:54:14
_initializeUI@resource:///org/gnome/shell/ui/main.js:244:22
start@resource:///org/gnome/shell/ui/main.js:138:5
@<main>:1:47

@jonian
Copy link
Member

jonian commented Mar 10, 2020

@subliminal-one, @radiomike I can reproduce the issue. I will push a fix soon. Thanks for the reports.

jonian added a commit that referenced this issue Mar 10, 2020
system fonts are applied by default
fixes issue #155 `object is null`
@jonian
Copy link
Member

jonian commented Mar 10, 2020

@subliminal-one, @radiomike the fix is available on master branch.

@subliminal-one
Copy link

@jonian working, thanks!

@jonian jonian closed this as completed Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants