Bug 472110

Summary: Wayland: Changing keyboard layout with shortcut containing the space key invalidates the shift + space combination for ZWNJ
Product: [Applications] systemsettings Reporter: Alexander Nilsson <mr.ajje>
Component: kcm_keyboardAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: minor CC: butirsky, ebrahim, nate
Priority: NOR    
Version First Reported In: 5.27.6   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Nilsson 2023-07-09 22:14:04 UTC
SUMMARY

If the shortcut for changing the keyboard layout contains the space key, this will inactivate the use of shift + space for inputting ZWNJ using the Persian keyboard layout.

STEPS TO REPRODUCE
1. Add the Persian keyboard layout
2. Choose a shortcut that contains the space key, such as "alt + space" or "win + space" for changing keyboard layouts.
3. Try to type the ZWNJ in a word such as می‌روم using shift + space.

OBSERVED RESULT
Shift + space for ZWNJ will not work, the text will read  می روم.

EXPECTED RESULT
We should have ZWNJ instead of a regular space: می‌روم.

ADDITIONAL INFORMATION
I'm on Wayland. Using any other keyboard shortcut that does not contain the space key will not interfere with inputting the ZWNJ using shift + space.
Comment 1 Nate Graham 2023-09-12 20:48:53 UTC
Yep, they are incompatible. Win+Space will conflict with IBus too. So I'm afraid this is going to come down to "don't use that combination of settings."
Comment 2 Alexander Nilsson 2023-09-13 09:46:46 UTC
(In reply to Nate Graham from comment #1)
> Yep, they are incompatible. Win+Space will conflict with IBus too. So I'm
> afraid this is going to come down to "don't use that combination of
> settings."

Hi Nate, thank you for your reply...but is it not worth investigating why this bug occurs? Why are they incompatible? Why is it that this is not a problem when I'm runnig GNOME?

For example, I just tested this with Pop!_OS 22.04, the default shortcut for changing keyboards in GNOME is even set to Super + Space, and typing the ZWNJ with Shift + Space works without any problems!

I understand that this is not a major bug, but it would be great if we could maybe find what is causing it in order to make Plasma a more bug-free experience. Having [Ctrl / Win] + Space for changing the keyboard layout has become somewhat a standard nowadays : MacOS uses Ctrl + Space, Windows 11 and GNOME use Win + Space.
Comment 3 ebrahim 2023-10-06 19:31:09 UTC
Shift+Space -> ZWNJ is a part of Keyboard standard ISIRI 9147

Searching for 200c in https://persian-computing.org/archives/ISIRI/ISIRI-9147.pdf the second result is about that part of the standard Persian keyboard.

Just wanted to add this isn't just any configuration but a collision of a standard for Persian language users with a popular config which apparently can work everywhere else than KDE with Wayland.

I hope the status of being resolved as intentional can be changed to an open P3 bug.