Skip to content

[Bug]: app_id not set when running Electron with native Wayland #33578

@chrhasse

Description

@chrhasse

Preflight Checklist

Electron Version

18.0.1

What operating system are you using?

Other Linux

Operating System Version

Arch Linux

What arch are you using?

x64

Last Known Working Electron version

18.0.0

Expected Behavior

The app_id window property should be set to the same value as class under X11.

Actual Behavior

app_id is an empty string when running Electron under Wayland.

Testcase Gist URL

No response

Additional Information

While most apps would crash prior to #33355, the default page if you run electron --ozone-platform=wayland would still run and properly set app_id.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions