rnote icon indicating copy to clipboard operation
rnote copied to clipboard

rnote experiences cursor desync at 200% scaling in wayland

Open potatoes1286 opened this issue 3 years ago • 4 comments

Describe the bug When scaling is set to 200%, the cursor is offset from where the mouse actually is.

To Reproduce Steps to reproduce the behavior:

  1. Enable Wayland
  2. Set screen(s) to 200% scaling
  3. Open rnote and attempt to draw or use other tools
  4. The cursor is visibly offset from where the drawing begins

Expected behavior The cursor will line up to where the drawing begins

** Console Output ** Run with flatpak run com.github.flxzt.rnote and post the output here There is no output.

Screenshots Untitled Shown using the shaper tool. The cursor appears to be on the blue dot highlighted (does not show due to screenshot not capturing cursor) however it begins drawing at the red dot. Selecting "show cursor" in GNOME's screenshot tool shows it appearing on top of the red dot, so it appears that rnote is incorrectly placing the cursor in the wrong position. IMG_20221107_221731 The same situation, taken using my phone instead of the screenshot tool. Here you can clearly see the cursor desync.

Desktop (please complete the following information):

  • OS: Fedora Workstation
  • Version: 37 Beta
  • Installation source: Flatpak
  • Desktop Environment: GNOME 43

Additional context This behaviour does not happen on X11. I have reproduced this on two machines; my desktop and my laptop. Both run the same desktop ecosystem (Fedora 37, Flatpak, GNOME 43)

potatoes1286 avatar Nov 08 '22 03:11 potatoes1286

I encountered the exact same problem on a different setup. But after running two different versions of the program I encountered something: If running v0.5.7 everythings works fine. Problems arise when switching to the more up to date version v0.6.0.

The issue happens both in the Flatpak and normal package version. All cases tested on Hyprland with both wacom and opentabletdriver.

Set screen(s) to 200% scaling

This affects me no matter that. ^

SrEstegosaurio avatar May 30 '23 21:05 SrEstegosaurio

Affected es well on up-to-date Debian stable using the up-to-date stable flatpak version (0.10.2). Happy to investigate, but I'd need some guidance.

robfuscator avatar May 15 '24 08:05 robfuscator

Can confirm that this bug persists on Ubuntu 22.04 on Wayland at 200% scaling when using the mouse, but not when using an external pen or touchscreen.

mags0ft avatar Sep 11 '24 11:09 mags0ft

I was able to circumvent this issue by using fractional scaling and 200%, however this is only viable as a temporary workaround.

mags0ft avatar Sep 11 '24 14:09 mags0ft