-
Notifications
You must be signed in to change notification settings - Fork 920
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
"Blessed" way to do things out of winit
s scope? (winit-extras
)
#2160
Comments
Third alternative is to simply increase the scope, though that brings other problems (such as not having enough maintainer time to support it and general feature creep) - though creating a new crate under the @rust-windowing umbrella also kinda exhibits these problems... |
note that the tauri maintainers have already forked winit to add menus / clipboards etc in tao |
I would, personally, support this. I was actually about to make my own extension crate to do this, but I feel having an official endorsement from @rust-windowing would boost its legitimacy. |
There are multiple crates trying to offer various desktop environment features that winit lacks. I often find myself questioning why these need to be separate from the window management library, and what value it has. IMHO, any of these are obvious candidates for inclusion in a winit-extras crate:
|
Desktop notifications in any form are out of scope, they don't require the windowing system in the first place for what I know. Tray is the same thing I guess, though might not be entirely. Don't want to deal with it inside the winit though. I'm not sure about what type of dialogs are you talking about, but such usually is a part of the GUI toolkit, the dialog is a regular window, so it's all out of scope for winit, I'd say. Winit should collect essential features which is hard to get right in such 3d party crates, we're not the GUI toolkit, but the windowing library, you built your toolkit on top of it. |
Well then it's a good thing this ticket is for tracking "things out of |
There are a lot of things out of
winit
's scope that are useful (and maybe expected by most people that we provide), here's a few examples I've stumbled across, though there are many more:Window
#2156)The readme already notes this, and directs users to various graphics libraries, but these are not always what the user wants (or their graphics library may not support it).
It has been suggested we make a
winit-extras
crate or similar under the @rust-windowing umbrella (name up for bikeshedding), to house these components; this would help us with:winit
versionThe alternative is just to make crates for each of these things, and document them in the wiki (though for some of the smaller features like file open events it seems kinda dumb).
The text was updated successfully, but these errors were encountered: