Outrunning Commando? Searches sometimes stop before completion #515

Closed
ervumlens opened this Issue Aug 10, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@ervumlens

Komodo Edit 9.2.0 Linux

Problem
I opened Commando and typed in "prefe" to bring up the Preferences command. When the Kitt animation stopped (which didn't take long), I hit enter without paying attention to the search results. I ended up in the Add-Ons manager. It takes me a few tries, but I'm able to reproduce the problem.

Apparently the Commando search occasionally stops before it has processed the query text. Increasing the delay in the Commando preferences reduces the likelihood of this problem. However, I would expect Commando to always have one more "cycle" to complete its search, regardless of how fast or slow I type.

There may be some complicating factors here besides just the Commando preferences. For example, I haven't been able to reproduce this in a project with lots of files (e.g., KomodoEdit).

I don't recall hitting this in 9.1, but I wasn't using Commando to access preferences until 9.2 (and "prefe" is pretty easy to type).

Steps to Reproduce

  1. Open Commando.
  2. Type "prefe" quickly.

Expected
Kitt eventually stops. The "Preferences" command is displayed in the results.

Actual
Kitt stops and usually "Preferences" is displayed. Other times the search stops where ever the results happened to be.

There isn't much to see in these screenshots except that the Kitt animation isn't active.

stuck commando - 1

stuck commando - 2

@Naatan

This comment has been minimized.

Show comment
Hide comment
@Naatan

Naatan Aug 10, 2015

Member

Thanks @ervumlens, I've noticed this as well but was not able to find any reproduction steps. Will try your steps.

Member

Naatan commented Aug 10, 2015

Thanks @ervumlens, I've noticed this as well but was not able to find any reproduction steps. Will try your steps.

@Naatan Naatan added the Type: Bug label Aug 10, 2015

@Naatan Naatan modified the milestones: 9.2.1, 9.2.2 Aug 10, 2015

@Naatan Naatan closed this in 998418d Aug 19, 2015

Naatan added a commit that referenced this issue Aug 19, 2015

Commando: Fix issue where results would not update - fixes #515
rn=

(integrated from master branch change 9.2.1-242-ge150a91 by Nathan Rijksen <n.rijksen@gmail.com>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment