Bug 367790

Summary: ZERO WIDTH NON-JOINER and some other (space) characters cannot be entered in kate and other KDE5 apps
Product: [I don't know] kde Reporter: H. K. <iranano>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: grave CC: cfeck
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
URL: http://askubuntu.com/questions/816434
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description H. K. 2016-08-25 07:09:18 UTC
The ZERO WIDTH NON-JOINER  character (U+200C) is very useful in arabic-like languages. However,  if you assin a key to it and type it in a KDE5-base app eg kate, nothing will be entered. However there is not such problem with gedit and other non-kde apps.



Reproducible: Always

Steps to Reproduce:
1. Switch to Arabic keyboard layout in Kububtu 16.04
2. Press shift+space between any Arabic word in `kate`.
3. Press shift+space between any Arabic word in `gedit`.
4. Compare the results.
5. Copy what you type in gedit and paste it in `kate`. There is no problem when pasting. Just typing ZERO WIDTH NON-JOINER and similar characters is prohibited in `kate`.

Actual Results:  
Nothing is typed when you press a key assigned for typing ZERO WIDTH NON-JOINER in kate and other KDE5-based apps. There is no such problem in `gedit` and other gnome apps.


there was not such problem in KDE4 in Ubuntu 14.04.
Comment 1 Christoph Feck 2016-08-29 17:33:47 UTC
Does it work in QLineEdit, e.g. in the search box in systemsettings5?
Comment 2 H. K. 2016-08-29 19:12:49 UTC
(In reply to Christoph Feck from comment #1)
> Does it work in QLineEdit, e.g. in the search box in systemsettings5?

No. However, Qt4-based apps have no such problem.
Comment 3 Christoph Feck 2016-08-29 22:03:58 UTC
Then it is a regression in Qt5. Please report this directly to Qt developers via https://bugreports.qt.io/