Skip to content

Duplicate icons when vscode opens playwright windows #49

@crimsonduelist

Description

@crimsonduelist

Describe the bug
When playwright or scrapy-playwright is used in non headless mode (meaninig browser windows will open while running) in vscode a duplicate vscode icon is created.

To Reproduce
Steps to reproduce the behavior:
I m gonna use palywright instead of scrapy playwright for simplicity but same behaviour
1.create a venv (i use python there s other languages if u re familiar and want to more quickly test)
2. Activate the venv and install playwright
3. Use playwright to navigate to some site

Expected behavior
A clear and concise description of what you expected to happen.
A single icon instance of the icon should be there instead

Screenshots
2024-12-22_02-37
2024-12-22_02-36_1

Desktop (please complete the following information):

  • Linux distribution arch
  • go version go1.23.4 linux/amd64
  • gtk-layer-shell version gtk-layer-shell 0.9.0-1

Additional context
Both icons work i.e. to navigate to a window by clicking on it
Doesnt matter which browser playwright is set to use. Or if that browser is open or not.
Using hyprland. The windows show in hyprctl clients as
initialClass: Code
initialTitle: Untitled - Chromium
I m guessing this isnt exactly tied to vscode+playwright. i.e. if some other application emulated another program similar behaviour would be there if that makes sense

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions