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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.7.1
    • Component/s: (Inactive) OpenVG
    • Labels:
      None
    • Environment:

      Symbian, OpenVG enabled platform.

    • Commits:
      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

            Assignee:
            jabarron Jason Barron
            Reporter:
            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