testing/code-oss: Strange behavior of native styled titlebar
Package Information
- Package name: testing/code-oss
- Package version: 1.88.0-r0
- Alpine version: 3.20.0_alpha20240329
- Alpine architecture: x86_64
Summary
Maximized and tiled windows draw back of the framebuffer on GNOME Wayland
Windowed state shows up as intended:
Tiled and maximized:
Steps to reproduce
- Set "window.titleBarStyle" to "native" in settings.json
- Apply certain(?) GTK theme
- Tile or maximize a window
I should note that I wasn't able to reproduce it on certain GTK themes:
- Colloid - draws border on maximized window (even though it shouldn't). But doesn't show back of the framebuffer. However tiled window still shows back of the framebuffer
- Adwaita works as intended
- Nordic (as seen in the screenshots) has issues with both tiled and maximized window.
I also didn't encounter such issue on other Linux distros. All GTK themes work as intended. Here's "About" info on a working distro:
Version: 1.88.0
Commit: 5c3e652f63e798a5ac2f31ffd0d863669328dc4c
Date: 2024-04-05T09:25:05.142Z
Electron: 28.3.0
ElectronBuildId: undefined
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Linux x64 6.9.0-rc1
P.S. After filling out this issue I figured out that the issue is caused by electron 29. Is there any chance Alpine could package older electron builds?