-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Replace UI confirmations and alerts from native_dialog with own iced based implementation #291
Comments
Hmm, I'm surprised it doesn't have a way to do that normally.
For Ludusavi, my gut feeling is that I'd rather keep it simple and stick to That said, I think it's definitely something that people using Iced could be interested in, so an
I'd vote for the mutex. I think
Not offhand. Since |
Indeed I could, but it would require other users to do the same. I assume most will just want it to work with the existing controls. I don't see zenity support gamepads at the moment.
It does, but it is kind of a media break. Having to touch the screen which is a bit of an inconvenience when playing with the device in my hands. Some games - e.g. Horizon Zero Dawn - work very well on the Steam Deck and I played it with the deck connected to my living room TV. Everything works using the gamepad controls, but for confirming the backup, I would have to go to the TV where the device is, push the button and then return to my comfy sofa. Very inconvenient :) Even on my PC where I use Heroic, it is a media break for games played with controller only (put the controller away, reach for the mouse, target the button, ...).
I think it would work with such bindings, but I don't know ATM where to configure it in Linux...
When selecting files and folders one interacts with the system. I personally very much disliked the file selection dialogs which came with the first versions of Java. Then we hat Qt based file dialogs. Gnome has one, too. For this use case I also expect the dialog to match my system. But the confirmations are interactions with the application and I would be fine for them to match the style of the application.
Thanks for the feedback! I will continue to explore the idea a bit further - maybe I can get it to work with a gamepad. It would really make things feel a bit more integrated. |
And then I accidentially closed this issue ... |
And blocked due to: rust-windowing/winit#2431 which is fixed in winit 0.29.0 which in turn has yet to be picked up by iced and then by ludusavi. Closing this for now to keep list of open issues low. Will revisit at a later time. PS: also somewhat related: iced-rs/iced#27 |
What's your idea?
To warm up with iced [no pun intended], I am exploring how one can implement simple alert and confirmation dialogs with iced. In the long run this would give ludusavi more control over the UI (I hope to be able to confirm dialogs using gamepad controls on the Steam Deck).
So far I manage to open a window and get the state of a cancel or ok button pressed here: https://github.com/sluedecke/iced-dialog/tree/master
Mind having a look at it and provide some feedback regarding these items?
iced::Application
?TIA
The text was updated successfully, but these errors were encountered: