Skip to content

Missing shadow for window in Ubuntu #48570

Closed

Description

@HillaryManning

Preflight Checklist

Electron Version

38.3.0

What operating system(s) are you using?

Ubuntu

Operating System Version

Ubuntu 24.04.3

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Electron version

38.1.2

Does the issue also appear in Chromium / Google Chrome?

I don't know how to test

Expected Behavior

The window maintains a default shadow with property titleBarStyle: "hidden".

Image

Actual Behavior

As of version 38.2.0 , adding property titleBarStyle: "hidden", causes the window shadow to be lost in Ubuntu. I have verified this issue persists in 38.3.0.

Image

Testcase Gist URL

https://gist.github.com/HillaryManning/bc4c0d6ed6f1d93291f9334df883ce70

Additional Information

No response

Activity

  1. added
    has-repro-gist
    on Oct 15, 2025
  2. moved this to 👀 Unsorted Items in 38-x-yon Oct 15, 2025
  3. codebytere commented on Oct 15, 2025

    @codebytere
    Member
  4. jtbandes commented on Oct 15, 2025

    @jtbandes

    since it shows up in 38.2 as well... v38.1.2...v38.2.0

    maybe related to 3179f61?

  5. nikwen commented on Oct 15, 2025

    @nikwen
    Member

    Probably. Do you use Wayland?

  6. jtbandes commented on Oct 15, 2025

    @jtbandes

    Yes. I have ubuntu 22.04 installed in a VM. It allows me to select between wayland and xorg at login.

    Image

    When I choose xorg, I do see a shadow:

    Image

    With wayland I do not:

    Image
  7. Prabhassharma177 commented on Oct 16, 2025

    @Prabhassharma177
  8. codebytere commented on Oct 16, 2025

    @codebytere
    Member

    @Prabhassharma177

    I’ve proposed a patch

    I don't see anything anywhere?

  9. nikwen commented on Oct 16, 2025

    @nikwen
    Member

    @jtbandes Thank you so much for reporting back! Is the issue still present on the most recent v40 nightly?

  10. 2 remaining items

  11. removed
    blocked/need-info ❌
    on Oct 16, 2025
  12. jtbandes commented on Oct 16, 2025

    @jtbandes

    Aha, I found the checkbox to enable nightly builds. The bug is still present in 40.0.0-nightly.20251013.

    Image
  13. jtbandes commented on Oct 16, 2025

    @jtbandes

    Also, opening devtools causes the app to crash with SIGTRAP:

    converted.mov
  14. moved this to 👀 Unsorted Items in 39-x-yon Oct 17, 2025
  15. nikwen commented on Oct 17, 2025

    @nikwen
    Member

    Thank you so much, @jtbandes!

    The crash that you're seeing is probably #48430.

  16. jtbandes commented on Oct 18, 2025

    @jtbandes

    Not sure about that, since in this case the dev tools are not detached? Could be related though.

  17. nikwen commented on Oct 22, 2025

    @nikwen
    Member

    @jtbandes Thanks for the reply! Would you be able to create a separate issue for the devtools crash you're seeing? :)

  18. moved this from 👀 Unsorted Items to 👍 Does Not Block Stable in 38-x-yon Oct 22, 2025
  19. moved this from 👀 Unsorted Items to 👍 Does Not Block Stable in 39-x-yon Oct 22, 2025
  20. jtbandes commented on Oct 22, 2025

    @jtbandes

    OK, I filed #48645.

    May I ask why this issue is being treated as "does not block stable"? It seems like a significant issue that would affect many users and a high priority to resolve?

  21. nikwen commented on Oct 23, 2025

    @nikwen
    Member

    Thanks, @jtbandes!

    I agree that this issue is not nice for Linux users. "Blocks stable" would mean that we wouldn't release Electron v39 because of it (which is scheduled for next week). Beyond that, "blocks stable" says nothing about whether it's high or low priority.

    I know that @mitchchn has spent a lot of time looking into this issue. We also always appreciate any help if you have time to help fix an issue. :)

  22. sedax90 commented on Nov 28, 2025

    @sedax90

    Same as #36768

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

    38-x-y39-x-ybug 🪲has-repro-gistplatform/linuxwayland

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions