[PyQt] PyQt4 question about type-to-select in numeric drop-down lists

Sarah Mount mount.sarah at gmail.com
Tue Aug 27 15:53:59 BST 2013


Hi everyone,

sorry if this is a bit of a n00b question, but hopefully someone can
clarify a misunderstanding for me. I am working with some colleagues on a
Python2.x PyQt4 project and the GUI for this software has several drop-down
lists where each entry in the list is an integer, in numerical order. We
have had a (reproducible) bug report about these.

When a user clicks on the drop-down and types a number, the drop-down
scrolls to select that number. So, [contrived example] if the drop-down
contains entries 0-1000 and the user types 23, the drop-down scrolls to
reveal 23 (if necessary) and selects that entry on the list. So far, so
standard.

If the user selects a number with repeated digits, i.e. any multiple of 11
(in reality only tested on numbers <100) the wrong number is selected. For
example, if I open a drop-down and type "77" "70" gets selected. Is this
some obvious bug in the way we have configured our GUI or have I
misunderstood something really basic?

Thanks,

Sarah

-- 
Sarah Mount, Senior Lecturer, University of Wolverhampton
website:  http://www.snim2.org/
twitter: @snim2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130827/a28e4f4b/attachment.html>


More information about the PyQt mailing list