spyglass-search / spyglass

A personal search engine: Create a searchable library from your personal documents, interests, and more!
https://docs.spyglass.fyi
GNU Affero General Public License v3.0
2.5k stars 56 forks source link

Search window is broken on Linux + Wayland #502

Open m00nwtchr opened 8 months ago

m00nwtchr commented 8 months ago

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

mainrs commented 3 months ago

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

m00nwtchr commented 3 months ago

@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 commented 4 weeks ago

@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: