c-smile / sciter-sdk

Sciter is an embeddable HTML/CSS/scripting engine
http://sciter.com
Other
2.12k stars 223 forks source link

BUG: Linux Wayland GTK - window-frame="extended" #127

Open SonnyX opened 5 years ago

SonnyX commented 5 years ago

As it stands window-frame="extended" has the issue on Wayland where the window cannot be resized. The window can also not be moved by setting role="window-caption" on a element.

A few versions ago Sciter still had a gtk window around the "extended" window, similar to running the program on wayland without window-frame="extended", which allowed the application to be moved and resized. Keys such as windows + arrow work fine, so do the role="window-maximize/minimize/close" roles

SonnyX commented 5 years ago

4.0.3.16 (1de905e) fixes the role="window-caption" The borders remain unresizeable.

c-smile commented 5 years ago

What about <html window-frame="extended" window-resizable>... ?

SonnyX commented 5 years ago

My apologies for not including it, this is what I've been using so far along: <html window-icon="images/rx.ico" window-frame="extended" window-resizable> It works fine on windows, as far as I remember it also works on Xorg (X11), Wayland however does not show border-cursors, nor does it allow for resizing near where the borders are supposed to be..

c-smile commented 5 years ago

What distro do you use to test it on Wayland? And how stable it is?

AFAIK Ubuntu reverted Wayland as default option due to its instability.

SonnyX commented 5 years ago

Arch Linux 5.3.0-arch1-1-ARCH, thus I have the latest version of anything, it can thus be described as nightly/bleeding-edge. My system however in my opinion is extremely stable, I rarely encounter any bugs and I've seen a steady increase of Wayland getting more features, in any case all applications that use the GTK backend work so far.