[konsole] [Bug 404415] New: Konsole treats non-BMP characters as non-printable when checking a paste

Christoph Feck bugzilla_noreply at kde.org
Fri Feb 15 20:28:22 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=404415

            Bug ID: 404415
           Summary: Konsole treats non-BMP characters as non-printable
                    when checking a paste
           Product: konsole
           Version: master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: copy-paste
          Assignee: konsole-devel at kde.org
          Reporter: cfeck at kde.org
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list