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
7.92k stars 417 forks source link

Heroic don't Minimize at start #3234

Closed Dr4goonD3mon closed 5 months ago

Dr4goonD3mon commented 10 months ago

Describe the bug

Hi, I have an issue with Heroic recently, if I set the option to start heroic minimized on the taskbar, it doesn't start heroic minimized, this issue was present since the last 2.10.0, but is odd, because it begins as that always no matter what is started minimized eve if Heroic was Launched and I start the app from the desktop link, I thought it was the antivirus, so I formatted my pc and reinstall Windows 11 again, to my surprise the issue continues and now if I install the older 2.9.2 It has the same Issue and I can't at least get in the state to always start minimized, hopefully you guys can replicate my issue and have a fix for the next version of the launcher on Windows

Add logs

(17:33:13) INFO:    [Legendary]:        Legendary location: C:\Users\flore\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary
(17:33:13) INFO:    [Gog]:              GOGDL location: C:\Users\flore\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl
(17:33:13) INFO:    [Connection]:       Connectivity: check-online
(17:33:13) INFO:    [Connection]:       Pinging external endpoints
(17:33:13) INFO:    [Nile]:             Refreshing library...
(17:33:13) INFO:    [Nile]:             Refreshing Amazon Games...
(17:33:13) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=C:\Users\flore\AppData\Roaming\heroic\nile_config C:\Users\flore\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\nile library sync
(17:33:13) INFO:    [Nile]:             Game list updated, got 0 games
(17:33:13) INFO:    [Backend]:          DRM module staus {
  "neifaoindggfcjicffkgpmnlppeffabd": {
    "name": "Google Widevine Windows CDM",
    "status": "new",
    "version": "1.0.2738.0"
  },
  "oimompecagnajdejgnnjijobebaeigek": {
    "name": "Widevine Content Decryption Module",
    "status": "new",
    "version": "4.10.2710.0"
  }
}
(17:33:14) WARNING: [Backend]:          Protocol already registered.
(17:33:14) INFO:    [Connection]:       Connectivity: online
(17:33:14) INFO:    [Gog]:              Checking if login is valid
(17:33:14) INFO:    [Gog]:              Running command: C:\Users\flore\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl --auth-config-path C:\Users\flore\AppData\Roaming\heroic\gog_store\auth.json auth
(17:33:14) INFO:    [Backend]:          Loading Screen Ready
(17:33:14) INFO:    [Nile]:             Saved user data to config file
(17:33:14) INFO:    [Frontend]:         Refreshing undefined Library
(17:33:14) WARNING: [Backend]:          refresh not implemented on Sideload Library Manager
(17:33:14) INFO:    [Gog]:              Running command: C:\Users\flore\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl --auth-config-path C:\Users\flore\AppData\Roaming\heroic\gog_store\auth.json auth
(17:33:14) INFO:    [Legendary]:        Refreshing library...
(17:33:14) INFO:    [Legendary]:        Refreshing Epic Games...
(17:33:15) INFO:    [Nile]:             Refreshing library...
(17:33:15) INFO:    [Nile]:             Refreshing Amazon Games...
(17:33:15) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=C:\Users\flore\AppData\Roaming\heroic\nile_config C:\Users\flore\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\nile library sync
(17:33:15) INFO:    [Nile]:             Game list updated, got 0 games
(17:33:15) INFO:    [Legendary]:        Game list updated, got 198 games & DLCs
(17:33:15) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=C:\Users\flore\AppData\Roaming\heroic\legendaryConfig\legendary C:\Users\flore\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary --version
(17:33:15) INFO:    [Gog]:              Running command: C:\Users\flore\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl --auth-config-path C:\Users\flore\AppData\Roaming\heroic\gog_store\auth.json --version
(17:33:15) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=C:\Users\flore\AppData\Roaming\heroic\nile_config C:\Users\flore\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\nile --version
(17:33:15) INFO:    [Gog]:              Getting GOG library
(17:33:15) INFO:    [Gog]:              Running command: C:\Users\flore\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl --auth-config-path C:\Users\flore\AppData\Roaming\heroic\gog_store\auth.json auth
(17:33:15) INFO:    [Backend]:          VCRuntime is installed
(17:33:15) INFO:    [Backend]:          Frontend Ready
(17:33:16) INFO:    [Legendary]:        Running command: LEGENDARY_CONFIG_PATH=C:\Users\flore\AppData\Roaming\heroic\legendaryConfig\legendary C:\Users\flore\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary list --third-party
(17:33:16) INFO:    [Gog]:              Saved username to config file
(17:33:17) INFO:    [Backend]:          
System Information:
CPU: 12x AMD Ryzen 5 5600X 6-Core Processor             
Memory: 34.28 GB (used: 7.96 GB)
GPUs:
  GPU 0:
    Name: NVIDIA Corporation GM206 [GeForce GTX 960]
    IDs: D=1401 V=10de SD=1138 SV=196e
    Driver: 546.01
OS: Microsoft Windows 11 Pro 10.0.22621 (win32)

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

Software Versions:
  Heroic: 2.10.0 Jewelry Bonney
  Legendary: 0.20.33 Undue Alarm
  gogdl: 0.7.3
  Nile: 1.0.0 Jonathan Joestar

(17:33:19) INFO:    [Gog]:              Saved games data
(17:33:19) WARNING: [Backend]:          listUpdateableGames not implemented on Sideload Library Manager
(17:33:19) INFO:    [Gog]:              Found 0 game(s) to update
(17:33:19) INFO:    [Legendary]:        Checking for game updates: LEGENDARY_CONFIG_PATH=C:\Users\flore\AppData\Roaming\heroic\legendaryConfig\legendary C:\Users\flore\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary list --third-party
(17:33:20) INFO:    [Backend]:          Starting the Download Queue
(17:33:22) INFO:    [Legendary]:        Found 0 games to update
(17:33:22) INFO:    [Nile]:             Looking for updates...
(17:33:22) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=C:\Users\flore\AppData\Roaming\heroic\nile_config C:\Users\flore\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\nile list-updates --json
(17:33:23) INFO:    [Frontend]:         No cache found, getting data from nile...
(17:33:23) INFO:    [Nile]:             Refreshing library...
(17:33:23) INFO:    [Nile]:             Refreshing Amazon Games...
(17:33:23) INFO:    [Nile]:             Running command: NILE_CONFIG_PATH=C:\Users\flore\AppData\Roaming\heroic\nile_config C:\Users\flore\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\nile library sync
(17:33:23) INFO:    [Nile]:             Game list updated, got 0 games
(17:39:01) INFO:    [Backend]:          Exitting to tray instead of quitting

Steps to reproduce

Install 2.10.0 from scratch, set exit to the taskbar, set start minimized

Expected behavior

The launcher will start in the taskbar

Screenshots

No response

Heroic Version

Latest Stable

System Information

Additional information

No response

Dr4goonD3mon commented 9 months ago

I made a few test to make Heroic Behave like it should and found that if I install 2.9.1, then update to 2.10.0 using the updater from heroic (not installing from an .exe file from GitHub), after the update it begins to behave like it normally should, but is very annoying to do all that just to make it work

Dr4goonD3mon commented 9 months ago

Another New Finding: If I set Heroic Games Launcher to maximize windows It will not start minimized the next time I open it, even if the setting is enabled, but if I do not maximize the window on exit, it will start minimized

eebssk1 commented 9 months ago

Same here. I set the lnk to start as minimized window but does not work.

Smealm commented 9 months ago

on heroic v2.11.0, Windows 11, heroic doesn't start minimized.

arielj commented 8 months ago

I understand this will be fixed in the next release, this seems to be fixed by https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/pull/3300/files

flavioislima commented 6 months ago

Closing this one, feel free to reopen it if it the issue persists.