Menu

#224 Quicksearch can't find -west

9.0
closed
nobody
None
Bug
major
2020-02-06
2019-12-10
No

Try to search for the string "-west" in quicksearch (Ctrl-S).
As soon as you type the "w", the search exits with the error
message "can't find window".

(There is surely some missing end-of-flags double-dash missing
somewhere...)

Discussion

  • Bernard Desgraupes

    Aaaargh! This is a nasty bug! Nothing to do with quick find in particular, this is a flaw in the core when it parses the arguments of a command looking for a -w option. A very simple way to reproduce this in the Tcl shell:

    «» search -- -w 0
    Error: search unable to find specified window 0
    

    Thank you for catching this, it's amazing it was not discovered earlier. I'll fix it.

     
  • Bernard Desgraupes

    This is fixed.
    Changes committed to the repository (rev. 1844). The core must be rebuilt.

     
  • Bernard Desgraupes

    • status: open --> fixed
     
  • Bernard Desgraupes

    • status: fixed --> closed
     

Log in to post a comment.