Bug 404415

Summary: Konsole treats non-BMP characters as non-printable when checking a paste
Product: [Applications] konsole Reporter: Christoph Feck <cfeck>
Component: copy-pasteAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: minor CC: egmont, mglb
Priority: NOR    
Version: master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christoph Feck 2019-02-15 20:28:22 UTC
SUMMARY
When pasting into Konsole, a check is made for unprintable characters. This check also triggers a warning for (printable) non-BMP characters.

STEPS TO REPRODUCE
1. Mark this icon: 😣
2. Copy into clipboard
3. Paste into Konsole

OBSERVED RESULT
A warning about two unprintable surrogate characters

EXPECTED RESULT
It handles surrogate pairs, and uses QChar::isPrintable(uint) to check them.

See a similar patch for KWin at https://phabricator.kde.org/D19052
Comment 1 Egmont Koblinger 2019-11-27 21:12:04 UTC
This was fixed in 5e142c9dad, wasn't it?
Comment 2 Mariusz Glebocki 2019-11-28 14:37:31 UTC
Yes, thanks