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

[regression in 4.24..4.25] DND of trim bar elements (perspective switch, launch group...) don't work properly on Wayland #589

Open
mickaelistria opened this issue Mar 15, 2023 · 11 comments
Labels
bug Something isn't working Linux/GTK Happens on Linux regression Something that used to work Wayland

Comments

@mickaelistria
Copy link
Contributor

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

@iloveeclipse
Copy link
Member

@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.

@iloveeclipse
Copy link
Member

Note: there was recently #576 that was supposed to fix some DnD issues on Wayland, may be that caused regression here. @SyntevoAlex : FYI.

@mickaelistria
Copy link
Contributor Author

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.

@iloveeclipse iloveeclipse transferred this issue from eclipse-platform/eclipse.platform.ui Mar 15, 2023
@iloveeclipse iloveeclipse changed the title drag and drop of trim bar elements (perspective switch, launch group...) don't work any more drag and drop of trim bar elements (perspective switch, launch group...) don't work on Wayland Mar 15, 2023
@iloveeclipse iloveeclipse added bug Something isn't working Linux/GTK Happens on Linux Wayland labels Mar 15, 2023
@mbooth101
Copy link
Member

mbooth101 commented Mar 15, 2023

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?

trim-drag.webm

If they are top-level windows, this probably never worked at all on Wayland.

@SyntevoAlex
Copy link
Member

Works for me in 2022-06 and doesn't work in 2022-12. So my recent commit is not guilty.

@mickaelistria
Copy link
Contributor Author

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 mickaelistria added the regression Something that used to work label Mar 16, 2023
@mickaelistria mickaelistria changed the title drag and drop of trim bar elements (perspective switch, launch group...) don't work on Wayland [regression between 4.24 and 4.25] DND of trim bar elements (perspective switch, launch group...) don't work on Wayland Mar 16, 2023
@akurtakov
Copy link
Member

@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.

@mickaelistria
Copy link
Contributor Author

@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.

@mickaelistria mickaelistria changed the title [regression between 4.24 and 4.25] DND of trim bar elements (perspective switch, launch group...) don't work on Wayland [regression in 4.24..4.25] DND of trim bar elements (perspective switch, launch group...) don't work properly on Wayland Mar 16, 2023
@mickaelistria
Copy link
Contributor Author

@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

@mickaelistria
Copy link
Contributor Author

I'm wondering whether this one could be related to #177 and overall issue about some GTK3 method returning incorrect coordinates with Wayland.

@manoda0
Copy link

manoda0 commented May 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Linux/GTK Happens on Linux regression Something that used to work Wayland
Projects
None yet
Development

No branches or pull requests

6 participants