Skip to content

New version 1.69 has missing app_id under wayland #154693

Description

@aslpavel

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.69.0
  • OS Version: Linux wayland backend

Steps to Reproduce:

  • Under any wayland desktop
  • Force wayland backend for vscode
$ cat ~/.config/code-flags.conf 
--enable-features=UseOzonePlatform
--ozone-platform=wayland
  • Any top level window under wayland is identified by app_id which used to be equal to "code" and now it is an empty string.

This bug is probably caused by switching to electron 18, electron/electron#33578
app_id is the only real way to differentiate windows under wayland if you are using a tiling window manager and want to pin some applications to some workspaces.

Activity

  1. vscodenpa commented on Jul 10, 2022

    @vscodenpa

    Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.69.0. Please try upgrading to the latest version and checking whether this issue remains.

    Happy Coding!

  2. alumni commented on Jul 10, 2022

    @alumni

    Also missing under wayland: wmclass - so the app won't have an icon.

  3. added
    linux
    electron
    upstream-issue-linked
    wayland
    and removed on Jul 11, 2022
  4. added this to the July 2022 milestone on Jul 11, 2022
  5. added
    upstream-issue-fixed
    and removed
    upstream-issue-linked
    on Jul 13, 2022
  6. PHLAK commented on Jul 19, 2022

    @PHLAK

    Can confirm. When launching VS Code on Wayland with the --enable-features=UseOzonePlatform
    and --ozone-platform=wayland launch options the running app is displayed as a separate, unstyled app icon in my dock. This is still an issue in v1.69.2

    Screenshot from 2022-07-18 21-49-07

  7. removed this from the July 2022 milestone on Jul 26, 2022
  8. 44 remaining items

  9. added a commit that references this issue on Oct 16, 2024
    e172ab5
  10. ShadowRZ commented on Oct 16, 2024

    @ShadowRZ
    Contributor

    Turns out I was wrong about when app.setAsDefaultProtocolClient would be run, see #231472 for details

  11. added a commit that references this issue on Oct 17, 2024
    8addf83
  12. added
    unreleased
    on Oct 17, 2024
  13. added
    insiders-released
    and removed
    unreleased
    on Oct 17, 2024
  14. added
    author-verification-requested
    on Oct 24, 2024
  15. vs-code-engineering commented on Oct 24, 2024

    @vs-code-engineering
    Contributor

    This bug has been fixed in the latest release of VS Code Insiders!

    Pavel (@aslpavel), you can help us out by commenting /verified if things are now working as expected.

    If things still don't seem right, please ensure you're on version e1de28e of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.

    Happy Coding!

  16. joshspicer commented on Oct 25, 2024

    @joshspicer
    Contributor

    I am observing that on the latest release of insiders with the appropriate flags set, my environment (Ubuntu 24.04) uses my dock shortcut when launching code.

    Please leave us a note with repro steps if seeing otherwise -thanks!

    Older

    Image

    Current

    Image

  17. added
    verified
    and removed
    author-verification-requested
    on Oct 25, 2024
  18. added a commit that references this issue on Nov 13, 2024
    67c53a3
  19. locked and limited conversation to collaborators on Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugelectronelectron-18-updateinsiders-releasedlinuxupstream-issue-fixedverifiedwayland

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions