Skip to content

Opaque frameless windows jitter during native interactive resize with default ANGLE/OpenGL on Linux/X11 #52866

Open

Description

@otanim

Preflight Checklist

Electron Version

43.4.1

What operating system(s) are you using?

Ubuntu

Operating System Version

Ubuntu 22.04.5 LTS, GNOME Shell 42.9, X11, Linux 6.16.7, Mesa 23.2.1

What arch are you using?

x64

Last Known Working Electron version

Not yet established for Electron's default ANGLE/OpenGL backend. The same Electron 43.4.1 build resizes smoothly when explicitly configured to use ANGLE/Vulkan.

Does the issue also appear in Chromium / Google Chrome?

Not directly testable using the equivalent Electron BrowserWindow configuration.

Expected Behavior

An opaque frameless X11 window should resize with stable visual presentation when using Electron's default graphics configuration. Its content and apparent window edges should follow the native interactive resize without jumping or lagging.

Actual Behavior

Quickly resizing an opaque BrowserWindow with frame: false vertically or diagonally produces visible presentation jitter when Electron is launched without a --use-angle override.

A matched comparison using the same Electron 43.4.1 build, the same BrowserWindow options, and the same native edge/corner resize interaction is smooth when Vulkan is selected explicitly:

Graphics configuration Result
--use-angle not set — default ANGLE/OpenGL Visible resize jitter
--use-angle=vulkan with Vulkan,DefaultANGLEVulkan,VulkanFromANGLE enabled Smooth

No JavaScript resizing, IPC bounds updates, setBounds(), or custom resize implementation is involved.

Testcase Gist URL

https://gist.github.com/otanim/12c2cece789b68d04c271b96bfc41b68

Additional Information

Confirmed on Intel Meteor Lake-P / Intel Arc Graphics using the i915 driver.

Correction to the original investigation

The earlier Alpha 3 versus Alpha 4 comparison and source-commit attribution were confounded by a separate Electron regression that prevented transparent frameless windows from being resized natively on Linux.

That separate native-resizing regression affected the Electron versions used during the earlier investigation. It was fixed for Electron 43.x in 43.4.1 by #52947, a backport of #52740. The corresponding 44.x backport is #52891.

Because native resizing was unavailable during part of the earlier comparison, alternative resize paths did not provide an equivalent test of Electron's native interactive resize behavior and produced false-positive conclusions. The previous claim that the jitter itself began in 43.0.0-alpha.4, along with the associated first-bad source-commit attribution and proposed opaque-surface policy, is therefore withdrawn.

After retesting with native resize restored in Electron 43.4.1, the reproducible differentiator is the graphics backend: the default ANGLE/OpenGL path jitters, while the explicitly selected ANGLE/Vulkan path is smooth.

Activity

  1. added
    has-repro-gist
    on Aug 16, 2026
  2. moved this to 👀 Unsorted Items in 44-x-yon Aug 16, 2026
  3. moved this to 👀 Unsorted Items in 43-x-yon Aug 16, 2026
  4. moved this from 👀 Unsorted Items to 👍 Does Not Block Stable in 43-x-yon Aug 19, 2026
  5. moved this from 👀 Unsorted Items to 👍 Does Not Block Stable in 44-x-yon Aug 19, 2026
  6. mlaurencin commented on Aug 19, 2026

    @mlaurencin
    Member

    @otanim Can you provide a video that illustrates this jitter? It will help to ensure that people are able to properly replicate your issue.

  7. changed the title [-]Opaque frameless windows visually jitter during interactive resize on Linux/X11 since 43.0.0-alpha.4[/-] [+]Opaque frameless windows jitter during native interactive resize with default ANGLE/OpenGL on Linux/X11[/+] on Aug 20, 2026
  8. otanim commented on Aug 20, 2026

    @otanim
    Author

    @mlaurencin,

    Thanks - I have now reproduced this with Electron 43.4.1 after the separate Linux transparent-frameless native-resizing regression was fixed in #52947.

    Retesting the same native-resizable opaque frameless window on the same Electron build isolates the graphics backend:

    • Default ANGLE/OpenGL (--use-angle not set): visible resize jitter
    • ANGLE/Vulkan (--use-angle=vulkan): smooth

    I have corrected the issue description and withdrawn the earlier Alpha 4/source-commit attribution because testing before 43.4.1 was confounded by the separate native-resizing regression.

    Default ANGLE/OpenGL

    Screencast.from.20-08-26.11.44.24.webm

    ANGLE/Vulkan

    Screencast.from.20-08-26.11.44.47.webm
  9. mlaurencin commented on Aug 20, 2026

    @mlaurencin
    Member

    @otanim Thank you, and mentioned that Chromium testing was "Not directly testable using the equivalent Electron BrowserWindow configuration." To clarify, did you do any testing to see if the differences you observed were also present in Chrome when running default ANGLE/OpenGL vs Vulkan?

  10. added theissue type on Sep 16, 2026
  11. otanim commented on Oct 25, 2026

    @otanim
    Author

    @mlaurencin Thanks, yes, I've now compared Chrome directly on the same machine (Ubuntu 22.04.5, GNOME Shell 42.9 on X11, Linux 6.16.7, Mesa 23.2.1, Intel Arc Graphics (MTL), i915).

    Setup: Chrome for Testing 150.0.7871.124 (the same Chromium milestone as Electron 43.4.1), in app windows (--app) with --ozone-platform=x11:

    • default backend: --use-angle=gl (Skia GaneshGL)
    • Vulkan: --use-angle=vulkan --enable-features=Vulkan,DefaultANGLEVulkan,VulkanFromANGLE (Skia GaneshVulkan)

    Results:

    • With the light page from the gist, I couldn't see a clear difference between the two backends in Chrome.
    • With a heavy page (about 21k DOM elements, continuous canvas animation, layout recomputed on every resize, and a bar anchored to the right edge), both backends visibly jitter during quick bottom-edge and corner resizes.
    • Horizontal resizing shows a related effect with both backends: dragging the right edge inward clips the right-anchored bar for the duration of the drag, and dragging outward leaves an empty gap next to it until the next frame arrives.

    I see the same horizontal behaviour in every build I tried on this desktop: Chrome 156; Chrome for Testing 150, 120 and 113; Chromium snapshots back to 60; Electron 41.0.2, 42.9.2, 43.4.1, 43.7.3 and 44.9.3 with the gist's window; and Firefox 158. Under load, this looks like a general limitation of interactive resizing on X11 rather than something specific to Electron or to the ANGLE backend. The OpenGL/Vulkan difference in my original report was with the gist's light page in Electron.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    43-x-y44-x-ybug 🪲has-repro-gistplatform/linux

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions