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

removeSelectedText() fails on QPlainTextEdit with a placeholder

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.14.1, 5.15.0 Alpha
    • 5.14.0
    • GUI: Text handling
    • None
    • Windows 10 (Build 1909).
    • Windows
    • c62333424839b3229706a6ebb64ba271689a3b8c (qt/qtbase/5.14)

    Description

      I put a text filling a QPlainTextEdit with a placefolder text, resized it to the height of 1.5 lines, and moved a text cursor. Then, the program randomly crashes with an error "Exception at 0x78a2580c, code: 0xc0000005: read access violation at 0x0; flags=0x0 (first chance)."

      This will not cause without a placeholder text.

       

       

      Attachments

        1. image-2019-12-20-19-34-24-994.png
          image-2019-12-20-19-34-24-994.png
          7 kB
        2. image-2019-12-20-19-35-48-796.png
          image-2019-12-20-19-35-48-796.png
          4 kB
        3. image-2019-12-20-19-41-24-312.png
          image-2019-12-20-19-41-24-312.png
          5 kB
        4. uyaaa.gif
          uyaaa.gif
          350 kB
        5. UyanTest.zip
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            chehrlic Christian Ehrlicher
            3c1u Hikaru Terazono
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes