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

Crash when selecting text in a QTextEdit or QTextBrowser ( RC: ou1cimx1#491113)

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P0: Blocker
    • 4.7.1
    • None
    • (Inactive) OpenVG
    • None
    • Symbian, OpenVG enabled platform.

    • 6d29bcc28c4ee9b7583a62d23a931b9389004966

    Description

      Selecting text in a QTextEdit or QTextBrowser when rendering with the OpenVG graphics system results in a crash. The root of the problem is clipping with a null path and when text is selected in one of the above widgets, the rendering path will use a null path clip. The OpenVG paint engine crashes when a null clip is used.

      Text selection is *not * the only way to reproduce this bug though. Any widget that paints content and happens to use a null clip path will immediately cause a crash. WebKit is the biggest user of path clipping in Qt so it is possible that a null path clip code path could be hit there as well.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jabarron Jason Barron
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes