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

Regression: specific text is not drawing fully using QPainter::drawText(rect, text) on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.11.2, 5.12.0 Beta 1
    • GUI: Painting
    • None
    • Ubuntu 18.04, Wayland
    • All

    Description

      The specific text, for example "1:01", "1:00", "1.00" is not showing correctly on Ubuntu 18.04 wayland using Qt 5.11.2 and 5.12.0 b1.

      Other text, say "2:00" is showing ok.

      I tried same with Qt 5.10.1 - it's working ok.

      The bug arises only if using drawText(rect, text), while drawText(point, text) is working well.

      I attached in screenshots from 5.10.1 and 5.11.2 where you can see the difference.

      The minimal bug test project is attached as well.

      Regards, Dilshod

      Attachments

        1. minimalBugTest.zip
          3 kB
        2. screenshot-5.10.1.png
          screenshot-5.10.1.png
          17 kB
        3. screenshot-5.11.2.png
          screenshot-5.11.2.png
          17 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            dilshodm Dilshod Mukhtarov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes