Hyperspeedcube icon indicating copy to clipboard operation
Hyperspeedcube copied to clipboard

Keybinds reference zero font size causes crash

Open HactarCE opened this issue 1 year ago • 4 comments

HactarCE avatar Sep 28 '23 13:09 HactarCE

steps to reproduce ? The issue title is not that clear for a new comer ^^ If this is referring to the "Max font size" setting in "Keybinds reference" I can't lower it below 1.0

.

twiby avatar Oct 15 '23 12:10 twiby

I don't remember exactly how to reproduce the original bug, but you can at least reproduce the scenario by setting the font size to zero in the yaml file. @blobinaticuber do you remember how this happened?

HactarCE avatar Oct 15 '23 12:10 HactarCE

Steps to reproduce:

  1. In the navbar, go to: Help > Keybinds reference
  2. Open the settings drop down
  3. Set Max font size to either 3.0 or 1.0 (both sizes cause a crash)
  4. Close Hyperspeedcube
  5. Reopen Hyperspeedcube
  6. In the navbar, go to: Help > Keybinds reference. This time, it will produce a crash, and you will be unable to open the keybinds reference menu until you go to hyperspeedcube.yaml and delete the line that says max_font_size: 3.0

blobinaticuber avatar Oct 16 '23 20:10 blobinaticuber

I tried it and I'm not getting a crash. I tried the provided binary and compiled from source, both in Linux. I'll try Windows when I can

Also no crash if I set the value directly to 0.0 in the yaml

twiby avatar Oct 17 '23 12:10 twiby

Fixed in v1.0.7

HactarCE avatar Jul 22 '24 20:07 HactarCE