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
Feature request: deterministic tray icon order #3573
Comments
If there's a good idea of how to achieve this that doesn't involve adding configuration, I think there's no reason not to do it. You mentioned categories, but off the top of my head I'm not aware of how such information is exposed. So we'd need a proper proposal that suggests a specific, available piece of information to use. (And no, keeping a list of known tray apps isn't a good idea... :-)) |
See if this works for you: orestisfl@6f920d6 |
@orestisf1993 That works great! |
@orestisf1993 I take that back, sorry; with your patch, i3bar appears to segfault when a floating window opens. |
Thank you, if you have more reproduction instructions let me know |
@anowlcalledjosh I found a bug in my patch here that could cause a segfault. Can you try it again? If you can't do you remember how you caused i3bar to crash here? Thanks |
I'm submitting a…
Current Behavior
System tray icon order is nondeterministic. It appears that new icons are usually added at the right, but applications executed on startup often race and put their icons in a different order each time, and restarting i3/i3bar causes all icons to be jumbled randomly.
Desired Behavior
Icons should be ordered in a predictable way.
Unity has this behaviour; it's not possible to reorder icons, but the same icons will always be placed in the same order (the order appears to be based partially on the icon category – "hardware" icons at the far-right, then "system services" and "communications", and "application" icons at the far-left).
#749 asks for a way to configure the order, and was closed because it's too much effort for little gain. Presumably making the order deterministic (but not configurable) would be less work, but the gain would not be much less – I don't really care much what order the icons end up in, it's just irritating to have to search through them every time I want to check the status of some application.
Environment
The text was updated successfully, but these errors were encountered: