Skip to content

StartupWMClass is wrong with 30.0.4 in Ubuntu 24.04 #2447

Description

@senique

Preflight Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Install draw.io Desktop 30.0.4 on Ubuntu 24.04
  2. Launch draw.io from the application menu
  3. Run xprop WM_CLASS and click on the draw.io window
  4. Observe the output:
    WM_CLASS(STRING) = "draw-io", "draw-io"
  5. Check the installed .desktop file and see:
    StartupWMClass=draw.io
  6. Notice that the icon (Icon=drawio) cannot be resolved correctly

Expected behavior
The StartupWMClass should match the actual WM_CLASS value reported by the window. Either:

StartupWMClass=draw-io

or the application should set its WM_CLASS to:

draw.io

This would allow the desktop environment to correctly match the window to its icon and launcher.

Screenshots
no

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io Desktop 30.0.4

Desktop (please complete the following information):

  • OS: Ubuntu 24.04 LTS
  • Desktop Environment: GNOME Shell
  • Installation Method: .deb package

Additional context
no

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions