Good job! :) Aleix On Wed, Jan 17, 2024 at 4:44=E2=80=AFPM Viet Dang wrote: > > Last update on this: the root cause of my issue was that I did not use th= e existing wl_display (through the QNativeInterface) but I created a new on= e by calling wl_display_connect. Now I do the former and all is good (ofc n= o need to call wl_display_dispatch). > > Thanks, > Viet > > > On Tue, Jan 16, 2024 at 7:30=E2=80=AFPM Viet Dang wrot= e: >> >> Just wanted to update that I fixed it by calling wl_display_dispatch() a= fter adding the listener: then I got all the events. >> >> Thanks, >> Viet >> >> >> On Mon, Jan 15, 2024 at 9:35=E2=80=AFPM Viet Dang wro= te: >>> >>> Thanks Aleix, I'll look into it. >>> Viet >>> >>> >>> On Mon, Jan 15, 2024 at 5:54=E2=80=AFPM Aleix Pol wr= ote: >>>> >>>> I guess you can check with WAYLAND_DEBUG=3D1 what's going on. You migh= t >>>> find something. >>>> Also check KWin's logs. >>>> >>>> Aleix >>>> >>>> On Mon, Jan 15, 2024 at 6:41=E2=80=AFPM Viet Dang w= rote: >>>> > >>>> > Hi, >>>> > >>>> > Anyone could give some advice on what might have caused my issue tha= t I didn't receive any event from org_kde_plasma_window_management and org_= kde_plasma_virtual_desktop_management Wayland interfaces? >>>> > >>>> > Thanks a lot, >>>> > Viet >>>> > >>>> > >>>> > On Fri, Jan 12, 2024 at 9:36=E2=80=AFPM Viet Dang = wrote: >>>> >> >>>> >> Hi Aleix, >>>> >> >>>> >> So I have a follow-up question, if you don't mind: >>>> >> Now I have bound org_kde_plasma_window_management and added an even= t listener with org_kde_plasma_window_management_add_listener. >>>> >> However, I don't seem to receive any event (e.g. window_with_uuid o= r window). >>>> >> >>>> >> The same with org_kde_plasma_virtual_desktop_management -- I don't = seem to receive any event (e.g. desktop_created or desktop_removed). >>>> >> >>>> >> Is there something that I'm missing? >>>> >> >>>> >> Thanks a lot, >>>> >> Viet >>>> >> >>>> >> On Thu, Jan 11, 2024 at 8:31=E2=80=AFPM Viet Dang wrote: >>>> >>> >>>> >>> Thanks, Aleix, for the quick response. >>>> >>> I will do that (I guess also changing the exec line to an absolute= path). >>>> >>> >>>> >>> Cheers, >>>> >>> Viet >>>> >>> >>>> >>> >>>> >>> On Thu, Jan 11, 2024 at 7:07=E2=80=AFPM Aleix Pol wrote: >>>> >>>> >>>> >>>> Hi Viet, >>>> >>>> You need to request the interface on the desktop file: >>>> >>>> https://invent.kde.org/plasma/plasma-workspace/-/blob/master/shel= l/org.kde.plasmashell.desktop.cmake?ref_type=3Dheads#L74 >>>> >>>> >>>> >>>> Aleix >>>> >>>> >>>> >>>> On Thu, Jan 11, 2024 at 5:25=E2=80=AFPM Viet Dang wrote: >>>> >>>> > >>>> >>>> > Hi, >>>> >>>> > >>>> >>>> > I'm looking to port my dock (https://github.com/dangvd/crystal-= dock) to Wayland and have some question on relevant Wayland interfaces: >>>> >>>> > >>>> >>>> > On the latest KDE5, when I tried listing available Wayland inte= rfaces, I couldn't see the window management interface (org_kde_plasma_wind= ow_management) -- I did see the layer shell and virtual desktop ones though= . >>>> >>>> > >>>> >>>> > Does it mean that this interface is not available for third par= ty programs? >>>> >>>> > >>>> >>>> > If this is the case, is there any plan for KDE Plasma 6 to eith= er make this interface available, or expose these functionalities in KWindo= wSystem (like the case with X11)? >>>> >>>> > >>>> >>>> > Thanks a lot, >>>> >>>> > Viet >>>> >>>> >