Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
8.27k stars 437 forks source link

Zoom resets on resizing the Heroic Launcher window #4002

Open alterNERDtive opened 2 months ago

alterNERDtive commented 2 months ago

Describe the bug

This is a duplicate of #2156, but it has been back since at least 2.14.1 or not actually been fixed.

Essentially any change in Window size (toggling fullscreen, manually changing window size, opening another window in a tiling WM) causes the zoom setting in the accessibility menu to seize working. This does not happen immediately after opening Heroic (it starts once you navigate anywhere) nor if you have the accessibility options page open.

The log below is from just opening Heroic, going to settings, opening another window (zoom setting breaks), then copying the log.

Add logs

(13:56:19) INFO:    [Legendary]:        Legendary location: /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/legendary
(13:56:19) INFO:    [Gog]:              GOGDL location: /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/gogdl
(13:56:19) INFO:    [Connection]:       Connectivity: check-online
(13:56:19) INFO:    [Connection]:       Pinging external endpoints
(13:56:19) INFO:    [Gog]:              Checking for existing gog manifests
(13:56:20) WARNING: [Backend]:          Protocol already registered.
(13:56:20) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/XXX/.config/heroic/legendaryConfig/legendary /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/legendary --version
(13:56:20) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/XXX/.config/heroic/gogdlConfig /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/XXX/.config/heroic/gog_store/auth.json --version
(13:56:20) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=/home/XXX/.config/heroic/nile_config /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/nile --version
(13:56:20) INFO:    [Connection]:       Connectivity: online
(13:56:20) INFO:    [Gog]:              Checking if login is valid
(13:56:20) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/XXX/.config/heroic/gogdlConfig /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/XXX/.config/heroic/gog_store/auth.json auth
(13:56:20) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/XXX/.config/heroic/gogdlConfig /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/XXX/.config/heroic/gog_store/auth.json auth
(13:56:20) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/XXX/.config/heroic/gogdlConfig /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/XXX/.config/heroic/gog_store/auth.json auth
(13:56:20) INFO:    [Backend]:          AreWeAntiCheatYet data downloaded
(13:56:20) INFO:    [Backend]:          
System Information:
CPU: 16x AMD Ryzen 7 5800X 8-Core Processor
Memory: 67.34 GB (used: 43.5 GB)
GPUs:
  GPU 0:
    Name: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT]
    IDs: D=747e V=1002 SD=475d SV=1da2
    Driver: amdgpu
OS: Fedora Linux 40 (Sway) (linux)

The current system is not a Steam Deck
We are not running inside a Flatpak container

Software Versions:
  Heroic: 2.15.1 Emeth
  Legendary: 0.20.35 Lowlife (Heroic)
  gogdl: 1.1.1
  comet: comet 0.1.2

  Nile: 1.1.1 Will A. Zeppeli

(13:56:20) INFO:    [Gog]:              GOG presence set
(13:56:20) INFO:    [Frontend]:         Refreshing undefined Library
(13:56:20) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager
(13:56:20) INFO:    [Legendary]:        Refreshing library...
(13:56:20) INFO:    [Legendary]:        Refreshing Epic Games...
(13:56:20) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/XXX/.config/heroic/gogdlConfig /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/XXX/.config/heroic/gog_store/auth.json auth
(13:56:20) INFO:    [Backend]:          Frontend Ready
(13:56:20) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=/home/XXX/.config/heroic/legendaryConfig/legendary /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party
(13:56:20) INFO:    [Backend]:          Checking for current version changelog
(13:56:20) INFO:    [Gog]:              Saved username to config file
(13:56:20) INFO:    [Gog]:              Getting GOG library
(13:56:20) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/XXX/.config/heroic/gogdlConfig /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/XXX/.config/heroic/gog_store/auth.json auth
(13:56:21) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/XXX/.config/heroic/gogdlConfig /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/XXX/.config/heroic/gog_store/auth.json auth
(13:56:22) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/XXX/.config/heroic/gogdlConfig /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/XXX/.config/heroic/gog_store/auth.json auth
(13:56:22) INFO:    [Winetricks]:       Downloading Winetricks
(13:56:22) INFO:    [Gog]:              Saved games data
(13:56:22) INFO:    [Legendary]:        Game list updated, got 432 games & DLCs
(13:56:22) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager
(13:56:22) INFO:    [Gog]:              Running command: GOGDL_CONFIG_PATH=/home/XXX/.config/heroic/gogdlConfig /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/XXX/.config/heroic/gog_store/auth.json auth
(13:56:23) INFO:    [Gog]:              Found 0 game(s) to update
(13:56:23) INFO:    [Legendary]:        Checking for game updates: LEGENDARY_CONFIG_PATH=/home/XXX/.config/heroic/legendaryConfig/legendary /usr/lib64/heroic-games-launcher-bin/resources/app.asar.unpacked/build/bin/x64/linux/legendary list --third-party
(13:56:25) INFO:    [WineDownloader]:   Updating wine versions info
(13:56:25) INFO:    [WineDownloader]:   Fetching upstream information...
(13:56:25) INFO:    [Legendary]:        Found 0 games to update
(13:56:25) INFO:    [Backend]:          Starting the Download Queue
(13:56:25) INFO:    [WineDownloader]:   wine versions updated

Steps to reproduce

  1. go to accessibility settings
  2. set a non-100% zoom (lower or higher, does not matter)
  3. go to a different page
  4. resize window
  5. observe zoom resetting to 100%

Expected behavior

You set a zoom setting in the accessibility settings, and Heroic respects it even if you resize the application window.

Screenshots

image image image image

Heroic Version

Latest Stable

System Information

Additional information

I figured since I can’t re-open the old issue I’d submit a new one.

Glebux commented 23 hours ago

Can confirm, occurs on ArchLinux, dwm (X11)