rnote
rnote copied to clipboard
Peninput is shifted by ca 1 box to the left and to the top (hyprland)
Describe the bug When I write with a pen on my touchscreen, the input is shifted up and left. The cursor-pointer is where it should be, but not the written point.
-> normal/expected behavior if a mouse is used -> normal/expected behavior on Xournal++
To Reproduce
Steps to reproduce the behavior:
- Start the application
- Write on the canvas with a pen
Expected behavior
I expected the pen output to be where the cursor is - so exactly where the pointer is.
Console Output
I don't have flatpak, so I can not give this output. But this is the output when I start the application in the console:
Moritz@SurfaceArch ~> rnote
(rnote:3367): Gtk-CRITICAL **: 15:19:26.353: gtk_widget_class_set_accessible_role: assertion '!gtk_accessible_role_is_abstract (accessible_role)' failed
(rnote:3367): Gtk-WARNING **: 15:19:26.493: Creating a portal monitor failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Inhibit” on object at path /org/freedesktop/portal/desktop
Screenshots
The green point is the point where the pen/pointer touches, the black point is created by said touch.
Desktop (please complete the following information):
- OS: Linux 6.4.7-arch1-1-surface (Arch Linux with linux-surface kernel)
- App Version: rnote 0.7.1-1
- Installation Source: Archlinux Community Repo
- Desktop Environment: Hyprland 0.28.0.r81.41d9b6f0-1
Additional context
I am using wayland.
This seems to be the same issue as the one described in #685, which is a potential duplicate of #338. Can you reproduce the same problem when running the "Paint" demo in gtk4-demo
(the package is called gtk4-demos
in the Arch repositories)?
Also, what is your scaling factor set to? According to the other issues, either using 100% scaling or running the app in full screen are workarounds.
Hi, thanks for the fast answer and sorry that I have overseen these issues.
I can reproduce the problem in the gtk4-demo. The workaround does not work for me.
Probably you noticed it already, but in #685 both persons are describing the problem under arch+hyprland. #552 and #338 are under fedora+gnome. I just tried rnote in sway, and there it works without problems. So it seems (at least in my case) to be a problem in Hyprland.
Can confirm that the issue is with Hyprland.
Also Hyprland, same issue. Switching to fullscreen fixes it.
I'm on Hyprland, NixOS and I encounter the same issue. Switching to fullscreen does indeed fix it.