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

QFontMetrics::elideText falsely eliding text

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.4.1
    • GUI: Text handling
    • None
    • Mac OSX
    • macOS

    Description

      If you take a string like "ポイント(&H)" which has a mnemonic in it, calculate the width of the string, with the mnemonic hidden, then pass that width into QFontMetrics:::elideText, also with the option to hide the mnemonic, it will elide the text anyways, even though it has the space to properly draw it.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            nteeuwentableau Nicolas Teeuwen
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes