Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.12.0-beta1
-
None
-
Kubuntu 20.04
Description
This commit - 909cb3859b1b68408cbf71354c95b6bf39d15c12, which fixed QTCREATORBUG-15038, also introduced a regression.
How to reproduce the regression:
If you have some text, for example `std::move(something)`:
- put cursor after `::`
- press Ctrl+Space (`ProposalWidget` should appear)
- press left arrow
The content of the window will NOT be adjusted/updated to the first letter, while it should. Essentially `ProposalWidget` seems to be just dead.
My experiments showed that restoring
if (isVisible())
d->m_assistant->notifyChange();
in plugins/texteditor/codeassist/genericproposalwidget.cpp fixes the regression and does not re-introduce the bug described here - QTCREATORBUG-15038
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-24071 weird behavior when moving cursor after auto complete is shown
- Closed
- resulted from
-
QTCREATORBUG-15038 ProposalWidget remains usable when undoing changes, will insert code at wrong location
- Closed
For Gerrit Dashboard: QTCREATORBUG-24077 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
303777,2 | TextEditor: fix updating completions after cursor navigation | 4.12 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |