-
Notifications
You must be signed in to change notification settings - Fork 126
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
Xilem's to_do_mvc enters an apparent infinite loop (depends on specifics of IME, blocked on rework of pass order) #424
Comments
Thanks! As for using 40% of your CPU, that is a surprisingly large amount, as I believe we are entirely single threaded. What's the amount used if you use release mode? |
Apologies, I wasn't clear. There is nothing surprising about the CPU usage, I think. The percentage I spoke of is reported by top, which reports 100% CPU usage when a process is fully utilizing a single CPU core (and/or hyperthread if that is enabled). The release build of the Glad there is an explanation. Feel free to close this issue if there is no utility in keeping it open. |
I'm on PopOS 22.04, and I tried to run @DJMcNab I'm not sure how this bug would relate to the pass order RFC. From what I remember of #314, I'm guessing you mean the fact we're sending a signal from the |
To eliminate oddities specific to my Debian installation, I checked the behavior in a freshly created Debian 12 VM. It behaves the same as I report in #424 (comment). I did the same in a PopOS 22 VM and can confirm @PoignardAzur's results. It doesn't seem to happen in PopOS 22. Debian 12 runs Gnome 43.9, whereas PopOS 22 runs Gnome 42.9. Maybe there is some difference. It isn't clear how mature access kit is when run against these older Gnome versions. |
I see. Then yes, I think we'll look at it again after the "pass specification" refactor. |
To be clear, this behaviour is nothing to do with |
Does this still happen on main? If so, does it still happen in #599? |
As described, this doesn't reproduce on main due to #604. But if I select into the box, then press a character, this does still reproduce for. This does no longer reproduce in #599, but I disagree with the method it uses to achieve that (of just no longer enabling IME at all) - that leads to a worse UX than with this bug IMO. |
Wait, what? |
I don't know - I've not gotten around to actually looking at the code. I'm just reporting the behaviour I'm seeing, that IME is not enabled when I check out that PR. The input events I'm getting are |
#599 has been merged. Does this still occur on main? |
I believe this is now resolved, yes. |
Xilem's to_do_mvc example (
xilem/examples/to_do_mvc.rs
) seems to go into a loop when I click on the text edit.This is on Debian, running from Xilem's current head (e76cf31).
<repo root>
CPU usage for the app goes up to about 40%, and the log spews this seemingly forever:
The text was updated successfully, but these errors were encountered: