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

Qt Creator crashes on multi-column selection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 6.0.2
    • Qt Creator 6.0.2
    • Editors
    • None
    • Windows
    • 62c36f516b (qt-creator/qt-creator/6.0) 62c36f516b (qt-creator/qt-creator/master) 62c36f516b (qt-creator/qt-creator/qds-3.0) 62c36f516b (qt-creator/qt-creator/qmlprojectstorage)

    Description

      I'm using Qt Creator 6.0.2 (based on Qt5) (number 55)

      (url: https://download.qt.io/snapshots/qtcreator_qt5/6.0/6.0.2/55/qt-creator-opensource-windows-x86_64-6.0.2_55.exe).

      Consider the next piece of code:

      01 #include <QWidget>
      02 
      03 void f()
      04 {
      05 QWidget w;
      06 w.resize({400, 200});
      07 w.move(200, 300);
      08 }

      and particullary lines 06 and 07

      if I set the cursor at the end of line 07 and move cursor up holding Alt+Shift (what means multi cursor selection) then editor does not create the second cursor as it expected.

      And conversely, if I set the cursor at the end of line 06 and move cursor down holding Alt+Shift then the Creator crashes at all.

      Attachments

        Activity

          People

            davschul David Schulz
            alexnevskiy Alex Nevskiy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: