-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix strange behavior when dragging&dropping from MTG creative inventory #14656
base: master
Are you sure you want to change the base?
Conversation
Is it safe to remove these commented lines:
I am not able to judge if it can cause any problems in other situations. |
I haven't (yet?) looked or tested closely, but I've already found a bug: Your changes cause crashes when using the "left-drag to distribute evenly" feature introduced by #13146. SIGSEGV
|
@grorp I use more complex condition. I do not see SIGSEG now. |
(Ignore the linked PR, that was probably a typo.) This doesn't seem to fix the issue in its current state (7d8361b): If I hold down the left mouse button (drag), there's still the strange behavior. Screencast.from.24-05-24.23.35.02.webmAm I missing something? |
@appgurueu Looks like a special situation. I did not test it with one item in the inventory. |
…s when moving over one item in inventory.
@appgurueu Video situation should be fixed now. Works also with pickup and I suggest testing with all inventory features which cams with #13146. |
Add compact, short information about your PR for easier understanding:
Fix Strange behavior when dragging&dropping from MTG creative inventory (since #13146) #13961
Update inventory in case move is not allowed and update
m_selected_amount
Strange behavior when dragging&dropping from MTG creative inventory (since #13146) #13961
To do
Ready for Review.
How to test
See #13961