Optmenu reset keybind#1287
Conversation
Thanks for opening this PR! We'll review it soon.I'm a bot that checks for some common problems. I'll update this comment with anything I find. Nothing to report. Nice :) |
a keybind seems like an odd way for reseting, wouldn't a reset button next to the option work better, and be easier for people to know it exists? |
|
It's the same key used to reset keybinds, so there's a precedent in the engine. I've seen the reset keybind in some engines before (I think retroarch uses select on a gamepad?). A graphical button would be good in the future (especially during the menu redesign), but a keybind will be required in either case for gamepad users. |
it's used to clear keybinds, not reset them to default, that's why it might be confusing to have it reset settings |
|
It's really not that confusing. Anyways, I would consider "clearing" a cvar to be resetting it to default in most cases. The only exception to that is binds |
|
What are your thoughts on adding a keybind? That way binds can be cleared AND reset, not just cleared? Maybe the delete key? |
might be better as just a dialog, press backspace, get a "do you want to clear or reset or cancel" choice |
|
that way accidental presses of backspace don't get rid of binds either |
Specifically for binds, sure. But not for other options. Getting a popup for every thing you're trying to reset is wildly annoying. So that's a no to adding a second key? And keeping backspace as the reset bind for options? |
i just think a dialog would be more useful (doesn't need anyone to learn a new key, and keeps del's ability to be bound as a regular key as it can now) |
just for binds yeah, other options don't even have a concept of "clear" to need a dialog |
I feel that I'm having trouble following lol. Is this correct:
|
the dialogue doesn't need the menu rework, it can just use the existing messagebox menu (but if you feel it's best for 5.1 then it can be left for 5.1) |
That's fair. I'd like 5.0 out the door soon, so I'm gonna say no to implementing the dialogue now. (I do agree it should exist in the future) |
Backspace will reset most options now. Fields and binds have not been implemented, since those are weirdly complicated (at least the ones I was testing)
Fixes #756
Checklist