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

Task lists causes all application menus to lag when there are lots of windows open #166

Open
phelps-sg opened this issue Oct 14, 2017 · 8 comments
Labels

Comments

@phelps-sg
Copy link

When the task list option is enabled, if there are lots of windows open then menus throughout gnome shell start to become unresponsive. To reproduce:

  • Log in to a new gnome shell session.
  • Install TaskBar shell extension.
  • Ensure 'Tasks' option is enabled in configuration 'Overview'
  • Open a terminal window - mouse over app menus inside window - 'File', 'Edit', 'View' etc.. Response time is reasonable.
  • Launch lots of other tasks (e.g. firefox) to create lots of entries in the task bar.
  • Focus back on terminal application and mouse over app menus inside window - 'File', 'Edit' etc.. - Response time is very laggy.
  • Disable 'Tasks' option in configuration 'Overview'
  • Focus back on terminal application- menus are responsive again.

Disabling the TaskBar extension also resolves laggy menus.

@phelps-sg
Copy link
Author

phelps-sg commented Oct 18, 2017

Update

This also seems to be an issue with another extension: All windows. Could this be a bug in the Gnome extensions API? I am using Fedora 26 with Kernel 4.13.5-200.fc26.x86_64.

@phelps-sg
Copy link
Author

Update

See this bugzilla report.

@stevenbell
Copy link

I've observed this bug as well. I'm on Ubuntu 17.10, Gnome 3.26.1.
I'm pretty sure this happens with both Wayland and X. This also seems to happen with right-click menus and Firefox tabs, not just app menus.

I'm happy to help debug, but I've never written GNOME extension code before and don't really know where to start. If someone can point me in the right direction, I'd be grateful.

@lsatenstein
Copy link

lsatenstein commented Dec 1, 2017 via email

@phelps-sg
Copy link
Author

@lsatenstein
Copy link

lsatenstein commented Dec 30, 2017

I am using Fedora 27, which has a most recent Gnome 3.26.1 (so I am told). Gnome Shell was the interface that constantly went into a loop with this extension, and with some other extensions.
However, when importing the tasbkar.dconf, See above, my listing of same, I experienced zero lockups or crashes. And thereafter, TaskBar works as one expects.

The issue is not TaskBar, it is with the Gnome Shell. Each later release of the Gnome Shell after 3.26.2 appears to be correcting bugs, simply because TaskBar is exercising Gnome shell functionality that was previously lacking adequate Quality Assurance Testing.

To import same, in your home directory, copy the above to taskbar.dconf
Start TaskBar and on the "About" tab, exercise the import option.

If you want proof that it is gnome-shell, enter terminal mode and issue the top command.
The first entry will likely be gnome-shell.
kill it, and performance should return to normal, as expected.

@zpydr zpydr added the bug label Jan 21, 2018
@zpydr
Copy link
Owner

zpydr commented Jan 21, 2018

Fixed in next release.

@stevenbell
Copy link

I've given v57 a try, and it seems to still have the lag problem. I completely removed the dconf entries for Taskbar, so I don't think it was an old configuration causing the problem.

One possibly-relevant bit of information is that the lag remains after I disable Taskbar until I restart gnome-shell.

How can I help debug this?

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

4 participants