3 ms·
> However, egui is an odd choice for desktop applications. It's completely non-native. I happened to immediately (pun intended) stumble with an example of this
by j1elo 3y ago
> However, egui is an odd choice for desktop applications. It's completely non-native.
I happened to immediately (pun intended) stumble with an example of this. Just by chance, I went straight to test the ComboBox (https://www.egui.rs/ https://www.egui.rs/), and I have the tendency of not just clicking to make the drop-down appear; instead, I click and hold, and only release after selecting the desired choice.
This doesn't work at all on egui: the ComboBox doesn't show its choices until the mouse button is released, not upon the initial mousedown press.
I guess there must be a thousand cuts like this, which is understandable, given that all functionality is implemented from scratch trying to imitate the native widgets we all know and use since forever.
- deleted 3y ago[deleted]
- Strom 3y agoIt's also difficult because what is the native behavior here? On Windows the different official Microsoft UI toolkits behave differently. For example the latest Windows 11 UI stuff works like egui in that it opens the dropdown on release, while older GDI stuff opens the dropdown on press, but won't let you make a choice until you release.
- willismichael 3y agoAfter reading this I tried click-and-hold on a folder in the bookmark bar in Chrome. Lo and behold, even Chrome doesn't do what you want. I completely agree about a thousand cuts, and I'm often the kind of wild-eyed idealist that wishes that everything would conform to some universal set of gui standards.
- cmrdporcupine 3y agoYep, now imagine you are visually or auditory impaired and need magnification or a screen reader. Accessibility always ends up on people's "I'll think about that later" bucket, and it's terrible.