Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-24506

On Windows: Backspacing through beginning of line removes formatting from subsequent text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 4.7.0, 4.7.1, 4.7.2, 4.7.3, 4.7.4, 4.8.0
    • None
    • Windows 7 x64: Qt 4.8.0 MinGW: AMD Turion II P540 Dual Core CPU: ATI Mobility Radeon HD 4250: 4 GB DDR2 SDRAM
      Ubuntu 12.04 64-bit

      On windows, creating a QTextEdit Widget and changing it's text properties like fontFamily(), fontPointSize(), textColor, backgroundColor, styleSheet, etc in the constructor works until the user backspaces through the origin of the cursor (line 1, column 0) upon which all formatting typed from the cursor from then on is the default format. The behavior is unexpected and the font should stay the same unless the text properties are set by the app programmer to be backspace-able.

        1. CodeMonkey.pro
          0.3 kB
        2. interface.cpp
          0.6 kB
        3. interface.h
          0.2 kB
        4. main.cpp
          0.2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            ginoman2440 Gino Vincenzini
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes