Repository navigation
[stat-gui][ui] Improve macOS startup info focus and application icon - #102
Conversation
|
I can't test this myself, but it looks good to me. My only comment is that the logo image is a bit off. |
|
When you say a "bit off", do you mean slightly different design than the original one? I can create more closer. Slightly different in 3D angle looks better in the menu bar than flat version we have for docs purposes. But not designer by any means :) On Linux desktop, pip or pixi installation, works same way with logo. Just take 5-6 seconds on first launch. |
|
To be more specific about the logo, the design was made to looks like there were three sets of traces with four frames each. In the generated logo in this PR, the main part of it the front 4 frames with STAT spelled out looks OK (words and colors). But the 2 sets of 4 frames behind it aren't supposed to be the same colors. The idea was to have 2 more sets of 4 different colored frames, just as you would get different colors in different STAT-merged traces. The frames also weren't intended to be 3 dimensional either. In fact, if you look closely there's a weird blend going on between the first set and second sets and also the second and third sets. Again, very picky, but as the designer of the logo, I see the slight AI misinterpretation. |
|
Yeah, I did notice. Completely understandable! Do you have high resolution version of gif or png version? |
|
much, much, better. Thanks! Please let me know if this is good to go. |
f2db480 to
0785e24
Compare
- Request activation after a GTK window is mapped, using the API available on the running macOS version. - Declare the macOS bindings for pip and Pixi and keep the GUI usable when they are unavailable.
0280d5e to
1d1c55e
Compare
|
Yes, this is good to merge. CI should complete soon. |
1d1c55e to
07e5a65
Compare
|
looks like the one check timed out due to external circumstances. I think this should be OK to merge. |
|
yes, lets merge this. P.S. if macOS-15-arm runners will be limited, especially during PST time, we can remove that. Lets see for few days how their availability looks like and we can decide. |
- Set the shared GTK window icon and use AppKit to set the macOS Dock icon. - Keep both icons in data/icons and package them for pip and native installations, allowing startup to continue when icon setup fails. - Register the packaged STAT icon during GUI startup for both pip and Pixi installs. - Keep the desktop entry out of the app menu and preserve existing user launchers.
07e5a65 to
9aa8038
Compare

Summary
This is not critical, but it was a bit annoying that launching the standalone STAT GUI on macOS left its window behind
other applications. It was also a bit straightforward to locate STAT in the Dock because it used the default Python launcher icon:
and now we see:
same way on Ubuntu:
data/icons/and update packaging, source lookup, README, and the Linux CI source copy.Note
stat-guiandstat-viewlocally on macOS with Homebrew/venv and Pixi installations.Same for Ubuntu/Linux behavior is not "cleanest" so I will PR that separately.For Ubuntu, post-startup hook looks reasonable. So including here.