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

Not working with more than one display #30

Open
PaulMorris opened this issue Nov 28, 2020 · 3 comments
Open

Not working with more than one display #30

PaulMorris opened this issue Nov 28, 2020 · 3 comments

Comments

@PaulMorris
Copy link

Thanks for this helpful extension. It works well if there's only one display active, but if I'm using both an external display and my laptop display, it no longer works. Hitting space to show/hide the letters works, but typing a letter doesn't do anything, and hitting shift (to close) doesn't do anything. Just wanted to report the bug, in case you weren't aware of it.

@nathanielsimard
Copy link
Owner

Hi, I cannot reproduce the bug on Gnome-3.38 with the new fixes on #31. What is your setup exactly?

@cavenditti
Copy link

cavenditti commented Jan 19, 2021

Same problem here. It only happens when Gnome is set to switch workspaces only on the main display.
Looking at logs I get:

DEBUG - [Overview Navigation - CustomWorkspaceView] On key press ...
DEBUG - [Overview Navigation - CustomWorkspaceView] On key release ...

but it never gets to WindowSelector.

Maybe the problem comes somehow from the need to call isOnFirstMonitor in customWorkspaceView.js?
I just gave a quick look to the code and I don't know how this works so I might be completely wrong about it.

EDIT: Ok, this is weird, it is working now and cannot reproduce it anymore. Just suspended the computer and now it's working.

@razcore-rad
Copy link

I was looking at this, I can confirm that by switching from Workspaces on primary display only to Workspaces span displays in Tweaks the extension works.

The extension doesn't work with Workspaces on primary display only set to true.

As far as I can tell that's because isOnFirstMonitor(), like it was mentioned.

I'm on Ubuntu 20.10, Gnome Version 3.38.3, X11.

I don't know where to check the extension version so here's metadata.json instead:

{
  "_generated": "Generated by SweetTooth, do not edit",
  "description": "This extension aims to make Gnome Shell easier to navigate using only the keyboard. It is inspired by the vim plugins of Firefox and Chrome.",
  "name": "Overview Navigation",
  "settings-schema": "org.gnome.shell.extensions.overview-navigation",
  "shell-version": [
    "3.38"
  ],
  "url": "https://github.com/nathanielsimard/overview-navigation",
  "uuid": "overview-navigation@nathanielsimard.github.com",
  "version": 14
}

I added a log to check for isOnFirstMonitor() and I know it returns false when Workspaces on primary display only is enabled:

May 27 09:34:16 alienware gnome-shell[4099]: DEBUG - [Overview Navigation - CustomWorkspaceView] RAZ: false

isOnFirstMonitor() returns true otherwise.

Now this doesn't affect me really cause I don't use workspaces, but hope this helps.

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

4 participants