! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Ability to show a time value next to a tray icon?
Status:
RESOLVED: WONTFIX
Product:
Xfce4-statusnotifier-plugin
Component:
General

Comments

Description Or Schiro 2018-09-26 15:45:19 CEST
Dear all, 

I am using an application called Safe Eyes [1]. 

It has an option to show the next break time next to its tray icon. [2]

On GNOME with the AppIndicator extension (developed by Ubuntu), this does show the next break time next to the tray icon. [3]

On Xfce, however, the next break time is not shown [4]. 

Is this something we could address and improve on Xfce?

Looking forward to your thoughts and feedback. 

Yours

[1] https://github.com/slgobinath/SafeEyes
[2] https://i.imgur.com/nOLILq7.png
[3] https://user-images.githubusercontent.com/4003168/43900602-63c36080-9bb3-11e8-83be-dcdee97e0acd.png
[4] https://i.imgur.com/fUMrv4T.png
Comment 2 Andre Miranda editbugs 2018-09-27 03:42:32 CEST
Oh sorry, ignore my previous comment.
Comment 3 Andre Miranda editbugs 2018-09-27 03:48:09 CEST
Odd, the same problem occurs when using status notifier and notification area.
Comment 4 Or Schiro 2018-10-04 13:44:45 CEST
I can confirm that it's also not working with xfce4-statusnotifier-plugin. 

Any ideas what GNOME AppIndicator does differently to show the next break time next to the icon?

Asking differently, is this a shortcoming of the Xfce tray icon implementation or should this rather be addressed by the application Safe Eyes?
Comment 5 vladimir 2018-10-04 15:54:42 CEST
and what exactly xfce4-time-out-plugin does not suit? time to break shows
Comment 6 Or Schiro 2018-10-04 16:14:43 CEST
I didn't even know of the existence of this cool plugin. Thanks for sharing, vladimir!

Yet it's a workaround using a different software, not addressing the initial problem.
Comment 7 Andre Miranda editbugs 2018-10-10 04:34:50 CEST
Created attachment 8023 
sample.py

The attached sample is enough to reproduce this bug.
I glanced over notification area plugin's source and it seems the label string is not considered.
Not sure it's an incomplete implementation or if the plugin doesn't support AppIndicator at all, since the code only deals with X11 windows.
Comment 8 Or Schiro 2018-10-10 09:21:20 CEST
Thanks for reproducing the bug, Andre! 

I don't understand the exact technicalities.

Can you outline the next steps?
Comment 9 Andre Miranda editbugs 2018-10-14 01:03:19 CEST
I found out that this label is called "XAyatanaLabel", from what I could gather, that label is not part of fd.o's StatusNotifierItem[1], looks like an Ayatana[2] extension.

Since SNI and Ayatana are dbus-based, I don't think the panel's notification area is going to support it any time soon, not until a full rewrite, so our best bet is statusnotifier-plugin.
I opened Bug 14759 so we can track this improvement for the correct component.

Finally, I'm not maintainer of neither components, therefore I won't close this bug and I can't promise to implement label support for statusnotifier-plugin.

1 - https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierItem
2 - https://ayatanaindicators.github.io
Comment 10 Or Schiro 2018-10-14 19:55:04 CEST
> I opened Bug 14759 so we can track this improvement for the correct component.

Thank you, Andre!!
Comment 11 Simon Steinbeiss editbugs 2018-11-17 01:21:38 CET
As this issue will never by addressed in the panel's systray plugin, I re-assigned the issue to statusnotifier-plugin.

Thanks for investigating Andre!
Comment 12 Andre Miranda editbugs 2018-11-18 04:28:27 CET
You are welcome!
Since there's a bug already for statusnotifier-plugin, this one is now redundant, so I'm closing in favor of Bug 14759.

Bug #14725

Reported by:
Or Schiro
Reported on: 2018-09-26
Last modified on: 2018-11-18

People

Assignee:
Viktor Odintsev
CC List:
3 users

Version

Attachments

sample.py (582 bytes, text/x-python)
2018-10-10 04:34 CEST , Andre Miranda
no flags

Additional information