Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-15038

ProposalWidget remains usable when undoing changes, will insert code at wrong location

    XMLWordPrintable

Details

    • 909cb3859b1b68408cbf71354c95b6bf39d15c12 (qt-creator/qt-creator/4.12)

    Description

      1. Open a source file.
      2. Insert a number of empty lines into the code.
      3. In one of these lines type "#in".
        The ProposalWidget will show up, proposing "#include".
      4. Repeat pressing Ctrl+Z until all changes are undone.
        The ProposalWidget will remain visible.
      5. Press Enter.
        The ProposalWidget will insert its code somewhere, replacing other code.

      I don't think the the ProposalWidget should remain visible or active while undoing changes.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              davschul David Schulz
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes