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

Changing font properties of tooltip breaks font

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.8.0
    • Fix Version/s: 5.9.1
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Environment:
      Windows 10, 64 bit

      Compiler: Visual Studio 2015
    • Commits:
      9b201572e518c976dee95f4c3146b4feedbb2e70

      Description

      Modifying the font properties (pixelSize, bold, ...) in a tooltip works as expected if a literal is used. As soon a property or expression is used the font family falls back to default.

      In a text control using expressions for font property works as expected.

       

      See attached main.qml and screenshot

      Used font is [Fira Code|https://github.com/tonsky/FiraCode,] but any other family will have the same result

       

       

        Attachments

        1. main.qml
          1 kB
        2. tooltip_broken_font.PNG
          tooltip_broken_font.PNG
          12 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              palortoff Lars Flitter
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes