protonscr

[Bug] The "Print" dialogue doesn't adhere to the DE's theme.

steamopen
ValveSoftware/steam-for-linux#11784 · opened 2025-02-26 by beedell-roke · updated 2025-12-13 · 1 comments · github
Bbeedell-roke 2025-02-26 github

Your system information

  1. Steam client version

    Steam Beta Branch: Steam Beta Update
    Steam Version: 1740450111
    Steam Client Build Date: Tue, Feb 25 01:56 UTC -08:00
    Steam Web Build Date: Fri, Feb 21 21:44 UTC -08:00
    Steam API Version: SteamClient021
    
  2. Distribution

    1. #!/usr/bin/env pwsh
      Get-Content -LiteralPath /etc/os-release | Select-String -Pattern CPE_NAME
      
    2. cpe:/o:fedoraproject:fedora:41

  3. Opted into Steam client beta?

    Yes.

  4. Have you checked for system updates?

    Yes.

  5. Steam Logs

    1. #!/usr/bin/env pwsh
      tar -zcvf "$HOME/Desktop/steam-logs.tar.gz" "$HOME/.steam/steam/logs"
      
    2. steam-logs.tar.gz

  6. GPU

    1 × AMD Radeon RX 5700

Please describe your issue in as much detail as possible:

The standard GTK “Print” window doesn't adhere to my DE's GtkStyle: ^1

Image

...despite the GtkStyle functioning for all other GTK3 applications:

Image

Consequently, as https://github.com/ValveSoftware/steam-for-linux/issues/8829#issuecomment-2676858793 indicates, Steam appears to be (all undermentioned are probably xor):

  1. Using GTK 2 (which would be horrible)!

  2. Not adhering to the GtkStyle.

  3. Overriding the GtkStyle by bundling adwaita-light.

I asked about this at https://github.com/ValveSoftware/steam-for-linux/issues/8829#issuecomment-2676858793 before filing it, but I wasn't responded to.

My DE is undermentioned:

  1. #!/usr/bin/env sh
    kinfo
    
  2. Operating System: Fedora Linux 41
    KDE Plasma Version: 6.3.1
    KDE Frameworks Version: 6.11.0
    Qt Version: 6.8.2
    Kernel Version: 6.13.4-200.fc41.x86_64 (64-bit)
    Graphics Platform: Wayland
    

Steps for reproducing this issue:

    • Hover over a <video> (ideally, one from YouTu.be embedded in an <iFrame>).

    • Hover over the menu bar.

    1. [As necessary, Shift (⇧⃣) +] Right-click (☰⃣).

    2. When AddItemWithStringId(IDC_PRINT, IDS_CONTENT_CONTEXT_PRINT) succeeds, select “Print”.

Bbeedell-roke 2025-10-14 github

When I reset kde-gtk-config via kcm_style https://steamloopback.host/index.html?LOCAL_HOSTNAME=Beedell&LANGUAGE=english&COUNTRY=GB&LAUNCHER_TYPE=0&CLIENT_SESSION=1760442002&IN_CLIENT=true&USE_POPUPS=true&IN_STEAMUI_SHARED_CONTEXT=true&PLATFORM=linux&DEV_MODE=true&SHOW_CONSOLE=true returns:

GLibLog: domain:Gtk  msg:Unable to locate theme engine in module_path: "adwaita",GLibLog: domain:Gtk  msg:Unable to locate theme engine in module_path: "adwaita",GLibLog: domain:Gtk  msg:Unable to locate theme engine in module_path: "adwaita",GLibLog: domain:Gtk  msg:Unable to locate theme engine in module_path: "adwaita",GLibLog: domain:Gtk  msg:Unable to locate theme engine in module_path: "adwaita",GLibLog: domain:Gtk  msg:Unable to locate theme engine in module_path: "adwaita",GLibLog: domain:Gtk  msg:Unable to locate theme engine in module_path: "adwaita",GLibLog: domain:Gtk  msg:Unable to locate theme engine in module_path: "adwaita",GLibLog: domain:Gtk  msg:Unable to locate theme engine in module_path: "adwaita",GLibLog: domain:Gtk  msg:Unable to locate theme engine in module_path: "adwaita",

...whereas bash -c 'steam -dev' returns:

/usr/share/themes/Adwaita/gtk-2.0/main.rc:733: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Adwaita/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
/usr/share/themes/Adwaita/gtk-2.0/main.rc:733: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Adwaita/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
/usr/share/themes/Breeze-Dark/gtk-2.0/widgets/entry:70: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Breeze-Dark/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant
/usr/share/themes/Adwaita/gtk-2.0/main.rc:733: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Adwaita/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
/usr/share/themes/Adwaita/gtk-2.0/main.rc:733: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Adwaita/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
/usr/share/themes/Breeze-Dark/gtk-2.0/widgets/entry:70: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Breeze-Dark/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant

This occurs without -dev applied.

My Environment

  • Steam

    • DialogBodyText _32eeZuly3nnz3cMXdSgyj9

      Steam Beta Branch:  Steam Beta Update
      Steam Version:  1760396898
      Steam Client Build Date:  Mon, Oct 13 11:50 PM UTC -08:00
      Steam Web Build Date:  Mon, Oct 13 8:47 PM UTC -08:00
      Steam API Version:  SteamClient023
      
      1. #!/usr/bin/env sh
        rpm -qi $(rpm -qf $(command -v steam))
        
      2. Name         : steam
        Version      : 1.0.0.83
        Release      : 3.fc42
        Architecture : i686
        Install Date : Sun 21 Sep 2025 00:18:11 BST
        Size         : 20401251
        License      : Steam License Agreement and MIT
        Signature    : RSA/SHA256, Sun 07 Sep 2025 23:17:06 BST, Key ID 6a2af96194843c65
        Source RPM   : steam-1.0.0.83-3.fc42.src.rpm
        Build Date   : Sun 07 Sep 2025 07:55:33 BST
        Build Host   : buildvm-07.virt.rpmfusion.net
        Packager     : RPM Fusion
        Vendor       : RPM Fusion
        Bug URL      : https://bugz.rpmfusion.org/steam
        
  • DE

    1. #!/usr/bin/env sh
      kinfo
      
    2. KDE Plasma Version: 6.4.5
      KDE Frameworks Version: 6.19.0
      Qt Version: 6.9.2
      Kernel Version: 6.16.11-200.fc42.x86_64 (64-bit)
      Graphics Platform: Wayland
      
  • OS

    1. #!/usr/bin/env sh
      cat /etc/os-release
      
    2. NAME="Fedora Linux"
      VERSION_ID=42
      VARIANT="KDE Plasma Desktop Edition"