Skip to content
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

Most drag and drop functionality does not work #38312

Closed
Tracked by #37734
verdog opened this issue Apr 28, 2020 · 11 comments
Closed
Tracked by #37734

Most drag and drop functionality does not work #38312

verdog opened this issue Apr 28, 2020 · 11 comments

Comments

@verdog
Copy link
Contributor

verdog commented Apr 28, 2020

Godot version: 4.0 (commit abf5132)
OS/device including version: Manjaro Linux/RTX 2060
Issue description:
Functionality via dragging and dropping doesn't work. It almost looks as if it doesn't notice me releasing the mouse button. In the gif below, you can see that after I try to drag an image to the texture of a sprite and put my mouse back into the resources window, the window still scrolls with my mouse as if I was holding down the left mouse button.
Steps to reproduce:
dragdrop

@EricEzaM
Copy link
Contributor

EricEzaM commented Apr 28, 2020

I have not experienced it impact my drag and drop capabilities, but I have experienced the window still scrolling with my cursor when I have moved away from it.

@HaSa1002
Copy link
Contributor

This issue seems to be specific to the linux display server.

@akien-mga
Copy link
Member

akien-mga commented Apr 29, 2020

Confirmed on KDE Plasma with KWin/X11.

@Anutrix
Copy link
Contributor

Anutrix commented May 9, 2020

I have not experienced it impact my drag and drop capabilities, but I have experienced the window still scrolling with my cursor when I have moved away from it.

Same for me on Windows.

the window still scrolls with my mouse as if I was holding down the left mouse button.

This is the behaviour I am experiencing but couldn't find drag and drop issues.

@pouleyKetchoupp
Copy link
Contributor

I can confirm dragging & dropping an image file into a texture property doesn't work on Windows either (it keeps the "disabled" icon as if it was a forbidden action).

@reduz
Copy link
Member

reduz commented Jul 3, 2020

Drag and Drop works fine for me on Windows, I wonder why is it different for you guys.
I did a small PR to improve this on X11 but it still fails for DND across multiple windows

@pouleyKetchoupp
Copy link
Contributor

For the drag and drop on Windows, I've just tested again on latest master (597b268) and it's working again for me.

@akien-mga akien-mga changed the title [4.0] Most drag and drop functionality does not work Most drag and drop functionality does not work Sep 8, 2020
@KoBeWi
Copy link
Member

KoBeWi commented Mar 21, 2021

For me (Windows 10) the issue is fixed when I resize the window:
Issue

@snailrhymer
Copy link
Contributor

Similarly to KoBeWi's above, it coincides with offset issues (#45740) for me. If I correct my mouse position for the offset I see in the tooltips, drag and drop works as expected:

drag_and_drop_offset_example.mp4

(Windows, v4.0.alpha1.official [31a7ddb])

@KoBeWi
Copy link
Member

KoBeWi commented Feb 5, 2022

This is fixed on Windows after #54645
Does the issue still occur on other systems?

@snailrhymer
Copy link
Contributor

I can't reproduce it on Linux

@KoBeWi KoBeWi closed this as completed Jul 1, 2022
Repository owner moved this from To Assess to Done in 4.x Priority Issues Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

10 participants