Skip to content

[Fix] "Copy to clipboard" button in system info page - #5529

Merged
CommandMC merged 1 commit into
mainfrom
fix/copy-system-info
May 1, 2026
Merged

CommandMC merged 1 commit into
mainfrom
fix/copy-system-info

Conversation

@CommandMC

Copy link
Copy Markdown
Member

The button did not work, as the onClick handler passed the MouseEvent onto the backend listener. Trying to copy the event (to pass it between the processes) did not work. I assume something changed in the MouseEvent structure between Electron versions, as the button of course worked in the past.

To test: Open Heroic without the patch, open "Settings" -> "System Information", click the "Copy to clipboard" button. Observe an error in the console/log, and the info not being copied. Open this PR's version, issue no longer occurs.

Closes #5526


Use the following Checklist if you have changed something on the Backend or Frontend:

  • Tested the feature and it's working on a current and clean install.
  • Tested the main App features and they are still working on a current and clean install. (Login, Install, Play, Uninstall, Move games, etc.)
  • Created / Updated Tests (If necessary)
  • Created / Updated documentation (If necessary)

@CommandMC
CommandMC requested a review from a team April 26, 2026 14:15
@CommandMC CommandMC self-assigned this Apr 26, 2026
@CommandMC
CommandMC requested review from BananaWorks07, arielj, biliesilva, flavioislima and imLinguin and removed request for a team April 26, 2026 14:15
@CommandMC CommandMC added the pr:ready-for-review Feature-complete, ready for the grind! :P label Apr 26, 2026

@flavioislima flavioislima left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@flavioislima flavioislima added this to the 2.22 milestone Apr 28, 2026
@CommandMC
CommandMC merged commit f24897a into main May 1, 2026
13 of 14 checks passed
@CommandMC
CommandMC deleted the fix/copy-system-info branch May 1, 2026 14:02
@Heroic-Games-Launcher Heroic-Games-Launcher locked and limited conversation to collaborators May 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

pr:ready-for-review Feature-complete, ready for the grind! :P

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copy to clipboard button on System Information is not working

2 participants