From ofourdan at redhat.com Thu Dec 2 15:48:00 2021 From: ofourdan at redhat.com (Olivier Fourdan) Date: Thu, 2 Dec 2021 16:48:00 +0100 Subject: XWayland > Wayland Drag and Drop on Fedora 35 does not work. In-Reply-To: <4a009696-e14a-5bc5-3e77-c4f140987a16@oracle.com> References: <4a009696-e14a-5bc5-3e77-c4f140987a16@oracle.com> Message-ID: Hi Alexander, On Tue, Nov 30, 2021 at 6:53 AM Alexander Zvegintsev wrote: > > I can confirm that Drag and Drop in XWayland > Wayland direction does > not work for me on Fedora 35. > > It fails to find any window having XdndAware property(except for apps > running on XWayland). > > > Looks like that when it works(e.g. on Ubuntu 21.04 or Oracle Linux 8u5) > > Wayland display server communicates with XWayland, which provides a fake > XdndAware window to emulate XDND drop target. > > But it is not the case on Fedora 35(I didn't check any other Fedora > version). > > > The bug filed as https://bugzilla.redhat.com/show_bug.cgi?id=2027569 FTR, that was a regression in mutter in GNOME 41, now fixed upstream. https://gitlab.gnome.org/GNOME/mutter/-/issues/2042 Fixed with https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2124 Thank you for the detailed report and the reproducer, that was very valuable to do the bisection in git and find the first commit which introduced the regression! Cheers Olivier From neugens at redhat.com Thu Dec 2 16:53:11 2021 From: neugens at redhat.com (Mario Torre) Date: Thu, 2 Dec 2021 17:53:11 +0100 Subject: meeting today Message-ID: Sorry everyone, I won't be able to make it to the meeting today! I'll check the meeting notes however! Cheers, Mario -- Mario Torre Manager, Software Engineering, core OpenJDK Red Hat GmbH 9704 A60C B4BE A8B8 0F30 9205 5D7E 4952 3F65 7898 From alexander.zvegintsev at oracle.com Thu Dec 2 17:23:10 2021 From: alexander.zvegintsev at oracle.com (Alexander Zvegintsev) Date: Thu, 2 Dec 2021 18:23:10 +0100 Subject: [External] : Re: XWayland > Wayland Drag and Drop on Fedora 35 does not work. In-Reply-To: References: <4a009696-e14a-5bc5-3e77-c4f140987a16@oracle.com> Message-ID: Thank you for the quick fix! -- Thanks, Alexander. On 02/12/2021 16:48, Olivier Fourdan wrote: > Hi Alexander, > > On Tue, Nov 30, 2021 at 6:53 AM Alexander Zvegintsev > wrote: >> I can confirm that Drag and Drop in XWayland > Wayland direction does >> not work for me on Fedora 35. >> >> It fails to find any window having XdndAware property(except for apps >> running on XWayland). >> >> >> Looks like that when it works(e.g. on Ubuntu 21.04 or Oracle Linux 8u5) >> >> Wayland display server communicates with XWayland, which provides a fake >> XdndAware window to emulate XDND drop target. >> >> But it is not the case on Fedora 35(I didn't check any other Fedora >> version). >> >> >> The bug filed as https://urldefense.com/v3/__https://bugzilla.redhat.com/show_bug.cgi?id=2027569__;!!ACWV5N9M2RV99hQ!eToXbt9br_bCvKRJrqUZjvDrsMcuTmFwpG71sBmNyHs-9XsK7fNfMvkrWQpnNGRxDnO2yjEP$ > FTR, that was a regression in mutter in GNOME 41, now fixed upstream. > > https://urldefense.com/v3/__https://gitlab.gnome.org/GNOME/mutter/-/issues/2042__;!!ACWV5N9M2RV99hQ!eToXbt9br_bCvKRJrqUZjvDrsMcuTmFwpG71sBmNyHs-9XsK7fNfMvkrWQpnNGRxDoIRxqyE$ > > Fixed with > > https://urldefense.com/v3/__https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2124__;!!ACWV5N9M2RV99hQ!eToXbt9br_bCvKRJrqUZjvDrsMcuTmFwpG71sBmNyHs-9XsK7fNfMvkrWQpnNGRxDmD6EC86$ > > Thank you for the detailed report and the reproducer, that was very > valuable to do the bisection in git and find the first commit which > introduced the regression! > > Cheers > Olivier > From alexey.ushakov at jetbrains.com Wed Dec 29 15:37:43 2021 From: alexey.ushakov at jetbrains.com (Alexey Ushakov) Date: Wed, 29 Dec 2021 16:37:43 +0100 Subject: Adding some future plans for pure Wayland port on the wiki Message-ID: Hello, I?d like to discuss our future plans on pure Wayland support in OpenJDK. Here is the high level plan that I?d like to discuss and then put on the Wakefield wiki. Pure Wayland toolkit XWayland server provides limited capabilities for X11 desktop applications (see X11 Application Support and JDK-8269245 ). In order to get full support of the desktop features we need to implement a pure wayland client toolkit for java. Wayland architecture in many ways differs from X11, so we cannot reuse XAWT even for basic capabilities. The new toolkit should be implemented from scratch. Here are some major chunks of work: Event handling Dispatch native events on EDT, to avoid potential race conditions when state is updated both from EDT and toolkit thread. See the full proposal here Graphics devices support Onscreen/offscreen wayland surface management Adopt OGL pipeline for rendering on wayland surfaces Implement a new rendering pipeline based on Vulkan (for better performance) java.awt.Robot Sending input events Reading screen data (at least current java application windows) Client side decorations for windows Swing internal frames rendering code can be reused Best Regards, Alexey