[raiguard][1.1.109][Linux/Wayland/KDE Plasma] Desktop cursor theme is not respected

Things that we don't consider worth fixing at this moment.
Post Reply
User avatar
hypergonial
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Jul 28, 2024 9:49 am
Contact:

[raiguard][1.1.109][Linux/Wayland/KDE Plasma] Desktop cursor theme is not respected

Post by hypergonial »

Description

When launching the game under Wayland with KDE Plasma, the game doesn't respect the cursor theme set in the "System Settings" app (under "Colors & Themes" > "Cursors", which sets the user cursor theme) and instead defaults to the global system cursor theme, which usually means a fallback to the adwaita cursor theme. As far as I can tell this issue is specific to KDE Plasma (wayland) in full-screen mode.

Workaround:
Factorio seems to respect the system cursor theme however, so setting "Inherits=" in /usr/share/icons/default/index.theme to the folder name of a cursor theme in /usr/share/icons will fix the issue. This is not the expected way to set cursor themes in KDE Plasma however, and requires root access.

Misc. Info:
  • Distro: Arch Linux
  • DE: KDE Plasma 6.1.3
  • Factorio version: 1.1.109 (build 62320, linux64, steam)
  • KDE frameworks version: 6.4.0
  • Qt version: 6.7.2
  • Kernel version: 6.10.1-zen1-1
  • Launch flags (Steam):

    Code: Select all

    SDL_VIDEODRIVER=wayland %command%
I reproduced this on two machines, one running the proprietary nvidia driver (R555), one using integrated intel graphics. I have not tested other desktops.

Let me know if I should provide any additional details!

User avatar
BrainGamer_
Long Handed Inserter
Long Handed Inserter
Posts: 86
Joined: Sun Nov 14, 2021 9:52 pm
Contact:

Re: [raiguard][1.1.109][Linux/Wayland/KDE Plasma] Desktop cursor theme is not respected

Post by BrainGamer_ »

I can confirm that I can reproduce this.

Distro: NixOS 24.11pre646099.00d80d13810d (Vicuna) x86_64
DE: Plasma 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel: 6.6.36

User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 483
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [raiguard][1.1.109][Linux/Wayland/KDE Plasma] Desktop cursor theme is not respected

Post by raiguard »

This is an SDL bug that has been fixed in SDL3.

SDL2:
Pasted image.png
Pasted image.png (5.81 KiB) Viewed 275 times
SDL3:
Screenshot_20240730_172212.png
Screenshot_20240730_172212.png (5.98 KiB) Viewed 275 times
Don't forget, you're here forever.

Post Reply

Return to “Won't fix.”