Open mickaelistria opened 1 year ago
@mickaelistria : I assume you are using Wayland. On RHEL 7.9 / X11 everything works fine for me, with latest master and with 4.27 release too.
Note: there was recently https://github.com/eclipse-platform/eclipse.platform.swt/pull/576 that was supposed to fix some DnD issues on Wayland, may be that caused regression here. @SyntevoAlex : FYI.
Thanks @iloveeclipse ; I ran the same IDE in Xephyr (so using x11 instead of Wayland) and I could drag and drop trimbars; so definitely a Wayland issue.
Note: there was recently #576 that was supposed to fix some DnD issues on Wayland, may be that caused regression here. @SyntevoAlex : FYI.
As @mickaelistria says, it is a problem also in 2022-12, so it seems unlikely that PR #576 caused the problem :-)
It's well known that Wayland doesn't let applications set the position of their top-level windows. Are these little draggable guys top-level windows?
If they are top-level windows, this probably never worked at all on Wayland.
Works for me in 2022-06 and doesn't work in 2022-12. So my recent commit is not guilty.
I confirm what @SyntevoAlex mentions, this feature is working fine, even on Wayland, in Eclipse 4.24 and was lost in 4.25. Some regression took place.
@mickaelistria I use DnD on Wayland and it works but there is a small "catch" - make sure that your drag operation is starts with small mouse move up otherwise it doesn't get detected on my machine.
@akurtakov I couldn't make it work. Note that I don't have issue with DND in general, it's really just the trimbar stuff that seems stuck.
@akurtakov I succeeded (after many attemps) to do something with the trick you recommend and confirm it can do the job; but the overall issue is still here
I'm wondering whether this one could be related to #177 and overall issue about some GTK3 method returning incorrect coordinates with Wayland.
Works for me in 2022-06 and doesn't work in 2022-12. So my recent commit is not guilty.
I confirm what @SyntevoAlex mentions, this feature is working fine, even on Wayland, in Eclipse 4.24 and was lost in 4.25. Some regression took place.
I tested in 2022-06, 2022-09 and 2024-03. Eclipse version 2022-06 works with Wayland. Versions 2022-09 and 2024-03 do not.
In case anyone needed a confirmation, it still reproduces in Eclipse 4.32 (java.vendor.version=Temurin-21.0.3+9) running on GTK+ 3.24.41 and Wayland 1.22.
Using I20230313-0110 on latest Fedora , I cannot drag and drop the trim bar elements to move them in other parts of the IDE. I tried to 2022-12 and I cannot do it as well.
I'm pretty sure that was possible not that long ago. I'll try older releases of Eclipse SDK, but I also suspect it can be an issue in OS events supports changed and the dragndrop not properly received by the trimbar. cc @mbooth101