<div dir="ltr"><div>X11 Classic</div><div>gb-qt5 BAD<br></div><div>gb-qt4 OK</div><div><br></div><div>Public Sub _new()<br><br>Shell "vlc"<br>Shell "nm-applet"<br><br>End<br><br>Public Sub Form_Open()<br><br>  X11Systray.Show(dwgSystemTray.Handle)<br>  <br>End<br><br>Static Public Sub X11Systray_Arrange()<br><br>  FMain.ArrangeTray<br>  <br>End<br><br>Public Sub ArrangeTray()<br><br>  Dim I As Integer<br>  Dim X, Y, H As Integer<br>  <br>  Debug<br>  X = 2<br>  Y = 2<br>  For I = 0 To X11Systray.Count - 1<br>    With X11Systray[I]<br>      Debug I;; .IconW;; .IconH<br>      If (X + .IconW) >= (Me.ClientW - 2) Then<br>        X = 2<br>        Y += H + 2<br>        H = 0<br>      Endif<br>      .Move(X, Y, .IconW, .IconH)<br>      H = Max(H, .IconH)<br>      X += .IconW + 2<br>    End With<br>  Next<br>  <br>End<br><br>Public Sub Form_Resize()<br> <br>  ArrangeTray<br><br>End<br></div><div><br></div><div><br></div><div><br></div><div><br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mié., 1 abr. 2020 a las 13:13, Benoît Minisini (<<a href="mailto:g4mba5@gmail.com">g4mba5@gmail.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 01/04/2020 à 21:05, herberth guzman a écrit :<br>
> <br>
>>>What does not work exactly?<br>
> <br>
> I have a classic system tray (x11)<br>
> with ubuntu 32 bits and gb-qt4 it works fine for me<br>
> <br>
> with ubuntu 64 bit and gb-qt5 it doesn't work<br>
> does not show anything in the system tray<br>
> <br>
> Error:<br>
> qt.qpa.xcb: Unhandled client message: "_NET_WM_DESKTOP"<br>
> FMain.ArrangeTray.28:<br>
> <br>
<br>
If you don't give more details, I can't help. Which system? Which <br>
desktop? How do you implement the system tray? Did you implement X11 <br>
protocol, DBus protocol, both? And so on...<br>
<br>
-- <br>
Benoît Minisini<br>
<br>
----[ <a href="http://gambaswiki.org/wiki/doc/netiquette" rel="noreferrer" target="_blank">http://gambaswiki.org/wiki/doc/netiquette</a> ]----<br>
</blockquote></div>