-
-
Notifications
You must be signed in to change notification settings - Fork 585
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
block multiple file pickers [bounty: 2 XTR] #2363
Comments
Trying to recreate. Using FF/Edge on Windows, I only get a single window to pop up at any time. What's your OS/browser? |
@andretchen0 I'm on Linux/Brave. |
Can I contribute to this? I have not played this game before but I enjoy games and would like to try committing to open source and this looks simple enough to tackle. |
@tykm Sure, go for it. Assigning you in a bit. |
@DreadKnight I am unfamiliar with this codebase and the functionality behind logging, but from my understanding: And in your case, holding the shortcut will open multiple file selectors, as opposed to my screenshot where there is only one open? |
@tykm It only opens multiple files if I open a save file in the picker, provided I've held the load hotkey a little longer. |
It should work instantly. Hotkey was remapped recently, but checking the file it seems it's Ctrl+Shift+Meta+X, though the idea was to drop Meta and it works even without Meta for me xD https://github.com/CyberBishop/AncientBeast/blob/master/src/ui/hotkeys.js#L65 |
Seems from conversation I opposed dropping the Meta, just went for a more suitable letter instead, my bad; #2160 |
On Windows/Chrome I was not able to use Ctrl+Shift+Meta+X to save a file. The hotkeys file from master shows that the hotkey is shift+ctrl+X. AncientBeast/src/ui/hotkeys.js Lines 66 to 72 in 471f146
In any case, I was able to find another shortcut for ctrl+s to save and this worked for me. To have two different shortcuts for the same action seems a bit redundant to me, though. I'm not sure why the other shortcut did not work. AncientBeast/src/ui/hotkeys.js Lines 10 to 15 in 471f146
I now have a save log file, but am still unable to replicate your bug.
In your bug scenario, how does the process differ? |
Seems I got stuck on another fork when looking at the hotkey. We have 2 because browsers. Once more testing is done might as well stick to just one and document it or showcase it in some hotkey page in-game eventually. I'm on Linux and using Brave, so it might be a specific bug that won't affect most people, will make sure to specify this stuff in OP. You're free to pick another issue if you want, plenty labeled 'easy'. |
Sounds good |
Holding Ctrl+Meta+L in the pre-match screen a bit longer and then picking a log file can result in getting multiple file pickers after. There should be a "trap" along the lines of
AncientBeast/src/utility/gamelog.ts
Line 107 in 53f04e1
The text was updated successfully, but these errors were encountered: