Bug 505025 - Cursor disappears when typing due to IBus
Summary: Cursor disappears when typing due to IBus
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.3.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-30 17:35 UTC by erentar2002
Modified: 2025-06-03 22:57 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Video showing lack of cursor when typing (121.91 KB, video/webm)
2025-05-30 18:08 UTC, erentar2002
Details

Note You need to log in before you can comment on or make changes to this bug.
Description erentar2002 2025-05-30 17:35:45 UTC
SUMMARY
Cursor disappears when typing. This is distracting as the cursor is firmly present when typing across all other applications. Also makes it difficult to know where the character is going to appear when one keeps typing.

STEPS TO REPRODUCE
1. Open a new file in kwrite
2. Start typing
3. Be frustrated and distracted because the cursor disappears when typing

OBSERVED RESULT
Cursor disappears when typing

EXPECTED RESULT
Cursor continues to be present, showing where the new character will appear

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 Christoph Cullmann 2025-05-30 18:05:21 UTC
Do you mean that it blinks? I don't get it to dissappear during typing, but I might just misunderstand the issue.
Comment 2 erentar2002 2025-05-30 18:08:35 UTC
Created attachment 181905 [details]
Video showing lack of cursor when typing
Comment 3 Christoph Cullmann 2025-05-30 18:35:06 UTC
Ok, yes, that is strange, doesn't happen for me at least on Wayland.
Comment 4 erentar2002 2025-05-30 21:13:12 UTC
What might be the possible cause of this? What sort of data can I provide?
Comment 5 Christoph Cullmann 2025-05-30 21:40:38 UTC
No real idea, as you work on Wayland, too, that is strange.
Perhaps somebody else has some idea.
Comment 6 erentar2002 2025-06-01 08:37:32 UTC
Switching to a different user, the new user does not exhibit this problem.
Therefore, this must have to do with a configuration thing in my home folder
Comment 7 erentar2002 2025-06-01 09:21:18 UTC
Removing ~/.config/kwinrc fixed the problem.
Comment 8 Christoph Cullmann 2025-06-01 15:56:25 UTC
Ok, then I consider this no Kate/KTextEditor issue.
Will move it to kwin.
Comment 9 Zamundaaa 2025-06-02 12:19:51 UTC
You definitely had the "hide cursor" effect enabled. Removing the config resets it to the default, where it isn't enabled.
Comment 10 erentar2002 2025-06-02 16:06:12 UTC
This was the contents of the kwinrc:
https://gist.githubusercontent.com/erentar/7d4d7149690dcdf11f9e57e56435934f/raw/5e44154ae4d7d25c262a28860e73ac4892eaad8c/kwinrc

As you can see, the [Effect-hidecursor] section has HideOnTyping=false

The "hide cursor" effect was unchecked in desktop effects section in kde 
system settings

Does this still mean the "hide cursor" effect is enabled?

On 2025-06-02 14:19, Zamundaaa wrote:
> https://bugs.kde.org/show_bug.cgi?id=505025
>
> Zamundaaa <xaver.hugl@kde.org> changed:
>
>             What    |Removed                     |Added
> ----------------------------------------------------------------------------
>               Status|REPORTED                    |RESOLVED
>           Resolution|---                         |NOT A BUG
>                   CC|                            |xaver.hugl@kde.org
>
> --- Comment #9 from Zamundaaa <xaver.hugl@kde.org> ---
> You definitely had the "hide cursor" effect enabled. Removing the config resets
> it to the default, where it isn't enabled.
>
Comment 11 Zamundaaa 2025-06-02 18:29:54 UTC
Oh, you still had the old config. I didn't expect that... but that means we can debug this further.

> Does this still mean the "hide cursor" effect is enabled?
No. I don't see any other relevant things in the config either though.
If you set it to use that config again, does the issue also re-appear?

FWIW typing in Kate, the cursor does get hidden for me as well, and WAYLAND_DEBUG shows the app is hiding the cursor. I don't know how that could possibly be affected by the kwin config though.
Comment 12 Christoph Cullmann 2025-06-02 18:33:54 UTC
Is perhaps the input method the reason Kate hides it?

[Wayland]
InputMethod[$e]=/usr/share/applications/org.freedesktop.IBus.Panel.Wayland.Gtk3.desktop
VirtualKeyboardEnabled=true
Comment 13 erentar2002 2025-06-02 21:33:21 UTC
Yes!!

IBus is causing the problem!

On 2025-06-02 20:33, Christoph Cullmann wrote:
> https://bugs.kde.org/show_bug.cgi?id=505025
>
> --- Comment #12 from Christoph Cullmann <christoph@cullmann.dev> ---
> Is perhaps the input method the reason Kate hides it?
>
> [Wayland]
> InputMethod[$e]=/usr/share/applications/org.freedesktop.IBus.Panel.Wayland.Gtk3.desktop
> VirtualKeyboardEnabled=true
>
Comment 14 erentar2002 2025-06-02 21:41:09 UTC
I should also add that this is a relatively new bug, it did not happen before March 2025 on Fedora. I sadly did not write down exactly when it appeared. I had been using IBus as the virtual keyboard for more than a year by March.

But yeah setting the virtual keyboard to IBus makes the problem appear again, and disabling makes it go away. It happens on all input IBus "input method"s, and a quick glance at the IBus menu shows no relevant settings.

I should also add the cursor is fully present and unaffected from IBus on gtk apps, however Qt apps are affected.
Comment 15 erentar2002 2025-06-02 21:44:45 UTC
My apologies, I made a mistake in my wording in the previous comment. I meant to write "kate" instead of "Qt apps"