-
-
Notifications
You must be signed in to change notification settings - Fork 722
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
text-input-v3 clients sometimes crash Hyprland #5189
Comments
This issue, at first glance, seems to occur because when switching windows, an attempt is made to send a I have never encountered this issue locally. Could you please pay attention to which software's window this issue occurs when leaving? Of course, I will also dig deeper into this tomorrow (GMT+8). |
It's mostly gtk3 software (I don't have |
Same issue here. Reliable steps to reproduce:
|
patch.txt |
Unfortunately Hyprland seem to crash with the same bt more under the above patch. |
well dunno then, can't really repro in a nest. I'll let @sujoshua try and repro this |
reproduced. Foot in server mode will not send destory event to Hyprland when a window is closed. Hmm.. then a listener to listen surface destoryed in Hyprland side is needed |
encountered similar random crashes when exiting kitty terminal / switching between workspaces crash report on kitty exit: crash report on workspace switching: |
fix hyprwm#5189 add surface destory listner to remove itself from map Signed-off-by: Joshua Su <i@joshua.su>
fix hyprwm#5189 add surface destroy listener to remove itself from map Signed-off-by: Joshua Su <i@joshua.su>
I believe I have the same problem too, infact my hyprland crashed while making this report and I had to re-write this so thats fun. Anyway I got a problem with something to do with text-input-v1 clients registering as v3 or something weird but that's also crashing my thing. Opening Kvantum: hyprlandCrashReport927.txt Opening KDE system setting by accident: hyprlandCrashReport3874.txt |
patch.txt |
fix hyprwm#5189 add surface destroy listener to remove itself from map Signed-off-by: Joshua Su <i@joshua.su>
Patch does fix original repro steps, but does not fix it if on step 2 you open two |
I've debugged that - it seems like case 2 is a wlr bug? Anyways it looks unrelated to this so I'll commit the patch. |
it's not a wlr bug - it's a regression from #5147 that I am unable to track down why it happens. |
found it. Will post a patch soon. Very poor wlroots design |
should be done. |
There's still something wrong. I can't use IME in Firefox textboxes, and the workaround is to move focus to another window and move back. The process must be repeated once the textbox loses focus (e.g. mouse click on a link). |
I use firefox daily and have never encountered that. Repro steps? (also always try updating first) |
Just upgraded to acf15e5 but still reproducible. I use fcitx5 and set ctrl+shift as the switching combo:
|
@moetayuko Can you try ae52b7f? |
It works, thanks for the fix. |
Hyprland Version
System/Version info
Bug or Regression?
Regression
Description
When using text-input-v3 clients, hyprland sometimes crashes. Haven't bisected yet but I guess this is a regression from #5147 , so CC @sujoshua .
How to reproduce
It happens when using text-input-v3 clients but I'm not sure how to reliable repro.
Crash reports, logs, images, videos
This is a full gdb session, including
bt full
and printing some variables.gdb.txt
The text was updated successfully, but these errors were encountered: