Skip to content

[Feature] Heroic: Implement Game List queue support - #660

Merged
DavidoTek merged 5 commits into
DavidoTek:mainfrom
BeSilentBob:heroic-gamelist
Oct 17, 2026
Merged

DavidoTek merged 5 commits into
DavidoTek:mainfrom
BeSilentBob:heroic-gamelist

Conversation

@BeSilentBob

Copy link
Copy Markdown
Contributor

Hi there,
since the implementation of the Heroic Game List is in the moment a bit off compared to the wonderful Steam Game List, I wrote the missing Apply-Button/ Queue-Support.

What this PR implements:

  • Changes made to the compatibility tools are first collected in a queue
  • Each item in the queue uses an unique identifier based on id()
  • btn_apply_clicked(self) and set_apply_btn_text(self) are expanded to easily allow future store implementations
  • A working 'Apply' Button that writes queued changes to the Heroic configs

How this works:

  • Open Game List -> Make changes (those are not persistent) -> Click Apply and those changes get written to the Heroic config files making them persistent

As with the last implementation I tried to mimic the existing layout for the functions as closely as possible. The only main difference is that I ran the for-parse directly inside of PupguiGameListDialog isntead of outsourcing it to heroicutils. This can be fixed later on however.

Specs:

This PR was tested on the most recent ProtonUp-Qt branch. Feel free to merge or close it. If I messed anything up just say the word and I will get back to it :)

OS: CachyOS
ProtonUp-Qt: main branch
Heroic Games Launcher: Flatpak (v.2.22.4)

BeSilentBob and others added 5 commits October 16, 2026 16:17
Implementation of an 'Apply' button for the Heroic Games Launcher List. In current state changes made in the ComboBox are written directly to file. This could lead to several potential problems. This lines up with the practice for the Steam Game List and writes changes to a queue before applying them to the actual Heroic files.
whoops ... fixes a function that gives 4 arguments but only expects 3.
fixes some typos in previously made comments
- Show a warning listing games whose config could not be updated
- Emit game_property_changed after applying so the main window refreshes
- Use the combo's shown tool as the original value for games without a wineVersion

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DavidoTek

Copy link
Copy Markdown
Owner

Thanks!

I applied small improvements suggested by Claude. Otherwise, looks good!

@DavidoTek
DavidoTek merged commit d5d63bb into DavidoTek:main Oct 17, 2026
2 checks passed
@BeSilentBob
BeSilentBob deleted the heroic-gamelist branch October 17, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants