-
Notifications
You must be signed in to change notification settings - Fork 723
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
Core: Launcher: can drag-and-drop patch on Launcher window #3442
Conversation
For the record, it's entirely possible for unsupported worlds to associate extensions with components, including with both BizHawkClient and SNIClient. I'm not arguing against this change, but in my opinion the instruction to players should already be to use the Open Patch button in the launcher or to associate the patch file extension with the launcher, since drag and drop has these clarity problems. |
We use the same thing (drag file onto main window) in a lot of applications these days, and even a lot of websites allow that, so I am all for it. Is there any need for more feedback to the user? Is it clear enough if only the mouse cursor changes to "accept drop" (or does not change to "deny drop")? Should we only accept drop if it can be identified? (Is this even possible with kivy?) |
Indeed, this drag-and-drop won't work if the component association isn't there.
In my opinion, these are both inferior user experiences - having to navigate to find a file in the window that opens up after pressing the "Open Patch" button (when the player is often already looking at the file in a different window) - or having to manually create a Windows file association. |
I don't see a kivy interface to change the indication for whether the file drop will succeed. There might be a way to do it, but I don't see a big need for it. Maybe it could be added in the future. (Even without this PR, in our current main branch, there is an indicator that a file can be dragged onto the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
While I think this could use some user feedback (patching may take a while, opening the client may take a while), it works as advertised.
…goMW#3442) * Core: Launcher: can drag-and-drop patch on Launcher window * doc string for `_on_drop_file`
…goMW#3442) * Core: Launcher: can drag-and-drop patch on Launcher window * doc string for `_on_drop_file`
…goMW#3442) * Core: Launcher: can drag-and-drop patch on Launcher window * doc string for `_on_drop_file`
…goMW#3442) * Core: Launcher: can drag-and-drop patch on Launcher window * doc string for `_on_drop_file`
…goMW#3442) * Core: Launcher: can drag-and-drop patch on Launcher window * doc string for `_on_drop_file`
What is this fixing or adding?
Many people come to discord for help when they try dragging their patch file onto the window, instead of dragging it onto the executable.
(This is mostly for unsupported worlds, so there is no file-type association.)
So let's support dragging the patch file onto the window.
(I've seen the problem more with people dragging patches into the
SNIClient
window. Maybe I'll add this toSNIClient
in a different PR later.)How was this tested?
I generated a game with an unsupported SNES game, then opened the
Launcher
window and dragged the patch file into theLauncher
window. It patched the rom and opened upSNIClient
.