-
Notifications
You must be signed in to change notification settings - Fork 2
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
[KDE/Wayland/fcitx5] Emoji picker appears and then vanishes immediately #13
Comments
im wasted af rn but i know the issue: under @milas wayland qt always steals
focus which is bad in this case. if u want to use this prohect youll need
to create a window rule to disable focus for now
…On Sat, Oct 28, 2023, 16:29 Milas Bowman ***@***.***> wrote:
Splitting this out from the conversation in #11
<#11>:
ok the only thing i can imagine at this point is that there must be some
kind of bug with KDE (wayland) + fcitx5 because fcitx immediately sends the
deactivate event after the window opens (which is obviously wrong) and
then it goes dark.
if i start the fcitx daemon with QT_QPA_PLATFORM=xcb it kinda works but
that's obviously no solution.
*Originally posted by @GaZaTu <https://github.com/GaZaTu> in #11 (comment)
<#11 (comment)>*
I filed an upstream issue with fcitx5 @ fcitx/fcitx5#887
<fcitx/fcitx5#887>, and the maintainer
responded:
That's however, not a solvable issue from fcitx side.
Mainly it's because that the emoji picker itself embeds Qt and it will
grab the focus away on wayland. that's why you see the deactivate event.
------------------------------
At this point, it's not clear to me where the issue lies - is this a kwin
thing? Why do we not see the same behavior under X11?
—
Reply to this email directly, view it on GitHub
<#13>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEFP5YVACXHS45ILBTKQUYLYBUJF3AVCNFSM6AAAAAA6UECXYWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DMNRRGY3DEMI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Any update on this? I think I'm facing same issue with ibus-wayland on kde too. |
@shadmansaleh i did not look into this again but i doubt anything changed yet. There currently does not seem to be a way to tell Qt "open a new window but do not take focus" when using wayland. So the only way for now seems to be a custom window rule in the KDE settings. (which is what i did) |
For reference, here's what my [1]
Description=Emoji Picker
acceptfocusrule=2
title=im-emoji-picker
titlematch=2
types=1
[General]
count=1
rules=1 Things are working well for me since applying that change on KDE 5.27.10 + Wayland (on NixOS unstable) using fcitx5. Thanks for this, it's pretty great. Maybe Qt6 will fix things? 🫣 <-- emoji typed with |
btw I had to launch Firefox under xwayland to respond to this issue. This issue literally breaks input on Firefox+Wayland for me. Specifically this issue. I can comment on other GitHub issues but not this one. (This has nothing to do with |
lol that is oddly specific. i did not have that happen before but i guess i don't comment on too many issues. and glad you're still enjoying the emoji picker 😙 |
@GaZaTu Sorry to resurrect a dead bug, but could we get a note about this in the README? I spent some time trying to figure it out before stumbling across this closed bug. |
done @zelch 👌 |
Also sorry to res this dead bug... |
@joaociocca I don't think i can help you because vivaldi works for me. |
Splitting this out from the conversation in #11:
Originally posted by @GaZaTu in #11 (comment)
I filed an upstream issue with @ fcitx/fcitx5#887, and the maintainer responded:
At this point, it's not clear to me where the issue lies - is this a kwin thing? Why do we not see the same behavior under X11?
For reference, here's my system configuration:
I also tried using latest
HEAD
from both fcitx + im-emoji-picker.The text was updated successfully, but these errors were encountered: