scrivanolabs / ScrivanoForLinux

Scrivano is a notetaking application for handwritten notes.
93 stars 2 forks source link

Only works in full screen mode (0.17 versions) #15

Closed DavidPGcch closed 12 months ago

DavidPGcch commented 1 year ago

On full screen :smiley: image Full screen off :cry: , I don't know what to do image

scrivanolabs commented 1 year ago

Hi, please specify the operating system and the hardware you're using and the specific version of Scrivano. Also are you on X11 or Wayland?

DavidPGcch commented 1 year ago

Hi, please specify the operating system and the hardware you're using and the specific version of Scrivano. Also are you on X11 or Wayland?

Scrivano 0.17.6 & 0.17.7 Debian GNU/Linux 12 (bookworm), Wayland Gigabyte Technology Co., Ltd. A320M-S2H AMD Ryzen™ 5 PRO 4650G with Radeon™ Graphics × 12

scrivanolabs commented 12 months ago

What happens if you add the following line to Scrivano.sh script (after line 22)?

export QT_QPA_PLATFORM="xcb"

DavidPGcch commented 12 months ago

The program does not open, I think that for the moment I will continue with versions 0.16 I don’t know if it has anything to do with it, but I’m using GNOME 43.6 although in version 0.16 this does not happen

I take this opportunity to say I would like you to add the 'hand' tool to your program.

scrivanolabs commented 12 months ago

Ok, I was able to reproduce this and it seems like a Wayland only issue as I suspected. For now, the fix I suggested should still work (export QT_QPA_PLATFORM="xcb"), just make sure you have the libxcb-cursor0 package installed (e.g. via apt install libxcb-cursor). This way you should be able to use version 0.17 running on XWayland. I will investigate further on why running on native Wayland causes the canvas to appear blank.

DavidPGcch commented 12 months ago

Yes, it already works :+1: only that package was missing sudo apt install libxcb-cursor-dev