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

Wrong text color when using font.underline and horizontalAlignment in Text element using opengl rendering

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 4.7.4
    • GUI: OpenGL
    • Harmattan

    Description

      From Bugzilla Radakovic Bojan:

      Error is triggered in application by setting font.underline to true. But,
      setting only font.underline of Text element to true is not enough to observe
      error after application start up- it seams that at least horizontalAlignment of
      Text element needs to be set. Otherwise, error will be visible only after
      couple of changes of font.underline property.

      Attached application can be compiled and run on device independently (./simpleblacktext)
      or qml/simpleblacktext/main.qml can be invoked in qmlviewer like this:

      qmlviewer -opengl qml/simpleblacktext/main.qml

      Notice that if -opengl parameter is ommited, application will be rendered
      correctly in qmlviewer!

      Idea (and initial code) for bare test app I got from colleague who noticed
      similar behavior on his N8. So, it looks like that problem is somewhere in Qt,
      and not in OpenGL/OpenVG driver (to be confirmed once we run same test app on
      some Symbian device)

      All of this leads me to conclusion that we have problem with font rendering
      when OpenGl is involved.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            nkurkisu Niklas Kurkisuo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes