streetwriters / notesnook

A fully open source & end-to-end encrypted note taking alternative to Evernote.
https://notesnook.com/
GNU General Public License v3.0
9.91k stars 611 forks source link

Notesnook as flatpak on wayland does not accept wacom input #3719

Open lriesebos opened 11 months ago

lriesebos commented 11 months ago

What happened?

using notesnook as a flatpak on wayland on Fedora 38. I also use a wacom tablet. with the wacom tablet, none of the mouse input is registered in notesnook. when switching back to xorg, all works fine.

Steps to reproduce the problem

Version

v2.6.8

Platform/OS

Linux

Relevant log output

No response

thecodrr commented 11 months ago

Can you use the Wacom tablet with other programs running in Wayland? It could be a Flatpak permission issue.

lriesebos commented 11 months ago

Forgot to mention that explicitly, but yes, the wacom tablet works fine with other flatpak apps I use, including slack and bitwarden. I have compared some permissions, but I do not see an obvious permission that is missing. for example, slack works fine. switching devices to all does not seem to make a difference for notesnook.

leon@rinjani:~$ flatpak info --show-permissions com.slack.Slack 
[Context]
shared=network;ipc;
sockets=x11;wayland;pulseaudio;
devices=all;
filesystems=xdg-run/pipewire-0;xdg-download;home;

[Session Bus Policy]
org.kde.StatusNotifierWatcher=talk
org.freedesktop.Notifications=talk
com.canonical.AppMenu.Registrar=talk
org.freedesktop.secrets=talk

[System Bus Policy]
org.freedesktop.login1=talk
leon@rinjani:~$ flatpak info --show-permissions com.notesnook.Notesnook 
[Context]
shared=network;ipc;
sockets=x11;wayland;pulseaudio;
devices=dri;
filesystems=xdg-documents/Notesnook:create;

[Session Bus Policy]
org.kde.StatusNotifierWatcher=talk
org.freedesktop.Notifications=talk
thecodrr commented 11 months ago

I don't see anything special in their manifest as well except maybe using Pipewire. Does that have an effect?

Also can you try running the Notesnook AppImage to see if the tablet works there?

lriesebos commented 11 months ago

no, adding pipewire does not seem to make a change.

the appimage actually works fine and responds both to mouse and wacom tablet input.

please let me know if there are other ways I can provide more information.