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

Reg->6.0.0b2: Block selection bugs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 6.0.0-beta2
    • Editors
    • Linux/X11

      When indenting Python code using block selection, it seems there a number of issues, fex:

      1) Shrinking selection does not work:

      • In the attached example, place cursor at line 3 ( def f1(a): )
      • Press ALT-Cursor down several times to create a block selection
      • Press ALT-Cursor up once
      • Expected: Line is unselected
      • Actual: Entire block is extended over top

      2) Semi-Smart behaviour with short lines:

      • In the example, place cursor at line 3, column2
      • Press ALT-Cursor down several times until end of function 2 reached
      • Note at the end of the functions, selection bar is at col 1 instead of 2
      • Press Del to outdent
      • Expected: Everything moves one column left
      • Actual: Separating blank line between funcs disappears, duplicated selection cursors appear

      Creator 5 used to be smarter here, you could block select over shorter lines.

      When toying around and moving things around, there are tons of other small bugs
      and weird behaviours.

        1. qtcreatorbug26548_short_lines_after.jpg
          32 kB
          Friedemann Kleint
        2. qtcreatorbug26548_short_lines.jpg
          27 kB
          Friedemann Kleint
        3. qtcreatorbug26548.py
          0.2 kB
          Friedemann Kleint
        For Gerrit Dashboard: QTCREATORBUG-26548
        # Subject Branch Project Status CR V

            davschul David Schulz
            kleint Friedemann Kleint
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes