Skip to content
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

Can't change the size of the stalonetray window upon launch or tray update #22

Open
bigrand opened this issue Jan 26, 2023 · 0 comments

Comments

@bigrand
Copy link

bigrand commented Jan 26, 2023

Describe the bug
Whatever options you use to launch stalonetray, it will always start with geometry: 75x50 and position itself in the center of the screen.

You can't change the size with resize mode (Sway), but you can if you enable all decorations with -d all and use your mouse to resize it; in that case, it will resize automatically to the size of the icons, but if the tray updates (another program icon is added/removed), it will revert to geometry: 75x50 and center itself again.

To Reproduce
I'm not sure what conditions cause this bug, but I believe it's caused by launching it with Xwayland. EndeavourOS Community Edition Sway (Wayland) is what I'm using.

This is how I'm launching it:
stalonetray -d all -bg "#0D0A15" -i 16 --log-level info --geometry 1x1+0+0 --grow-gravity W --icon-gravity E --max-geometry 3x1 -s 16 --scrollbars none

Current behavior
2023-01-26T18:06:34,607156494-05:00

Expected behavior
(I can only achieve this window size, using -d all so the title bar is enabled, but it shouldn't be needed)
2023-01-26T18:06:26,759650263-05:00

Log files
stalonetray_log.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant