Skip to content

Create a window before creating a frameless window on Wayland brings a strange border around shadows #51456

Closed

Description

@YUCLing

Preflight Checklist

Electron Version

41.0.0, 41.5.0, 42.3.0, 43.1.0

What operating system(s) are you using?

Other Linux

Operating System Version

Linux rainlaptop 6.19.14-200.fc43.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 23 17:34:07 UTC 2026 x86_64 GNU/Linux

What arch are you using?

x64

Last Known Working Electron version

40.9.3

Does the issue also appear in Chromium / Google Chrome?

I don't know how to test

Expected Behavior

The window has no strange border around shadows

Image

Actual Behavior

Image

Testcase Gist URL

https://gist.github.com/YUCLing/18591b995c950210b419235bebf908ee

Additional Information

The distance of the border to the window is smaller since v41.0.4

Activity

  1. added theissue type on May 2, 2026
  2. added
    has-repro-gist
    on May 2, 2026
  3. moved this to 👀 Unsorted Items in 41-x-yon May 2, 2026
  4. mitchchn commented on May 2, 2026

    @mitchchn
    Member

    How strange that it only happens after creating a first window. Thank you for the gist!

  5. added
    bug/regression ↩️
    on May 3, 2026
  6. moved this from 👀 Unsorted Items to 👍 Does Not Block Stable in 41-x-yon May 6, 2026
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

    41-x-ybug 🪲bug/regression ↩️component/BrowserWindowhas-repro-gistplatform/linuxwayland

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions