Repository navigation
Conversation
|
💖 Thanks for opening this pull request! 💖 Semantic PR titlesWe use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix. Examples of commit messages with semantic prefixes:
Commit signingThis repo enforces commit signatures for all incoming PRs. PR tipsThings that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
|
Additional triage context after a broader search of open and closed Electron issues:
I did not find an earlier report matching the Electron 43+, Linux/X11, opaque-frameless interactive-resize jitter tracked by #52866. The PR description now records these relationships, the originating #51161 refactor, and the required #52740 dependency explicitly. |
|
AI PR Detected Hello @otanim. Due to the high amount of AI spam PRs we receive, if a PR is detected to be majority AI-generated without disclosure and untested, we will automatically close the PR. We welcome the use of AI tools, as long as the PR meets our quality standards and has clearly been built and tested. If you believe your PR was closed in error, we welcome you to resubmit. However, please read our CONTRIBUTING.md and AI Tool Policy carefully before reopening. Thanks for your contribution. |
|
I'd appreciated instead of closing the PR and marking it as "spam", elaborate the issue, so i wouldn't have to recreate a new PR. Using a label-based automation itself is a sort of spam-rejection of PRs, @codebytere . I could simply use 42.* which essentially fixes the issue but I decided to help you fix issues that was caused due to careless commit that was merged to begin with which i believe is also causing general performance issues (i.e. CPU overheating). |
Description of Change
Opaque frameless X11 windows became translucent native widgets when
OpaqueFrameViewwas replaced byElectronFrameViewLinux. On GNOME/X11, these ARGB GPU-composited windows can visibly lag behind their native bounds during fast interactive resizing.This change keeps opaque frameless X11 windows on the system visual, matching Electron's pre-43 behavior. It disables client-frame shadow insets for that path and relies on the internal resize band introduced by #52740. Genuine
transparent: truewindows and Wayland CSD windows remain translucent.Relationships and dependencies
b36120f48onmain;accc847ebon43-x-y), which replacedOpaqueFrameViewwithElectronFrameViewLinuxand made every Linux frameless widget translucent.This is therefore stacked on #52740. It should be rebased onto
mainafter that dependency lands.Standalone reproduction: https://gist.github.com/otanim/12c2cece789b68d04c271b96bfc41b68
Validation performed on Ubuntu 22.04.5, GNOME Shell 42.9, X11, Intel Meteor Lake-P / Intel Arc Graphics, Mesa 23.2.1:
mainplus fix: transparent windows can be resized on Linux #52740 still jitters before this change.transparent: trueremains depth-32 ARGB.git diff --check.The compositor presentation behavior is not practical to assert in Electron's existing automated/headless tests. A standalone reproduction and the complete version/isolation matrix are attached to the linked issue.
Checklist
npm testpassesThe unchecked build/test items remain intentional and accurate. The exact source policy was validated in a binary-level preview, but a full Electron source build and suite have not yet been run.
Release Notes
Notes: Fixed visual jitter while interactively resizing opaque frameless windows on Linux/X11.