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

Gnome Shell become unusable on ubuntu 18.04 #134

Closed
ddnexus opened this issue Apr 19, 2018 · 27 comments
Closed

Gnome Shell become unusable on ubuntu 18.04 #134

ddnexus opened this issue Apr 19, 2018 · 27 comments

Comments

@ddnexus
Copy link

ddnexus commented Apr 19, 2018

###Linux Distribution version
Ubuntu Bionic Beaver (development branch)
Release: 18.04

###Gnome Shell version
3.28.1

###Xorg or Wayland (or both)
both

###Extension version or branch
Latest on https://extensions.gnome.org/extension/427/workspaces-to-dock/

###Description of the problem
Makes the gnome shell totally unusable, i.e. the pointer is visible and can move around but no interaction could be done neither with the mouse nor the keyboard. No possibility to restart the shell, nothing. The only solution is restarting and removing the extension from the extensions dir in the x console before arriving to the desktop.

###Steps to reproduce the problem
Install the latest 18.04. The update of today broke it. (IIRC it installed some files for GDM and probably the gnome shell).

@sha-red
Copy link

sha-red commented Apr 20, 2018

This is not a workspaces-to-dock issue. Gnome shell (actually gjs, the Javascript engine) is broken since last summer, having huge memory leaks and killing wayland in the end. The only "solution" is to not use Gnome shell extensions.

@ddnexus
Copy link
Author

ddnexus commented Apr 20, 2018

The only "solution" is to not use Gnome shell extensions.

which... said by a Gnome Extension author is huge :)

What I tried to report is that I never ever had any kind of problem with WTD, not even from last summer. Only from yesterday: the last update changed something that broke WTD badly. I just wanted to report it, because I liked WTD.

BTW, they fixed quite a bit of problems with extensions: some was randomly crashing the shell on wake-up, and now that is gone for good. Maybe WTD will work again with some future updates.

@ddnexus ddnexus closed this as completed Apr 20, 2018
@ddnexus
Copy link
Author

ddnexus commented Apr 20, 2018

@sha-red: Oh... you are not the author! My previous post didn't make any sense now that I noticed that!
Re-opening...

@ddnexus ddnexus reopened this Apr 20, 2018
@sha-red
Copy link

sha-red commented Apr 20, 2018

Yes, sorry for the confusion. My comment was not meant as a prompt to close the issue.

@ddnexus
Copy link
Author

ddnexus commented Apr 20, 2018

@sha-red: it's not your fault: I just did't noticed it was not the author's answer. Thanks.

@ghost
Copy link

ghost commented Apr 20, 2018

@sha-red: that is not entirely true. The Dash-to-dock extension (which I normally use alongside Workspaces-to-dock) broke down as well. But Dash-to-panel which I installed as an alternative for Dash-to-dock is working fine under both X and Wayland.

@sha-red
Copy link

sha-red commented Apr 20, 2018

@silviobierman: Thanks for the hint, maybe I'll try. My (and my fellow Linux user's) experience is, that gjs (Gnome's Javascript engine) is leaking like hell, and this concerns all shell extensions, but very differently. dash-to-dock seems to leak like hell, after 1 to 2 hours the machine freezes/crashes. Until last summer I had about 15 very usefull shell extensions running, currently only 3 with very low overhead.

@ghost
Copy link

ghost commented Apr 20, 2018

@sha-red: Well, my experience with this is quite short and fresh. So I can not say how it will behave after a day or so. I ran it for about ten minutes yesterday and have been running it for about two hours today.

@zoppagency
Copy link

Amazing Extension, However the last 18.04 update freeze the click trackpad, even a usb mouse click. is gnome 3.28.1 ?

@taimir
Copy link

taimir commented Apr 22, 2018

+1, exact same setup and issue as @ddnexus describes. Other window-manager related extensions (e.g. dash-to-panel, windownavigator, etc.) seem to work just fine.

EDIT: for what it's worth, here's the relevant trace after running gnome-shell --replace:

(gnome-shell:5334): Gjs-WARNING **: 18:16:19.435: JS ERROR: TypeError: this._porthole is null
myThumbnailsBox<._getPreferredWidth@/home/valor/.local/share/gnome-shell/extensions/workspaces-to-dock@passingthru67.gmail.com/myWorkspaceThumbnail.js:1065:17
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
ThumbnailsSlider<._allocate@/home/valor/.local/share/gnome-shell/extensions/workspaces-to-dock@passingthru67.gmail.com/dockedWorkspaces.js:186:9
wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
_init/<@resource:///org/gnome/shell/ui/layout.js:209:17

Hope it helps ^^

@ghost
Copy link

ghost commented Apr 24, 2018

At this moment Workspaces to dock is the only extension I work with that is still causing pain. Dash to dock is working fine now and I have tried suggestions made for alternative extensions for WtD and found them to all work properly. However, since they all do not do wat I want I have removed them all and will wait for a fix.
I find myself doing almost everything on one workspace now. Brings back memories of working with Windows. Those are not the happiest memories...

@ddnexus
Copy link
Author

ddnexus commented Apr 24, 2018

@silviobierman: my personal alternative way to cope with the missing WtD is using a few extensions patiently configured to work together seamlessly.

After adapting to some changes I have to admit that I am not missing WtD too much. I prefer the new way now.

I like to have a minimal invasive UI, but you could configure the extensions in a quite different way. Here is the screenshot of my setup:
alternative

The extensions I use:

  • TaskBar: very versatile, you can have a lot of the functionalities of WtD maybe with a different look. I use the top panel (not the bottom panel), hiding the activities menu and the Dock from overview. Opened tasks on the left, workspaces indicator in the middle and Favorites on the right. It provides the Thumbnails too. I use the other extensions below for the rest.
  • Frippery Move Clock
  • Bottom Panel (you may avoid this one if you use the bottom panel option in TaskBar)
  • Always Zoom Workspaces (so the rare times I need the Overview it will be available immediately)
  • Hide Top Bar (nice addition to have a bit more space in fullscreen mode)
  • The setup works well also with No Title Bar

HTH

@ghost
Copy link

ghost commented Apr 24, 2018

@ddnexus: thank you for this. I may find the time to experiment some more. I use the visual workspace switcher all the time and since I am not a fan of keyboard shortcuts I want an easy mouse gesture. I find screen corners too hard to reach so I want an active edge instead.
I used to work with Unity and although buggy Compiz plugins where perfect for this. After the move to Gnome shell (which I find a usability nightmare without extensions) Dash+Workspaces-to-dock made me feel quite comfortable again.
If this WtD issue is resolved quickly enough I will look no further. But if not then I will have to experiment.

Would be nice if passingthru67 (the developer of WtD) would weigh in on this issue.

@ddnexus
Copy link
Author

ddnexus commented Apr 24, 2018 via email

@minimec
Copy link

minimec commented Apr 24, 2018

Given the errors I get from 'journalctl -f' ( https://gist.github.com/minimec/fd0d9feb1596493c827023510965b7d0 ), I guess we can nail down the problem to the following patch set:

http://launchpadlibrarian.net/366171231/gnome-shell_3.28.1-0ubuntu1_source.changes

  • workspaceThumbnail-only-update-_porthole-if-the-overview-.patch:
    workspaceThumbnail-rebuild-thumbnails-if-workareas-size-c.patch:
    workspaceThumbnail-initialize-porthole-based-on-workArea.patch:

These patches are marked "Cherry-picks from upstream", which is probably the reason why ubuntu users are (for now) the only ones facing the problem.

I for my part decided to go the hard way: I apt-pinned the old package versions, as I hope that a fix may come within days or maybe a week or so.

If you never apt-pinned something, you can just create a file like 'sudo nano /etc/apt/preferences.d/gnome-shell' and copy/paste the following content in it:

Package: gnome-shell
Pin: version 3.28.0-0ubuntu5
Pin-Priority: 1000

Package: gnome-shell-common
Pin: version 3.28.0-0ubuntu5
Pin-Priority: 1000

You then have to fetch the old package versions and use 'dpkg -i' to downgrade gnome-shell.

https://launchpad.net/ubuntu/+source/gnome-shell/3.28.0-0ubuntu5/+build/14546410/+files/gnome-shell_3.28.0-0ubuntu5_amd64.deb
https://launchpad.net/ubuntu/+source/gnome-shell/3.28.0-0ubuntu5/+build/14546410/+files/gnome-shell-common_3.28.0-0ubuntu5_all.deb

Cheers

@passingthru67
Copy link
Owner

I've been looking into the issue today. As @minimec stated, it looks like Ubuntu has opted to cherry pick some of the recent changes (bug fixes?) from the Gnome Shell master branch. Unfortunately the Ubuntu Gnome Shell version still shows as 3.28.1.

I'll look into a fix and provide a separate branch for Ubuntu 18.04 users (at least until Gnome Shell 3.28.2 comes out).

@passingthru67
Copy link
Owner

Just uploaded ubuntu-18.04 branch (https://github.com/passingthru67/workspaces-to-dock/tree/ubuntu-18.04). Please install WtD manually by downloading this branch and extracting the download into a temporary folder. Inside of the extracted folder you will find the workspaces-to-dock@passingthru67.gmail folder. Simply copy it to your ~/.local/share/gnome-shell/extensions folder. Next, restart Gnome Shell (alt+f2+r).

Let me know how it turns out. If everything works, I'll merge the changes into the master branch.

@taimir
Copy link

taimir commented Apr 24, 2018

Works for me :) Thanks!

@ghost
Copy link

ghost commented Apr 24, 2018

Just installed the ubuntu-18.04 branch. Works like a charm. Thank you very much!

@minimec
Copy link

minimec commented Apr 24, 2018

Big THX!

@passingthru67
Copy link
Owner

Glad it works and apologies for the delay. Day job responsibilities and home projects during the evenings/weekends have limited my coding time. Let me know if anyone is interested in helping with this extension. There's a lot of features that could be added but I just don't have time right now.

@zoppagency
Copy link

Amazing! now is working

@ghost
Copy link

ghost commented Apr 25, 2018

No apologies needed of course! We users of this extension are very grateful that it exists and that you keep it up to date even with a development version of Ubuntu.
Unfortunately I am also very swamped and lack the time to take on anything new. Thanks again for all the good work.

@passingthru67
Copy link
Owner

I merged the ubuntu-18.04 branch into master and uploaded a new release to https://extensions.gnome.org (v45 for Gnome 3.28).

@hirschferkel
Copy link

hirschferkel commented Sep 6, 2018

I'm running a virtualised Linux 18.04 on a VWware and GNOME Shell 3.28.3 is installed, but After login all keyboard input and mouse clicks are still gone. No way to edit anything in th GUI. I have access with ssh and the systems seems to work fine, but how can I get the input beck with 18.04? I'm clueless at the moment...

By the way, I can't get in touch with gnome monitor.

`sadmin@xxx:~$ gnome-system-monitor
Unable to init server: Verbindung ist gescheitert: Verbindungsaufbau abgelehnt

(gnome-system-monitor:11158): Gtk-WARNING **: 22:42:02.269: cannot open display:
sadmin@xxx:~$ gnome-control-center keyboard
Unable to init server: Verbindung ist gescheitert: Verbindungsaufbau abgelehnt
Unable to init server: Verbindung ist gescheitert: Verbindungsaufbau abgelehnt

(gnome-control-center:11159): Gtk-WARNING **: 22:42:30.557: cannot open display: `

Actually I'm a Linux newbie so I would appreciate any help!
Best

@hirschferkel
Copy link

O.K. it's still a bug in Gnome 3.28.2... updated to 3.28.3 and now it works.

@Halfwalker
Copy link

18.04.3 with gnome-shell 3.28.4-0ubuntu18.04.1 randomly locks up after entering password on screen-unlock screen. Rest of the system is fine, just gnome has gone to la-la-land.

sudo journalctl /usr/bin/gnome-shell -f -o cat

returns tons of these :

JS ERROR: Exception in callback for signal: hot-corners-changed: (null)

This is on a Lenovo X1 Carbon laptop. There are a bunch of extensions enabled that I'm going to disable now. System-monitor had appeared to be the culprit - was locking up almost every time with that one enabled, went for a whole day no lockups with it disabled. Not using any of the dock-to-panel type extensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants