-
Notifications
You must be signed in to change notification settings - Fork 14
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
Switch to SDL2, drop winit
ASAP. Point numbering broken, console broken on Linux due to winit
kbd implementation being bad.
#31
Comments
Cf. rust-windowing/winit#1656, rust-windowing/winit#812, btw. These are years old issues, not new bugs. |
One suggestion is, when monitoring text input events, make sure to track |
Yup, I made sure Japanese IME worked in current |
OK, I've sort of gotten it working. Sorry for the delay, was focused on Spiro, which is a 1.0 feature per #10. (Cf. fontforge/libspiro#27, fontforge/libspiro#28 (bottom))
Much better—seems consistent too. I need to fix ImGui: the copied I wonder if @aclysma would be interested in a |
Oh, and this seems to be working too @iwsfutcmd :-)
|
The war is over! https://twitter.com/fr_brennan/status/1373849754715705344 @MatthewBlanchard figured out that we could solve all of our switchover problems by just drawing Imgui with Skia. He's writing a Skia-based renderer for Imgui, which we'll use. Then we can drop all of the hacks which allow us to draw @ocornut's stock Imgui Vulkan renderer on top of Skulpin (Skia+Vulkan). This allows us to flip over to SDL extremely easily. And because SDL can be used from WebAssembly…that means that MFEKglif could, some day, be compiled for the web browser. Really! Amazing work. |
Closes #31. * First commit. Most of the way migrated to SDL2. * More fixes. Needs review. * Fix cargo.toml paths to point at remote repo. * Moved imgui-skia-renderer to it's own repo and cleaned up main. Fixed ctrl+Q. Refactored main. Moved imgui to it's own repo. * Removed dead code. * Guidelines and console fixed. * Made console steal input. Removed main_winit.rs * Fix Ctrl-Q * rustfmt Co-authored-by: Matthew Blanchard <[email protected]>
This says it all:
https://github.com/rust-windowing/winit/blob/386ead15a3e3fef5c0c02bd7491d3cc9a7a6e0aa/src/platform_impl/linux/x11/events.rs#L178
🤦♂️🤦♂️🤦♂️ 😱❗❗❗
Issue discovered by @eliheuer in his Twitch stream. Confirmed and cause found just now by @iwsfutcmd.
I don't trust any software with code like this commented out period. They have no idea what they're doing in my humble opinion. The fact that Subtract and Minus were only recently unified is shocking as well.
So, this is an urgent issue. I had hoped not to need to rewrite
main.rs
again, but I don't mind given the severity of their keyboard handling.SDL2 supports Unicode input, so console will still work without much worry about hooking OS APIs for IME's etc.
The text was updated successfully, but these errors were encountered: