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

Dropping file from unstaged zone to stage zone on windows move file to Desktop location #79

Open
adaussy opened this issue Feb 4, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@adaussy
Copy link
Contributor

adaussy commented Feb 4, 2025

Version

7.1.0

Operating System

Windows

Eclipse version

4.27.0.RELEASE

Bug description

Since recently I have to face a weird bug when using the staging view in my Eclipse application. I'm not sure if it is related to EGIt, Eclipse or my computer, but I report it here in case someone have a workaround.

When I drag and drop a file from the "Unstage" zone to "Stage" zone, it seems that Windows is taking control and tries to move the file to the desktop location. It causes numerous issues and some end up by losing my file.

Image

Some other time it just forbid the DnD

Image

I have nothing displayed in the Error log view.

Thanks for your help.

Actual behavior

Either the file is moved to the desktop, or nothing happen.

I have the feeling that the zone of the "Unstage" zone is "transparent" like it does not get the focus or something like this.

Expected behavior

DnD the file should add it to the stage view

Relevant log output

None.

Other information

No response

@adaussy adaussy added the bug Something isn't working label Feb 4, 2025
@tomaswolf
Copy link
Contributor

Very strange. I cannot reproduce this.

4.27.0.RELEASE is an STS version. I use that one in an Eclipse 4.34.0 (had to install STS from Marketplace, since Windows Defender would refuse to let the binary downloaded from spring.io to run -- somehow it didn't like their signing key).

Might be some problem on your machine, or perhaps caused by some additional bundles you have installed?

@adaussy
Copy link
Contributor Author

adaussy commented Feb 7, 2025

I fear so... But I really don't know what.

If I find out I will report it here.

Thanks for your answer.

@Kellindil
Copy link
Contributor

This just started for me as well. I can no longer drop a file from "unstaged" to "staged" with the same results : windows is blocking the drop. Since this happens on old eclipses which I've used for long and which I haven't updated, this is most likely to a windows update currently being rolled out? I haven't seen this behavior outside of the "Git Staging" view so far.

@Kellindil
Copy link
Contributor

Update to this : this seems to be a symptom of the same bug affecting other products (such as adobe premiere - https://community.adobe.com/t5/premiere-pro-bugs/p-unable-to-freely-move-clips-and-audio-around-on-my-timeline-glitch-bug-or-setting/idi-p/15130146 or ITunes and Nero - https://answers.microsoft.com/en-us/windows/forum/all/2025-01-cumulative-update-preview-for-windows-11/4e99c958-ed6f-4764-a344-26e9eb770f96 ).

Seems to be due to a windows update breaking the drag coordinates when using multiple monitors with different DPI if I understand correctly. I could confirm that I could drag and drop to the "Staged Changes" when eclipse was on my main monitor instead of the second one.

For now, I fixed it by uninstalling update KB5051987 (which includes the problematic update, KB5050094).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants