I'm getting a delay of several seconds between pressing a key and it appearing on screen in a Rust program running under Wine 9 on Ubuntu 22.04 LTS.
The program works fine on real Windows. It's cross-platform Rust, and works on Linux and MacOS, But Wine is doing something different with the event queue.
Details: https://github.com/rust-windowing/winit/issues/4097
Delay of several seconds on GUI keyboard events under Wine
-
- Level 2
- Posts: 14
- Joined: Wed Apr 20, 2022 1:07 pm
-
- Level 2
- Posts: 14
- Joined: Wed Apr 20, 2022 1:07 pm
Re: Delay of several seconds on GUI keyboard events under Wine
Additonal info: https://github.com/rust-windowing/winit ... 2626272450
Wine event logging is on, and Wine really is delaying key press events by about 2 seconds. I type "abcdef" at reasonable speed, and it takes about 2 seconds per character for the program to get the KeyPress events. Meanwhile, redraws are being triggered and are happening at about 60 FPS, so the redraw side of things is going fast.
Wine event logging is on, and Wine really is delaying key press events by about 2 seconds. I type "abcdef" at reasonable speed, and it takes about 2 seconds per character for the program to get the KeyPress events. Meanwhile, redraws are being triggered and are happening at about 60 FPS, so the redraw side of things is going fast.
-
- Level 2
- Posts: 14
- Joined: Wed Apr 20, 2022 1:07 pm
Re: Delay of several seconds on GUI keyboard events under Wine
Trying Wine 10 (stable). No more delay on key events, but something funny is going on with mouse events.
-
- Level 2
- Posts: 14
- Joined: Wed Apr 20, 2022 1:07 pm
Re: Delay of several seconds on GUI keyboard events under Wine
Additional info: On Wine 10.0, (stable) this problem goes away.
But mouse positions seem to be about 10 pixels off vertically.
More later.
But mouse positions seem to be about 10 pixels off vertically.
More later.