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

Missing WM_CLASS for X11/Wayland #192

Open
drpsyko101 opened this issue Dec 27, 2024 · 1 comment
Open

Missing WM_CLASS for X11/Wayland #192

drpsyko101 opened this issue Dec 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@drpsyko101
Copy link

drpsyko101 commented Dec 27, 2024

Describe the bug
The current Blender Launcher doesn't have any wm_class string defined. This is important for Xorg/Wayland desktop manager to identify and handle multiple instances of the app. Missing wm_class also causes the app icon/name to be set to the default desktop manager icon/name.

To Reproduce
Steps to reproduce the behavior:

  1. Launch Blender Launcher.
  2. Check for the WM_CLASS value:
    a. For X11, use xprop and click on the Blender Launcher
    b. For Wayland, use Looking Glass (lg) to probe the wmclass value
  3. It will return either null or empty string.

Expected behavior
The wm_class should have a unique, identifiable value.

System (please complete the following information):

  • Operation system: Fedora Workstation 41
  • Blender Launcher version: 2.3.2
@Victor-IX Victor-IX added the bug Something isn't working label Dec 27, 2024
@zeptofine
Copy link
Collaborator

I've managed to set WM_CLASS on X11 using an application argument, but I'm stuck on setting it for Wayland. If you run the program with the env variable QT_QPA_PLATFORM=xcb anytime after commit 0983aa1 it should set the class to blender-launcher-v2

image

Leaving this open incase I discover a method for setting it in Wayland

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

3 participants