Thanks Juha, in reverse order -
GTK3 should not be an issue, when I did the last Systray update for GTK3 we did not consider the traditional SysTray at all. From memory.
I'll make a test app later today (my time), cannot do it right now, sorry, bit pushed for time. But easy test, in designer drop a SysTray on the form, give it a an icon and assign a popup menu (thats important, the SysTray must have aan icon and a popup menu with at least one menu item).
Compile and run, on U2110 Gnome, the menu will popup but not where the user expects it.
@prof7bit, to clarify, two possible fixes for this situation -
1. Get Ubuntu to reverse decision to stop supporting old Systray. As they are the last distro to support it, seems unlikely. the issue is within the Desktop, Lazarus does what Lazarus has always done.
2. Apply my patch. its not something for the Lazarus packagers at Debian (or Ubunbu), then apps make with the patched Lazarus will work as expected. If we push the change I suggest to our Lazarus, eventually Debian will pick up that (they only take releases, never trunk or fixes) and once the fix is in Debian, Ubuntu will use it with their next release.
So, we can assume that Ubuntu has stopped tweaking Gnome to support the old Systray model. I doubt they will reverse that decision. They have also stopped shipping their own Unity based Appindicator, they now appear to ship Ayatana. Sadly, however, unlike other distros, U2110 X still reports it CAN do old systray when it cannot. So the autodetection code I had in there is useless. But its way past time we defaulted to AppIndicator anyway.
In the mean time, applications built using distro lazarus will have problems, packages built from "our" Lazarus will be OK. For my app, for example, to build in the Debian repo, I will have to try and apply my patch live during the remote build, no idea if I can even do that. Sigh...
Sorry if my post sounds a bit garbled, in a hurry....
Davo