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

            Bug ID: 414530
           Summary: Search bar screwed up after pasting multi-line text
           Product: Discover
           Version: 5.16.5
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: discover
          Assignee: lei...@leinir.dk
          Reporter: aspotas...@gmail.com
                CC: aleix...@kde.org
  Target Milestone: ---

Created attachment 124125
  --> https://bugs.kde.org/attachment.cgi?id=124125&action=edit
screenshot

SUMMARY
Search bar screwed up after pasting multi-line text.

STEPS TO REPRODUCE
1. Prepare multi-line text in a text editor, e.g. "1\n2\n" in Kate, where "\n"
stands for a line break.
2. Select All (Ctrl+A) in Kate, then copy (Ctrl+C)
3. Run Discover
4. Press Ctrl+F to focus the search bar
5. Press Ctrl+V to paste

OBSERVED RESULT
6. The search bar explodes, see screenshot.

EXPECTED RESULT
Should probably replace every "\n" with a space when pasting.

SOFTWARE/OS VERSIONS
Operating System: Fedora 31
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.5
Kernel Version: 5.3.7-301.fc31.x86_64
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15,4 ГиБ

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to