Bug 423566 - Backspace can displace input text above the text box in some situations
Summary: Backspace can displace input text above the text box in some situations
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.18.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-27 00:34 UTC by Brendan Early
Modified: 2020-06-28 14:42 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Video of issue (506.03 KB, video/x-matroska)
2020-06-27 00:34 UTC, Brendan Early
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brendan Early 2020-06-27 00:34:06 UTC
Created attachment 129712 [details]
Video of issue

SUMMARY

When using Backspace or Ctrl + Backspace, sometimes text will appear above the input text box.

STEPS TO REPRODUCE
1. Open krunner
2. Type until autocomplete suggestions show
3. Press the down arrow on keyboard
4. Press backspace

OBSERVED RESULT

See attached video

EXPECTED RESULT

Word or character is deleted without text displacement.

SOFTWARE/OS VERSIONS
Operating System: Fedora 32
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Kernel Version: 5.6.19-300.fc32.x86_64
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-6700 CPU @ 3.40GHz
Memory: 15.6 GiB of RAM

ADDITIONAL INFORMATION
Resolution: 3840x2160
Scale: 150%
Comment 1 Alexander Lohnau 2020-06-27 10:17:00 UTC
There has been a patch to prevent unprintable characters from being inserted: https://invent.kde.org/plasma/plasma-workspace/-/commit/0ab573ced32652be58c4524abeac2e2bf7cce17f

If you press backspace with the patch above you won't get an unprintable character, just the focus of the textfield.
Comment 2 Brendan Early 2020-06-28 02:37:28 UTC
I built and ran a version with the patch using kdesrc-build & kdesrc-run and I'm still seeing this bug. That patch looks like it should work, is there anything special I need to do to run the build?
Comment 3 Alexander Lohnau 2020-06-28 06:28:30 UTC
Do you have a correct QML2_IMPORT_PATH?

Maybe you have to run 
> source prefix.sh
In the build directory and then restart KRunner.
Comment 4 Brendan Early 2020-06-28 14:40:37 UTC
Thanks, turns out I just already had krunner open. That patch works perfectly.
Comment 5 Alexander Lohnau 2020-06-28 14:42:02 UTC
Great!