flxzt / rnote

Sketch and take handwritten notes.
https://rnote.flxzt.net
GNU General Public License v3.0
8.37k stars 293 forks source link

Rnote Crashes when typing with on-screen keyboard #1244

Open Jenyyk opened 1 month ago

Jenyyk commented 1 month ago

Describe the bug
I have a 2-in-1 laptop that, when switched into tablet mode, automatically pops up with an on-screen keyboard. When i try to create a directory with it, Rnote crashes.

To Reproduce
Steps to reproduce the behavior:

  1. Open Workspace tab
  2. Click on 'Workspace directory actions'
  3. Click 'create new Folder'
  4. on-screen keyboard pops up
  5. Press any key
  6. Rnote crashes

Expected behavior
Ideally, I should be able to type in the Folder name normally, without crashes

Console Output (rnote:2): Gdk-DEBUG: 14:42:29.775: xdg_wm_base@35: error 2: destroyed popup not top most popup Gdk-Message: 14:42:29.775: Error 71 (Protocol error) dispatching to Wayland display.

Desktop (please complete the following information):

BrunoWallner commented 1 month ago

Same thing happens on my system:

I was also able to reproduce it on the rnote system package

Doublonmousse commented 1 month ago

Did this start happening after an update ?

Jenyyk commented 1 month ago

Did this start happening after an update ?

I am a new user, so i cannot say, as it has been happening for as long as i have been using rnote (about two weeks).

BrunoWallner commented 1 month ago

I tried to compile version 0.10.2 from the releases tarball, but it just did not finish, even after compiling one dependency for like half an hour. I'll look into it when I am home.

Doublonmousse commented 1 month ago

@BrunoWallner Is it the ink-stroke-modeler-rs crate ? We switched to a rust implementation in 0.11 because the bindings wouldn't always work (intermittent build issues on windows and linux, up till the moment it would get stuck indefinitely on fedora 40). There's also other issues using older versions #1061)

My gut feeling is there's chances this has more to do with gtk4 or mutter than rnote (and the build process will use the gtk4 version that's installed on the system on linux anyway).

If you can install gtk4-demo and run it, check if you can reproduce the bug in this (or adwaita-1-demo).