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

Cocoa: Bounding rect of non-printable character is non-empty

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.6.0
    • GUI: Text handling
    • None
    • Mac OS X

    Description

      There is a platform regression between Carbon and Cocoa in QFontMetrics::tightBoundingRect() and possibly in similar functions. When getting the bounding rect of a control unicode character, an empty QRect(0, 0, 0, 0) will be returned on Carbon, and a non-empty rectangle on Cocoa.

      The former behavior seems to make the most sense. Test case in related task.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              esabraha Eskil Abrahamsen Blomfeldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes