-
Notifications
You must be signed in to change notification settings - Fork 98
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
Shuffled tray icon order after SIGHUP #242
Comments
xxkb is not very conformant anymore, therefore it won't behave as well as other tray icons. In theory one could write a script to suspend all tray apps and then after restarting icewm enabling the tray apps in the proper order with a little delay inbetween. This script could be called by a user defined icewm hotkey to restart icewm. |
The 1.4.2 version doesn't have this ordering bug or disappearing xxkb icon. ps.: Some terminal windows gets swapped after SIGHUP, but i wrote a script to store all window positions and i can restore them. (1.4.2 also has this "effect".) But there is no utility for system tray. :-/ |
1.4.2 doesn't have reordering of tray icons on icewm restarts because it uses a separate tray process which doesn't restart. You can still use that design by setting a compile time option. You mean their position on the taskbar gets swapped? Controllable taskbar positions seems to be a wish by many, so we could have some ideas on how this best be controlled. |
Which compile time option is that? No, I mean the window positions. I have 5-6 rxvt and the first swaps with the second or simply overlaps it by pixel accuracy. The same effect happens after changing the desktop geometry (enable 2nd monitor). |
CONFIG_EXTERNAL_TRAY I can't reproduce that rxvt swap sofar. That makes it impossible to fix for me. I remember some changes on restart (not by me for sure) a while ago which changed restart effects, e.g. #190 for one. |
Sorry, I have no luck with CONFIG_EXTERNAL_TRAY :-/
|
UPDATE: I did a quickfix for that. Disabling FRIBIDI and patching
Now I got back the good old icewmtray, but xxkb has no direct support for background again. :-/ update: patch for compiling icewmtray: |
Pixmap added to icetray.cc to make it look nicer. |
Uhm, I always considered the external icewmtray thingie PITA and I was happy when it was gone. But if somebody is interested, I will review the patch and incorporate it, no problem. |
@Code7R I could live happy with internal tray if it keeps the order of icons after SIGHUP, or a command line utility which allows me to change the order of icons. |
This commit was no so perfect :-<
|
the external is unmaintained. |
Internal tray or external tray, restarting the tray results in a different ordering, so, not really a bug. In fact, most system trays (such as those based on gnome wnck) do reorder on restart. Nevertheless, it is a relatively minor enhancement. Simply need to support |
Where are these properties documented? |
xxkb might not be looking for a new systray to appear after the one it was in disappears. |
Ok, then i'll write an xxkb bugreport. Thx for this feature! It helped a lot, because i have a lot |
Or you could restart xxkb when icewm restarts like this:
|
I take care the order of my tray icons:
![gkrellshoot_2018-03-05_182111](https://user-images.githubusercontent.com/16356124/36992262-aa9400e8-20aa-11e8-9222-2f4c4ed27b75.png)
![gkrellshoot_2018-03-05_192155](https://user-images.githubusercontent.com/16356124/36992272-b4eac9e6-20aa-11e8-8708-1e8ba150a450.png)
![gkrellshoot_2018-03-05_192208](https://user-images.githubusercontent.com/16356124/36992289-bbf0d3ac-20aa-11e8-8073-8cdeaa34cd2c.png)
But after a
killall -HUP icewm
...and again:
xxkb is still running, but it losts its icon. :-/
ps: Are there any command line utility to arrange the icons in tray?
The text was updated successfully, but these errors were encountered: