Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element-Desktop-Nightly uses wrong StartupWMClass #21913

Closed
justjanne opened this issue Apr 25, 2022 · 2 comments
Closed

Element-Desktop-Nightly uses wrong StartupWMClass #21913

justjanne opened this issue Apr 25, 2022 · 2 comments
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Tolerable Low/no impact on users T-Defect Z-Platform-Specific

Comments

@justjanne
Copy link
Contributor

justjanne commented Apr 25, 2022

Steps to reproduce

  1. Use a linux distribution with a dock, e.g. Ubuntu Budgie
  2. Install Element Desktop Nightly
  3. Set a custom icon for element desktop via an icon theme
  4. Launch Element Desktop Nightly

Outcome

What did you expect?

Element Desktop Nightly is shown a single time in the dock, with its correct icon

What happened instead?

Element Desktop Nightly is shown twice in the dock, one time as a launcher with the correct icon, and one time as a currently running task without a proper icon

Cause

Element Desktop Nightly sets the StartupWMClass of the window to element-nightly. The .desktop file for element desktop nightly specifies StartupWMClass=element. As these values differ, docks can’t know that the .desktop file and running application match.

Operating system

Ubuntu Budgie 22.04 (jammy)

Application version

Element Nightly version: 2022042501 Olm version: 3.2.8

How did you install the app?

Via the repo

Homeserver

chat.element.io

Will you send logs?

No

@andybalaam andybalaam added S-Tolerable Low/no impact on users O-Occasional Affects or can be seen by some users regularly or most users rarely labels Apr 25, 2022
@t3chguy
Copy link
Member

t3chguy commented Apr 25, 2022

FTR this is an issue with https://github.com/vector-im/element-builder/

@t3chguy
Copy link
Member

t3chguy commented Apr 25, 2022

Duplicate of #13780

@t3chguy t3chguy marked this as a duplicate of #13780 Apr 25, 2022
@t3chguy t3chguy closed this as completed Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-Occasional Affects or can be seen by some users regularly or most users rarely S-Tolerable Low/no impact on users T-Defect Z-Platform-Specific
Projects
None yet
Development

No branches or pull requests

3 participants