-
-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Systray widget doesn't draw tray icon of xfce4-power-manager #1180
Comments
|
Oh i just realized i was using a modified build. but it shouldn't matter because i didn't change anything related to the systray widget.
I just tried that and I see no difference. |
i recommend you update your build first, since it's 41 commits behind master also, if i may ask: why are you removing the magic var? if you don't poll it it shouldn't matter whatsoever, this not being the case would be another bug also, if possible, can you test whether networkmanagerapplet works as expected? |
I synced my fork to the latest master. However, it seems that systray is completely broken now. I see no tray icon whatsoever with this version.
it was because i have a nfs mount which is not always available on the first few seconds due to network setup delay. in that case,
I can confirm that |
regarding your network mounts: that's weird, i don't think that's supposed to be the case since i assumed that command should only run when the var is actually used. regarding the tray: before i fully attempt to revert the update: |
I bisected the recent commits and found 71ba502 is the first bad commit. The only thing interesting in the error log is:
|
managed to reproduce it, will investigate #1170 now; after that, i might be able to look into your specific issue. |
thank you for looking into this! i'm happy to help if needed :) |
can you comment that on the pr as well? i assume your original problem persists, right? |
commented.
yup. |
that's unfortunate. |
bumping this issue since #1202 might be related in some way, the output of the |
according to #1188 (comment), #1203 should fix this issue. |
i tried #1203 but unfortunately the issue wasn't fixed on the branch.
could you show me what how to collect the information needed? i'm not familiar with dbus nor xdg notifier protocol. |
sure, can you give me the output of the first goal is to determine the dbus objects that the power manager announces also, two more things:
|
here's the output:
right. the eww log doesn't show any relevant.
sure. i can't do it now but i will test it out tomorrow and let you know. |
I tried stray but it doesn't show the icon of xfce4-power-manager. |
I think it would also be interesting to know which of the applications (probably one that follow the non-ayatana format, so one where the objects are
There you can look for the the Then double check if a service with that Note that the service names depend on the order in which they are started within the session, so they are unstable and can change between (service) restarts. Then once you know which service Then once you know all the objects within the service you can introspect all the individual objects using |
Thank you, here's the relevant output:
So there is no services by xfce4-pm registered as status notifier items. However, stalonetray can display its tray icon without an issue. It appears that xfce4-pm doesn't use I grepped the source of xfpm and found the relevant code for showing tray icon. From my limited research it looks like XEmbed protocol (correct me if i'm wrong). Searching with keyword "xembed" i saw some discussions about the topic when systray was introduced: #111. Apparently XEmbed protocol is not supported. Is there any hope to see this legacy protocol implement on eww? |
sorry for taking so long to get back to this issue, i was occupied by my personal life. #111 (comment) mentions that the protocol is legacy and shouldn't really be used anyways. #111 (comment) mentions a workaround, are you able to try it out? |
I tried xembed-sni-proxy but the result is not satisfactory. The icon indeed shows up on eww systray, but the icon image shown is just the fallback icon. Interactivity (left click, right click) also doesn't seem to work. So overall a bad result. That said, although I'd like to see XEmbed supported from a user's perspective, I fully understand the complexity it may add for little gain. For this case, I'm actually perfectly fine without the tray icon for xfce4-power-manager. Thanks a lot for your support this far, I appreciate it :) |
thank you for your understanding. feel free to open a feature request for the protocol, though i doubt it will be really addressed sadly :/ |
Checklist before submitting an issue
Description of the bug
I noticed that some tray icons are not displayed with eww's systray widget. One instance is the tray icon of xfce's power manager. I report it as a bug of eww because
stalonetray
can pick up the tray icon as expected.Reproducing the issue
Launch
xfce4-power-manager
, make sure "System tray icon" is toggled on fromxfce4-power-manager-settings
.Notice the tray icon for xfce4-power-manager doesn't show up.
Launch
stalonetray
. Notice the tray icon is shown on thestalonetray
as expected.Expected behaviour
The icon should show in the systray widget.
Additional context
eww 0.6.0 73e31e34853a3ba158e3ddc0b28072a1836703dd
The text was updated successfully, but these errors were encountered: