Annotator icon indicating copy to clipboard operation
Annotator copied to clipboard

Annotator (flatpak) doesn't work after upgrading to 2.0

Open edubxb opened this issue 1 year ago • 15 comments

When trying to launch it from the terminal, I got: image

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!

edubxb avatar Nov 13 '24 20:11 edubxb

I'm facing it too. Downgrade to 1.2.1 seems work on Wayland.

lidgnulinux avatar Nov 14 '24 11:11 lidgnulinux

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.

phase1geo avatar Nov 15 '24 05:11 phase1geo

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).

phase1geo avatar Nov 15 '24 05:11 phase1geo

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!

image

edubxb avatar Nov 15 '24 09:11 edubxb

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 😜.

edubxb avatar Nov 15 '24 09:11 edubxb

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.

Aleksanaa avatar Nov 16 '24 10:11 Aleksanaa

Also reported in https://github.com/phase1geo/Annotator/issues/110#issuecomment-2475765541

Aleksanaa avatar Nov 16 '24 10:11 Aleksanaa

Also reported in #110 (comment)

It's not related ! #110 is about build failure due to GTK.

lidgnulinux avatar Nov 17 '24 07:11 lidgnulinux

😮‍💨

Aleksanaa avatar Nov 17 '24 07:11 Aleksanaa

did proposed setting by flatseal:

flatpak run com.github.phase1geo.annotator

Failed to register: Timeout was reached

this is on Fedora release 41

kiilo avatar Dec 23 '24 17:12 kiilo

Any traction here ?

luzpaz avatar Feb 14 '25 16:02 luzpaz

No change in terms of the Annotator code base.

phase1geo avatar Feb 14 '25 16:02 phase1geo

Just today I ran into this. Using Flatseal, disable Wayland, Fallback-X11, and enable X11 and GPU acceleration (device=dri). Then it works.

umasse avatar Mar 25 '25 11:03 umasse

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.

Image

gilsoncav avatar Jun 27 '25 16:06 gilsoncav

Problem can also be replicated on OpenSuse Tumbleweed (installed directly via Flatpak repo). Workaround disabling the Wayland windowing system works.

natanox avatar Oct 09 '25 13:10 natanox