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

            Bug ID: 455239
           Summary: KRunner does not update search list on 'Enter' fast
                    enough, causes wrong application to launch
           Product: krunner
           Version: 5.24.5
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: alexander.loh...@gmx.de
          Reporter: knut.tidem...@gmail.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY
If you launch KRunner with alt+f2 and then start typing, the previous search
result of the last krunner instance are still shown in the list for the first
second or so, even if you begin to type something else. If you are fast typer
and write the name of a new application and press 'Enter' it will launch the
top result of the last search instead of the new application.

This was tested on X.org with the NVidia proprietary driver 515.48.07.
CPU and memory are AMD Ryzen 9 5900X and 32GB, so it should not be the hardware
that's the problem here. This happens even if krunner is 'hot' in memory.

STEPS TO REPRODUCE
1. Start an application through krunner, for example 'kate'.
2. Press alt+f2, then quickly type something else like 'kwrite' and press
enter.
3. Notice that 'kate' is now being opened if you did this fast enough,
typically in the range of 1-2 seconds.

OBSERVED RESULT
The wrong application is launched, in this case 'kate'.

EXPECTED RESULT
The list should be updated before the applicaiton execution happens, which
would result in the correct application launching. In this case 'kwrite'.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version:  5.24.5-2
KDE Frameworks Version: 5.94.0-1
Qt Version: 5.15.4+kde+r146-1

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

Reply via email to