Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.5.1
-
None
Description
Current completion in QCompleter is being set sporadically as there's any match to the user input in parent widget — even with no user interaction with QCompleter popup itself. The problem seems to be in qtbase/src/widgets/util/qcompleter.cpp:449, where curRow is forcefully set to 0 if any match was found.
This issue leads not only to incorrect currentCompletion() return, but also to false-positive activated() signal firing which in turn usually leads to double activated() signal calling in parent widget.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-51858 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
153588,3 | Fix QCompleter not to send activated() signal with no user action | 5.6 | qt/qtbase | Status: NEW | -2 | 0 |
203230,7 | QCompleter: Send activated() signal only once on return key | 5.9 | qt/qtbase | Status: MERGED | -2 | 0 |