Annotator (flatpak) doesn't work after upgrading to 2.0
When trying to launch it from the terminal, I got:
I'm using Debian Testing, GNOME 47 with Wayland.
If you need more information or details, just tell me.
Thanks in advance, I really appreciate this project, I use it in a daily basis!
I'm facing it too. Downgrade to 1.2.1 seems work on Wayland.
I can't really say that I fully understand how Wayland stuff works, but Annotator 2.0 is written in Gtk4 which is Wayland compatible, so I don't think the issue is with Annotator itself.
You could try to install Flatseal, find Annotator and change it to use the X11 socket and disable Wayland and fallback-x11. This seems to work on Kubuntu 24.10.
This issue also doesn't seem limited to Annotator. There are other flatpak apps that having the same problem in Ubuntu-based distros (see https://github.com/flatpak/flatpak/issues/5996 as an example of this).
I can't really say that I fully understand how Wayland stuff works, but Annotator 2.0 is written in Gtk4 which is Wayland compatible, so I don't think the issue is with Annotator itself.
You could try to install Flatseal, find Annotator and change it to use the X11 socket and disable Wayland and fallback-x11. This seems to work on Kubuntu 24.10.
That workaround works, thanks!
This issue also doesn't seem limited to Annotator. There are other flatpak apps that having the same problem in Ubuntu-based distros (see flatpak/flatpak#5996 as an example of this).
Debian-based 😜.
The same problem can be reproduced on NixOS unstable (not flatpak), and the previous version is also normal. The compositor is Hyprland. Other granite7 applications don't have this issue.
Also reported in https://github.com/phase1geo/Annotator/issues/110#issuecomment-2475765541
😮💨
did proposed setting by flatseal:
flatpak run com.github.phase1geo.annotator
Failed to register: Timeout was reached
this is on Fedora release 41
Any traction here ?
No change in terms of the Annotator code base.
Just today I ran into this. Using Flatseal, disable Wayland, Fallback-X11, and enable X11 and GPU acceleration (device=dri). Then it works.
Same problem here in Fedora Silverblue 42.
Jun 27 13:50:54 fedora systemd[2581]: Started app-flatpak-com.github.phase1geo.annotator-1246317346.scope.
Jun 27 13:50:54 fedora systemd[2581]: app-flatpak-com.github.phase1geo.annotator-922685195.scope: Consumed 1.629s CPU time, 81.6M memory peak.
Jun 27 13:50:54 fedora com.github.phas[159443]: Failed to open display
Changing to X11 (disabling Wayland as indicated makes it run apparently ok). I used Flatseal app to change flatpak settings for it.
Problem can also be replicated on OpenSuse Tumbleweed (installed directly via Flatpak repo). Workaround disabling the Wayland windowing system works.