<div dir="ltr">Hi,<div><br></div><div>Anyone could give some advice on what might have caused my issue that I didn't receive any event from org_kde_plasma_window_management and org_kde_plasma_virtual_desktop_management Wayland interfaces?</div><div><br></div><div>Thanks a lot,</div><div>Viet</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 12, 2024 at 9:36 PM Viet Dang <<a href="mailto:dangvd@gmail.com">dangvd@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Aleix,</div><div><br></div><div>So I have a follow-up question, if you don't mind:</div><div>Now I have bound org_kde_plasma_window_management and added an event listener with org_kde_plasma_window_management_add_listener.</div><div>However, I don't seem to receive any event (e.g. window_with_uuid or window).</div><div><br></div><div>The same with org_kde_plasma_virtual_desktop_management -- I don't seem to receive any event (e.g. desktop_created or desktop_removed).</div><div><br></div><div>Is there something that I'm missing?</div><div><br></div><div>Thanks a lot,</div><div>Viet</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 11, 2024 at 8:31 PM Viet Dang <<a href="mailto:dangvd@gmail.com" target="_blank">dangvd@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Thanks, Aleix, for the quick response.<div>I will do that (I guess also changing the exec line to an absolute path).</div><div><br></div><div>Cheers,</div><div>Viet</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 11, 2024 at 7:07 PM Aleix Pol <<a href="mailto:aleixpol@kde.org" target="_blank">aleixpol@kde.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Viet,<br>
You need to request the interface on the desktop file:<br>
<a href="https://invent.kde.org/plasma/plasma-workspace/-/blob/master/shell/org.kde.plasmashell.desktop.cmake?ref_type=heads#L74" rel="noreferrer" target="_blank">https://invent.kde.org/plasma/plasma-workspace/-/blob/master/shell/org.kde.plasmashell.desktop.cmake?ref_type=heads#L74</a><br>
<br>
Aleix<br>
<br>
On Thu, Jan 11, 2024 at 5:25 PM Viet Dang <<a href="mailto:dangvd@gmail.com" target="_blank">dangvd@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> I'm looking to port my dock (<a href="https://github.com/dangvd/crystal-dock" rel="noreferrer" target="_blank">https://github.com/dangvd/crystal-dock</a>) to Wayland and have some question on relevant Wayland interfaces:<br>
><br>
> On the latest KDE5, when I tried listing available Wayland interfaces, I couldn't see the window management interface (org_kde_plasma_window_management) -- I did see the layer shell and virtual desktop ones though.<br>
><br>
> Does it mean that this interface is not available for third party programs?<br>
><br>
> If this is the case, is there any plan for KDE Plasma 6 to either make this interface available, or expose these functionalities in KWindowSystem (like the case with X11)?<br>
><br>
> Thanks a lot,<br>
> Viet<br>
><br>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>