flxzt / rnote

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

[Gtk4] Ability to use snap layout on Windows #846

Open Mitia99 opened 11 months ago

Mitia99 commented 11 months ago

Is your feature request related to a problem? Please describe.
Windows 11 Snap window not supported due to gtk4 limitation #796

Describe the solution you'd like
We don't know when gtk4 will support the feature so as a temporary fix, an option to use windows default title bar like this image Link of the repo(Typescript)

Snap window is a very convenient feature in Windows 11 so thank you for considering this,

Doublonmousse commented 11 months ago

It seems like there was some recent activity in the gtk4 gitlab repo concerning this very issue : https://gitlab.gnome.org/GNOME/gtk/-/issues/5327, so we might see it coming at some point.

Using GTK_CSD=0 may be able to force the windows default title bar to be used but I could not figure out how to make it work (and if it would even work correctly) last time I tried when I was having this issue https://gitlab.gnome.org/GNOME/gtk/-/issues/5877

Mitia99 commented 11 months ago

so we might see it coming at some point.

I hope so. It's frustrating to not being able to drag and drop with touch to snap rnote window

flxzt commented 11 months ago

Yeah, this would need to be solved in the UI toolkit level.