-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DXVK HUD Options not displaying changed options correctly when opened a second time #488
Comments
Thanks for reporting, there is definitely something wrong with that option. |
Thanks for looking into it! Enjoy the time away 😄 |
Hah, seems like only the initial loading of the game config file is missing in the edit: whoops, sorry, didn't mean to update the comment before writing, that I'll fix it now :) |
should be fixed :) |
Seems like its fixed! Thank you :) |
Thanks for testing :) |
Hm, so now I'm encountering a problem where the So I think this is just a weird problem with my computer, but could you test to see if |
ah, this is easy to fix. give me a sec. sorry, that I haven't tested this before merging. |
above commit should do it :) |
Can confirm that fixed it, woohoo! Thank you!! I should've taken more care, though I was pretty sure this was working before I submitted the PR. Either way, it works now 🎉 |
cool, thanks for confirmation :) |
The DXVK HUD options menu has a bug where selecting a menu item, closing the menu and opening the menu again will not display the updated menu option. However,
DXVK_HUD
is seemingly set correctly, as when a game launches it uses the correct options.Here's a set of steps to reproduce the behaviour, if there are already DXVK HUD variables selected you can skip to Step 4:
fps
full
fps
, will still be selectedfull
, even thoughfps
was displayed the last time the menu was open, which is correct behaviour but is a visual bug in the menusI spent a while debugging this and the behaviour is a bit strange internally too. Basically when the menu is opened in Step 7, the
DXVK_HUD
variable is actually set tofps
, so the logic for setting the selected menu items based on theDXVK_HUD
variable is correct. It's the variable itself that's wrong. And it's wrong as far up as before the call toDxvkHudPick
. Putting a log ofDXVK_HUD
before this call reveals that it's set incorrectly before the function is called! But putting a log after this call reveals that when changing the select HUD item, it's set correctly outside of this function. Here's an example:So basically the variable is set correctly when leaving the menu, but when you open the menu again, before the call to the menu is made the variable is wrong again. Perhaps not much can be done about this (maybe a similar issue to what was discussed in #440?) but it is kind of jarring if you want to go in and edit your DXVK HUD arguments again 😅
The text was updated successfully, but these errors were encountered: