Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-10

Tray icon not working on Ubunut

11 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Anthony Walter

What's the status of TTrayIcon and Ubuntu/Unity?

Today I tried to create an application with a TTrayIcon on Ubuntu with the latest LCL sources and the TTrayIcon doesn't show. I think it's been broken for years.

Also there is no systray-whitelist to set to 'all' in gconf any longer. -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151006/506a543f/attachment.html>

Reply by email

Michael Van Canneyt
to Anthony Walter
Anthony Walter wrote 5 lines
What's the status of TTrayIcon and Ubuntu/Unity? Today I tried to create an application with a TTrayIcon on Ubuntu with the latest LCL sources and the TTrayIcon doesn't show. I think it's been broken for years.

It works just fine on Kubuntu.
It's more likely that unity has been broken for years... :)

Michael.

Reply by email

Luca Olivetti
to Michael Van Canneyt

El 06/10/15 a les 23:08, Michael Van Canneyt ha escrit:

Show quoted text 13 lines
On Tue, 6 Oct 2015, Anthony Walter wrote: > What's the status of TTrayIcon and Ubuntu/Unity? > > Today I tried to create an application with a TTrayIcon on Ubuntu with > the > latest LCL sources and the TTrayIcon doesn't show. I think it's been > broken > for years. It works just fine on Kubuntu.

But only with the qt widgetset

Bye

Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007

Reply by email

Michael Van Canneyt
to Luca Olivetti
Luca Olivetti wrote 17 lines
El 06/10/15 a les 23:08, Michael Van Canneyt ha escrit: > > > On Tue, 6 Oct 2015, Anthony Walter wrote: > >> What's the status of TTrayIcon and Ubuntu/Unity? >> >> Today I tried to create an application with a TTrayIcon on Ubuntu with >> the >> latest LCL sources and the TTrayIcon doesn't show. I think it's been >> broken >> for years. > > It works just fine on Kubuntu. But only with the qt widgetset

No. I use the GTK 2 widgetset on Kubuntu. I've never used Qt yet.

Michael.

Reply by email

Graeme Geldenhuys
to Michael Van Canneyt: It works just fine on Kubuntu. It's more likely that unity has been broken for years... :)
Michael Van Canneyt wrote
It's more likely that unity has been broken for years... :)

+1

Exactly correct. This was a known problem from 3+ years ago (I remember reading about it years back). Canonical changed something in Unity's tray area, and it broke loads of applications using the tray area. A quick internet search will reveals stacks of reports on this.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Luca Olivetti
to Michael Van Canneyt: No. I use the GTK 2 widgetset on Kubuntu. I've never used Qt yet. Michael.

El 07/10/15 a les 10:30, Michael Van Canneyt ha escrit:

Show quoted text 6 lines
>> It works just fine on Kubuntu. > > > But only with the qt widgetset No. I use the GTK 2 widgetset on Kubuntu. I've never used Qt yet.

Really, it doesn't work here with the gtk2 widgetset, only with qt. kubuntu 15.04, x86_64, with plasma 5.3.2

Bye

Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007

Reply by email

Luca Olivetti
to Luca Olivetti

El 07/10/15 a les 17:08, Luca Olivetti ha escrit:

Show quoted text 11 lines
El 07/10/15 a les 10:30, Michael Van Canneyt ha escrit: >>> It works just fine on Kubuntu. >> >> >> But only with the qt widgetset > > No. I use the GTK 2 widgetset on Kubuntu. I've never used Qt yet. Really, it doesn't work here with the gtk2 widgetset, only with qt. kubuntu 15.04, x86_64, with plasma 5.3.2

Though the same program, with the gtk2 widgetset, shows the tray icon in mageia 5 (with plasma 4.3.something).

Bye

Luca Olivetti Wetron Automation Technology http://www.wetron.es/ Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007

Reply by email

Michael Van Canneyt
to Luca Olivetti: El 07/10/15 a les 10:30, Michael Van Canneyt ha escrit: Really, it doesn't work here with…
Luca Olivetti wrote 11 lines
El 07/10/15 a les 10:30, Michael Van Canneyt ha escrit: >>> It works just fine on Kubuntu. >> >> >> But only with the qt widgetset > > No. I use the GTK 2 widgetset on Kubuntu. I've never used Qt yet. Really, it doesn't work here with the gtk2 widgetset, only with qt. kubuntu 15.04, x86_64, with plasma 5.3.2

I use plasma 4.

Michael.

Reply by email

Michael Van Canneyt
to Luca Olivetti: El 07/10/15 a les 17:08, Luca Olivetti ha escrit: Though the same program, with the gtk2…
Luca Olivetti wrote 15 lines
El 07/10/15 a les 17:08, Luca Olivetti ha escrit: > El 07/10/15 a les 10:30, Michael Van Canneyt ha escrit: > >>>> It works just fine on Kubuntu. >>> >>> >>> But only with the qt widgetset >> >> No. I use the GTK 2 widgetset on Kubuntu. I've never used Qt yet. > > Really, it doesn't work here with the gtk2 widgetset, only with qt. > kubuntu 15.04, x86_64, with plasma 5.3.2 Though the same program, with the gtk2 widgetset, shows the tray icon in mageia 5 (with plasma 4.3.something).

There is your answer...

If the desktop environments start to break standards, there is little we can do.

Michael.

Reply by email

Anthony Walter
to Michael Van Canneyt: There is your answer... If the desktop environments start to break standards, there is…

In the future one thing we can do, if the desktop environment is popular enough (I'd argue that Ubuntu is the most popular Linux for desktop users distribution) is:

* Make a note of the problem
* Provide links to resources where people could start if they want to work on a fix

Regarding point #1, on this page I see nothing noting the problem, even though it;s been in existence since Unity was made the default interface in 2011 (more than four years ago):

http://wiki.freepascal.org/TrayIcon#Help.2C_Bug_Reporting_and_Feature_Request

Regarding point #2, here is some information which we could maybe link to in the wiki or some other place of prominence:

https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20151007/e6c4455f/attachment.html>

Reply by email