Bug 500591 - Keyboard unusable after reboot, confusing message popped up with insufficient info
Summary: Keyboard unusable after reboot, confusing message popped up with insufficient...
Status: RESOLVED DUPLICATE of bug 357194
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.2.5
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-22 18:47 UTC by php4fan
Modified: 2025-02-22 21:29 UTC (History)
3 users (show)

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


Attachments
Apparently my keyboard settings were completely wiped out. (57.29 KB, image/png)
2025-02-22 18:54 UTC, php4fan
Details
New Settings (62.74 KB, image/png)
2025-02-22 19:09 UTC, php4fan
Details
Trey.png (12.39 KB, image/png)
2025-02-22 19:10 UTC, php4fan
Details
Configure Popup (23.23 KB, image/png)
2025-02-22 19:10 UTC, php4fan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description php4fan 2025-02-22 18:47:24 UTC
You-ll have to forgive me if I use weird punctuation. My keyboard is wrongly configured because of the issue I-m reporting..

A couple of days ago I installed all  available updates in Pamac, and I did NOT restart until a minute ago, when I had to because the entire system froze and wouldn-t even respond to Ctrl-Alt-F3 {and not even to REISUB}.

After the restart, I got a popup with this lengthy and confusing message
-------
Fcitx should be launched by KWin under KDE Wayland in order to use Wayland input method frontend. This can improve the experience when using Fcitx on Wayland. To configure this, you need to go to "System Settings" -> "Virtual keyboard" and select "Fcitx 5" from it. You may also need to disable tools that launches input method, such as imsettings on Fedora, or im-config on Debian/Ubuntu. For more details see https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland#KDE_Plasma 
--------
and now my Spanish keyboard has turned into a US keyboard, and who knows how many other things are broken.

At no moment during the installation of the updates was I asked whether I was willing to apply changes that would require me to figure out how to reconfigure my system correctly in order for it to work just like it did before.

This is absolutely unacceptable. When I apply updates from Pamac, unless I get a prompt that asks me to make informed choices about important changes in the configuration, I expect to be able to install the updates, restart if necessary, and go on with my life. If something is being installed that will require me to figure out how to configure my system, first of all, that shouldn-t be required in the first place: the installation process should figure out the configuration changes for me and just ask me whether I want to apply them; and secondly, I should be informed of the breaking changes so I can choose whether or not to proceed with the installation.

I still haven-t done anything of what the message says. The first part seems easy, go to settings and change a setting (why can-t it just ask me if I want to apply the change and offer a "Yes" button?), but then there-s this stupidly vague part:
> You MAY also need to disable tools that launches [sic] input method, such as imsettings on Fedora, or im-config on
> Debian/Ubuntu [WHAT ABOUT MANJARO??]

Now my keyboard layout is apparently set to US (I have a Spanish/Spain keyboard), and there-s a keyboard Tray icon that says "Input Method" that when I click it DOES NOTHING.

So now I need to become an expert in Fcitx and Wayland before I can use my computer again. Good thing at least this happened during a weekend, hopefully I-ll have it working before Monday when I need to resume work.
Comment 1 php4fan 2025-02-22 18:50:18 UTC
> The first part seems easy

Well, not so fast. It says:
> you need to go to "System Settings" -> "Virtual keyboard"

There-s no such thing as "Virtual Keyboard" under System Settings.

Ok, it-s "System Settings" -> "Keyboard" -> "Virtual keyboard".
Comment 2 php4fan 2025-02-22 18:54:12 UTC
Created attachment 178743 [details]
Apparently my keyboard settings were completely wiped out.

Apparently my keyboard settings were completely wiped out. See screenshot.

It used to be configured as a Spanish keyboard.
Comment 3 php4fan 2025-02-22 19:09:00 UTC
After setting the Spanish keyboard layout (and setting Virtual Keyboard to "Fcitx 5"), at least the keyboard is now working properly.

I added the Spanish layout and removed the English US one, so I have ONLY one keyboard layout, the Spanish one. See screenshot "New settings" (will attach shortky)

The keyboard tray icon still doe nothing on left-click.

With right-click, it shows this (see attachment "Tray.png" - will attach shortly).
This makes no sense as the only option it shows is "English (US)" where it should be Spanish. This only option was initially not selected (i.e. showing a radio button with only one option NOT selected, which is an additional layer of nonsense). I did NOT touch it it, but starting from the next time I right-clicked, it is now selected. So now it's showing "English (US)" as the only and selected option, despite the fact the keyboard is working correctly as a Spanish keyboard. The widget couldn't be more useless.

When I click "configure...." it shows this: see attachment "Configure popup" (will attach shortly).

It says "Question"... and there's no question. It ends with "Now it will open the configuration directory". And I'm supposed to choose between Yes and No. Who wrote this?
Comment 4 php4fan 2025-02-22 19:09:47 UTC
Created attachment 178744 [details]
New Settings
Comment 5 php4fan 2025-02-22 19:10:05 UTC
Created attachment 178745 [details]
Trey.png
Comment 6 php4fan 2025-02-22 19:10:22 UTC
Created attachment 178746 [details]
Configure Popup
Comment 7 php4fan 2025-02-22 19:15:24 UTC
Oh my gosh this is WAY WORSE than it seemed.

After restarting, THE KEYBOARD SETTINGS HAVE BEEN WIPED OUT AGAIN!!!

Under System Settings -> Keyboard -> Layout, the Spanish layout has disappeared and the US English one has come back.

Now I have to change that back every time I restart.
Comment 8 Nicolas Fella 2025-02-22 21:10:55 UTC
You (or your distribution) seem to have installed fcitx. Everything you describe is coming from fcitx, it has nothing to do with Plasma.

If you are not interested in CJK input, remove fcitx
Comment 9 cwo 2025-02-22 21:29:01 UTC
This does come from fcitx5, but we could do a better job of warning the users that their configuration will be overwritten now that some distributions seem to ship it for everyone, not just users deliberately installing it for CJK etc. language input support. I'll dupe it to the main bug we have for this.

php4fan, please complain to your distribution about this; this is not a good setup by default at present and they should not install it for users that have not explicitly opted into it. fcitx5 is an input method framework that is used to type in languages that cannot be typed directly with a keyboard, such as Chinese with its thousands of different characters.  To work properly, it completely takes over keyboard control, regularly erasing whatever you configured in plasma. At present there is nothing we can do about this from our end except warn users. You have two options:  1) uninstall fcitx5, it's not required unless you need its specific features or 2)  configure your keyboard layout (and how to switch between them if you use multiple layouts) through fcitx5's configuration. It should be available as an application called "Fcitx 5".

*** This bug has been marked as a duplicate of bug 357194 ***