Created attachment 176264 [details] overlap SUMMARY STEPS TO REPRODUCE 1. Alt +F2 to open KRunner and enter a long command which longer than the input box. For example `echo some_random_every_long_but_different_text_1234567891234567891223456789` 2. Alt +F2 again , the previous command is shown and in all selected state. 3. Press "End" to go to the end of the command OBSERVED RESULT Obseve the overlap happens EXPECTED RESULT No overlap SOFTWARE/OS VERSIONS Operating System: Fedora Linux 41 KDE Plasma Version: 6.2.1 KDE Frameworks Version: 6.7.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION If current input box is empty, enter a char like "e" and press tab. Then press "Home" and "End" , to move the cursor, the overlap doesn't happen.
I think adding a line `fadedTextCompletion.text = ""` after https://invent.kde.org/plasma/plasma-workspace/-/blob/master/krunner/qml/RunCommand.qml#L68 could solve the problem.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4971