[plasmashell] [Bug 442987] Race condition in application selection in search results

2021-10-31 Thread Alexander Potashev
https://bugs.kde.org/show_bug.cgi?id=442987

Alexander Potashev  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Resolution|WORKSFORME  |---
 Status|RESOLVED|REOPENED

--- Comment #9 from Alexander Potashev  ---
> So is the problem here that the selected item in the search results list 
> changes rapidly, or

No, this is not a problem in itself. It's more like "the selected item in the
search results doesn't change rapidly enough to keep up with user input".

> that an item is launched which isn't the selected item?

No. I believe the selected item is launched.

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

[plasmashell] [Bug 442987] Race condition in application selection in search results

2021-10-28 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=442987

Bug Janitor Service  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |WORKSFORME
 Status|NEEDSINFO   |RESOLVED

--- Comment #8 from Bug Janitor Service  ---
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!

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

[plasmashell] [Bug 442987] Race condition in application selection in search results

2021-10-13 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=442987

--- Comment #7 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

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

[plasmashell] [Bug 442987] Race condition in application selection in search results

2021-09-29 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=442987

--- Comment #6 from Nate Graham  ---
So is the problem here that the selected item in the search results list
changes rapidly, or that an item is launched which isn't the selected item?

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

[plasmashell] [Bug 442987] Race condition in application selection in search results

2021-09-29 Thread Alexander Potashev
https://bugs.kde.org/show_bug.cgi?id=442987

--- Comment #5 from Alexander Potashev  ---
Re: comment #4

I tested this on a 5 year old gaming laptop (i7, 16 GiB - no constant swapping,
a spinning HDD). The spinning HDD can explain th slowness in a cold test.
However I can also reproduce another time again and again when icons and stuff
must already be cached; this makes me think of
 1. CPU-bound slowness of QML
 2. Debouncing (not sure if it's there) that may delay searching.

Considering professional SC2 players don't normally exceed 1500 APM, we can
assume most users won't press/release keys with an interval shorter than 40 ms,
BUT...

If you're connecting over remote desktop, I can imagine network latency jitter
or packet loss may randomly reduce this interval even further.

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

[plasmashell] [Bug 442987] Race condition in application selection in search results

2021-09-28 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=442987

--- Comment #4 from Nate Graham  ---
Are you using a very slow computer? The list updates practically instantly for
me. Regardless, making it wait for the query to complete would probably be
really frustrating for users of slow computers in particular.

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

[plasmashell] [Bug 442987] Race condition in application selection in search results

2021-09-28 Thread Alexander Potashev
https://bugs.kde.org/show_bug.cgi?id=442987

--- Comment #3 from Alexander Potashev  ---
Suggested fix: when Enter is pressed, the launcher should wait for any ongoing
search queries to finish.

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

[plasmashell] [Bug 442987] Race condition in application selection in search results

2021-09-28 Thread Alexander Potashev
https://bugs.kde.org/show_bug.cgi?id=442987

--- Comment #2 from Alexander Potashev  ---
Haven't tested in krunner yet.

The thing is, the list of items takes some time to update upon every edit in
the input box (and I think the list sometimes changes multiple times for one
key press). If the user presses Enter faster than the launcher updates the
list, then the top item may be for an outdated query or even the query results
may not represent the final item list for any given query.

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

[plasmashell] [Bug 442987] Race condition in application selection in search results

2021-09-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=442987

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 CC||n...@kde.org
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Nate Graham  ---
Not sure there is a bug here. It always runs the top item. The top item can
change as you add more characters; that's how you refine your search term to
get closer to the thing you want to launch.

Does the same thing happen in KRunner?

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