spyglass-search/spyglass

Search window is broken on Linux + Wayland

Opened this issue · 3 comments

WM: Sway (/w nvidia drivers)
Release: https://github.com/spyglass-search/spyglass/releases/tag/v2023.5.1

The window appears on screen but is non interactive, and/or flickers (other application windows flicker too, but they are still functional).
This seems to be caused by spyglass not using wayland natively, i don't have any experience with tauri so not sure if its not supported by them (even though they're using GTK which has wayland support), or something else

EDIT: Looks like switching the window to floating mode makes it function, but still has glitched visuals

The global shortcut does not work on my system at all. I'm using Gnome. Did you register a custom sway command?

@mainrs IIRC I just used the bar icon to bring it up. It's not possible to create a global shortcut for an application which doesn't currently have an open window in wayland, afaik.

@mainrs IIRC I just used the bar icon to bring it up. It's not possible to create a global shortcut for an application which doesn't currently have an open window in wayland, afaik.

The experience on GNOME is really bad. I can imagine more traditional DE have the same issues:

  • The search window stays opened once I pull it up with the bar icon. It never closes, even when I query.
  • The search window sometimes doesn't open when I click on the bar icon.
  • Enter does not close the window, nor does Super+Q.