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

Qt Creator crashes on multi-column selection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 6.0.2
    • Fix Version/s: Qt Creator 6.0.2
    • Component/s: Editors
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      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

        For Gerrit Dashboard: QTCREATORBUG-26878
        # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes