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

Changing font properties of tooltip breaks font

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.1
    • 5.8.0
    • Quick: Controls 2
    • None
    • Windows 10, 64 bit

      Compiler: Visual Studio 2015
    • 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

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              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