Pressing space key when no field is focused makes Tortoise's bug report appears

Issue #3532 resolved
Former user created an issue

I got the following when I started to type "hg update" thinking I was typing in powershell while I had focus on Tortoise.

Steps to reproduce :
- focus Tortoise window by clicking on the title bar (so no input field is focused)
- press space key, the following message will appear in bug report window

** Mercurial version (2.8.1).  TortoiseHg version (2.10.1)
** Command: --nofork workbench
** CWD: D:\hg\SEAL_Dev
** Encoding: cp1252
** Extensions loaded: rebase, purge, graphlog, histedit, convert, shelve, strip, mq
** Python version: 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x86
** Qt-4.8.4 PyQt-4.10.2 QScintilla-2.7.2
Traceback (most recent call last):
  File "tortoisehg\hgqt\fileview.pyo", line 962, in keyPressEvent
  File "tortoisehg\hgqt\fileview.pyo", line 973, in chunkContainsLine
ValueError: max() arg is an empty sequence

Comments (4)

  1. Stanislas Dourdin

    I forgot that I had an account when submitting this bug.

    As I can't modify the description of the bug, I want to add that I tried to manipulate Tortoise HG, focusing fields, and trying to reproduce the bug after, but I was unable to reproduce it.

    So there is no reliable way to reproduce the bug, sorry.

  2. Log in to comment