winit icon indicating copy to clipboard operation
winit copied to clipboard

Note the platform versions that `winit` supports

Open madsmtm opened this issue 1 year ago • 2 comments

Currently only macOS and Windows, since I somewhat know how versioning works there. Missing iOS and Android! Would it make sense to do a similar thing for Wayland and X11?

I think we should do something similar for WASM, but unsure how, maybe it should be as verbose as specifying each browser an the version that it is expected to work on?

Spawned by https://github.com/rust-windowing/winit/pull/2409#issuecomment-1207266938.

madsmtm avatar Aug 10 '22 15:08 madsmtm

maybe it should be as verbose as specifying each browser an the version that it is expected to work on?

I think it could make sense to list what browsers we specifically try to support, and since browsers need to be updated on a regular basis, I think it's not that unreasonable to only really try to target the latest stable version (and maybe one or two older versions if there's a desire and bandwidth for it) of each. In practice, I suspect this ends up being mainly Chrome and Firefox, and maybe Safari, but I'm unsure if anyone who touches the web backend with any regularity actually tests anything on Safari.

maroider avatar Aug 10 '22 16:08 maroider

Well, also kinda depends on what these support tables are to be used for - reconsidering, I think it makes sense to guarantee support for some specific version (or a general "latest firefox + chrome"), which also means that if a PR doesn't support that version, it's a breaking change.

Of course, if someone reports that winit doesn't work on some lower version, we'll do our best to fix that.

madsmtm avatar Aug 10 '22 18:08 madsmtm

That should be fine as is for now.

kchibisov avatar Jan 15 '23 20:01 kchibisov