Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.4.3, 5.2.0 Beta1
-
None
-
3e549f5daa55464512ee2763558f3a7ffd45c545
Description
When having a QComboBox with items like OA, OB, OC [...] OO, OP, then using the keyboard to select the item OO does not work correctly.
If the items starts with twice the same character, then these items starting with that character are cycled through instead of moving directly to the correct item.
Typing OO in the following example will select OB.
#include <QtGui> int main(int argc, char **argv) { QApplication app(argc, argv); QComboBox combo; QStringList list; list << "AA" << "BB" << "OA" << "OB" << "OO" << "OP" << "OR" << "PP"; combo.addItems(list); combo.show(); return app.exec(); }
Attachments
For Gerrit Dashboard: QTBUG-3032 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
16917,1 | Fixed keyboard selection with multiple character strings for QComboBox | 4.8 | qt/qt | Status: ABANDONED | -2 | 0 |