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

CLONE -Floated TextImageFormats deleted fom a QTextEdit leaves a undeletable frame behind

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.6.2
    • GUI: Text handling
    • None
    • Windows XP, Vista, 7

      A QTextImageFormat can be inserted as inline, left or right floated. After insertion, they can be deleted by keypress. But floated QTextImageFormats leaves a blank square behind them, that can not be removed, it looks like an anonymous frame.

      I do not understand why QTextImageFormat inherits QTextCharFormat and not QTextFrameFormat - in fact the latter supports a lot of properties that one would expect for an image, while the former does not. For example floating positioning, the lack of which might be the cause for the extra frame?

      Project attached to reproduce this problem. Please fix this problem as soon as posible!

        1. QTextEditError.zip
          7 kB
          Sergei A. Vinogradov
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            seralex.vi Sergei A. Vinogradov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes