(gtk4) When using pen input to drag a tab, the tab is dropped unexpectedly
Steps to reproduce
- Open a gtk4 app with tabs (for example the text editor in gnome 44)
- Create 2 or more tabs (here I create 2 new text files with unsaved modifications)
- Drag (vertically) one of the tab using pen input
Current behavior
The tab is dropped from the application with no save warning : the file is lost. Most of the times, the application will crash or respond in unexpected ways. This behavior is shared between all gtk4 applications with tabs. On gnome builder the same operation will close the tab and text input will not work anymore on any of the remaining tabs open.
Expected outcome
The tab should not disappear when using pen input.
I expected the same behaviour as the one seen when the same action is done with a mouse.
Version information
The bug is present on
- Fedora 38 on all gtk4 apps with tabs (using Surface pro 5 with surface kernel) (tested on nautilus, gnome builder, gnome text editor)