mirror of
https://github.com/PlayCover/PlayCover.git
synced 2026-04-28 01:05:57 +03:00
[GH-ISSUE #526] [Bug]: Metal HUD preference not saved when closing PlayCover #251
Labels
No labels
UI
app-support
bug
bug
documentation
duplicate
enhancement
game-support
good first issue
help wanted / caution
inactive
invalid
macos-beta
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PlayCover#251
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FlyMeToTheMoonAndLetMePlayAmongTheStars on GitHub (Nov 20, 2022).
Original GitHub issue: https://github.com/PlayCover/PlayCover/issues/526
Describe the bug
Metal HUD on/off toggle under game settings is not saved, happens for every game.
Other toggles, like Enable Discord activity, disable display sleep, etc. are saved.
So when you enable it and then close and reopen PlayCover, it defaults back to being disabled.
Steps to reproduce
Expected behaviour
The preference getting preserved on app close like all other options/toggles.
Crash log
What version of PlayCover are you using?
Nightly/beta
What version of macOS are you using?
Ventura (macOS 13)
Issue Language
@TheMoonThatRises commented on GitHub (Nov 20, 2022):
For anyone interested, the reason why Metal HUD is not saved after each open of PlayCover is because it is saved only locally in the code. The way to have it saved is to add another option into the app's settings file.
@FlyMeToTheMoonAndLetMePlayAmongTheStars commented on GitHub (Jan 7, 2023):
found a bug related to this setting, didn't feel the need to open up a new issue since i thought it could be related to what @TheMoonThatRises said above
if you enable metal HUD for an app, then click on IPA library and click back to the app library, and open the app settings, you'll see that the setting is also not saved in this scenario
@elisezhu123 commented on GitHub (Jan 25, 2023):
unfortunately, the metal in play cover is just a ui system its original method is just to use the metal api for us. the metal hud api itself can only be used when you use the code and it cannot be saved unless you forced it to add in the launcher environmental variable (but you still need to retype it in terminal after you close the mac). There is nothing to do of play cover to solve, it is just the way apple used to utilize the metalapi from its unix file each time and not preserved. If you really want to force the metal hud used you can use /bin/launchctl setenv MTL_HUD_ENABLED 1 but this one is work for all the metal app so even the photoshop, Photo Booth it will all open metalhud as it used metal api