BizHawk icon indicating copy to clipboard operation
BizHawk copied to clipboard

Change wording of `RewindConfig.TargetFrameLength` edit UI

Open tommai78101 opened this issue 3 years ago • 7 comments

fixes #3309

tommai78101 avatar Jul 10 '22 19:07 tommai78101

~~I'm pretty neutral on this one. Old label was fine, but if you want to change it, have fun.~~

Edit: Never mind, just realized something: "Minimum" isn't correct here because the rewinder can fail to achieve that minimum due to state size changes and rounding errors. So that makes this wording less than ideal.

nattthebear avatar Aug 04 '22 22:08 nattthebear

In that case, why not make it an actual Minimum and use Math.Ceiling here? https://github.com/TASEmulators/BizHawk/blob/d8fc32f1a820ee5a044ad9422c0fbf967101642b/src/BizHawk.Client.Common/rewind/ZwinderBuffer.cs#L152 Can't do anything about state size differences, but a minimum setting like that is not only more useful but also a less confusing feature than whatever there is right now.

Masterjun3 avatar Aug 04 '22 22:08 Masterjun3

If all else fails though, in my opinion, the most accurate and easiest to understand label in this case is "Aim for a rewind range of at least [ ] frames".

Masterjun3 avatar Aug 04 '22 22:08 Masterjun3

I'm not keen on changing anything in the ZwinderBuffer.cs, as I'm not familiar with how Rewind Frequency is calculated, nor know how to test this properly if I had to tweak the calculations.

The method name, however, hinted the value should be called "Ideal Rewind Interval" or "Ideal Rewind Buffer Size". Would these label name be sufficient enough to make it more understandable than the current label?

Either that, or I might need to seek advice from others.

tommai78101 avatar Aug 04 '22 23:08 tommai78101

"desired" indicates user preference, which isn't necessarily "ideal"

YoshiRulz avatar Aug 04 '22 23:08 YoshiRulz

I disagree with "Ideal". The point I was trying to make with the issue is the important explanation to the user of "what happens if I have waay much more space than I specify here?". Say I have space for 4 hours of rewind, but specify 10 seconds here. All the "desired" or "ideal" terms imply that the emulator may just cut off the range to 10 seconds. This is precisely why I opened the issue ticket in the first place.

Masterjun3 avatar Aug 05 '22 00:08 Masterjun3

Good to know the word "Ideal" is not suitable.

Say I have space for 4 hours of rewind, but specify 10 seconds here. All the "desired" or "ideal" terms imply that the emulator may just cut off the range to 10 seconds.

The first thing that popped into my mind is a label name that implies there is a "size". In short, I'm coming up with label names including something to do with the word "Size" or "Capacity" in it. I am starting to feel the word, "Length", is not a good word to use because "Length" implies there is a cut-off point.

tommai78101 avatar Aug 05 '22 14:08 tommai78101

Closing pull request, because I no longer feel confident in my abilities to give this label a proper renaming.

tommai78101 avatar Aug 19 '22 22:08 tommai78101