Skip to content

regression: linux frameless windows can't be resized #52452

Closed

Description

@mayfield

Preflight Checklist

Electron Version

43.0.0

What operating system(s) are you using?

Other Linux

Operating System Version

Fedora 44 - X11 - i3wm

What arch are you using?

x64

Last Known Working Electron version

42.*

Does the issue also appear in Chromium / Google Chrome?

No

Expected Behavior

On linux with frameless & transparent windows there should be resize handles when hovering over the edges of the window. They worked prior to v43, and still work on macOS and win32.

Actual Behavior

No resize handles are visible when hovering anywhere on the window resulting in an unsizable window.

Testcase Gist URL

No response

Additional Information

Probably a regression #52111

EDIT: regression from b36120f

Activity

  1. added theissue type on Jul 25, 2026
  2. moved this to 👀 Unsorted Items in 43-x-yon Jul 25, 2026
  3. added a commit that references this issue on Jul 25, 2026
  4. mayfield commented on Jul 26, 2026

    @mayfield
    ContributorAuthor
    • No resize requires: frame: false and transparent: true
    • Resize of only left, bottom and right edges seems to affect all configurations (maybe a separate issue required for this)
    region-3.mp4
  5. mitchchn commented on Jul 27, 2026

    @mitchchn
    Member

    Probably a regression #52111

    It is related to the upstream frame view and ElectronFrameViewLinux introduced in v43 but the regression was not introduced by rounded corners.

    Confirmed the repro with transparent windows, will follow up on this unless @aiddya gets to it first @nikwen.

  6. nikwen commented on Jul 27, 2026

    @nikwen
    Member

    Thanks, @mitchchn!

  7. moved this from 👀 Unsorted Items to 🔄 Follow Up Before Stable in 43-x-yon Jul 29, 2026
  8. mayfield commented on Jul 30, 2026

    @mayfield
    ContributorAuthor

    @mitchchn not related to #52111 seems correct. I bisected down to b36120f which I assume is the changeset you are referring to.

  9. mayfield commented on Aug 6, 2026

    @mayfield
    ContributorAuthor

    Just confirmed in manual test that the secondary issue of {frame: false, transparent: false} windows lacking resize from the top edge and having an erroneous white border on the right,bottom,left edges is also a direct regression from b36120f.

    Before (working):

    region-8.mp4

    After (incorrect white border, top is missing resize handle):

    region-9.mp4

    As a side note; I briefly started looking into doing a fix for this, but got immediately scared off by the size, impact and (frankly) an AI co-author. So I'm happy to help test patches from the owners, but don't think I can be of much help otherwise.

  10. mitchchn commented on Aug 6, 2026

    @mitchchn
    Member

    @mayfield re: the white border, are you using x11 or Wayland and what compositor/window manager?

    I am finishing up work on a patch for the resize issue.

  11. mayfield commented on Aug 6, 2026

    @mayfield
    ContributorAuthor

    I'm on X11, i3wm and picom as a compositor.
    I also have Xft.dpi: 140 in my Xresources (xrdb) which results in pixel scaling for chromium.

  12. otanim commented on Aug 16, 2026

    @otanim

    While validating the resize work for this issue, I found a separate Linux/X11 visual regression introduced by the same b36120f48 frame-view refactor.

    Opaque frameless windows can visually jump and lag behind their native bounds during fast interactive resizing because they are now backed by an ARGB/translucent native surface. This is distinct from the missing resize handles, borders, and top-edge behavior tracked here, so I opened #52866 with a standalone reproduction and version/isolation matrix.

    The proposed fix is PR #52867. It is stacked on #52740 because it relies on that PR's internal frameless resize band before restoring the native opaque X11 surface policy. Anyone reproducing this issue on X11—especially with GPU compositing—may also be able to validate the separate jitter report.

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

Metadata

Metadata

Assignees

Type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions