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

Bad line drawing since Qt 4.8.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 4.8.0, 4.8.1, 4.8.2, 5.8
    • Fix Version/s: None
    • Component/s: GUI: Painting
    • Labels:
      None
    • Environment:
      Windows 7, Visual C++ 2008.

      Description

      I am drawing lines using qreal dimensions. My code was working fine on Qt 4.7.2, but when I switched to Qt 4.8.0 it looks... well... ugly. It affects Windows and Linux, but setting graphics system on Linux to native fixes the problem. On Windows there's no change.

        Attachments

        1. line-bug-qt5.11.tar.gz
          1 kB
        2. mywidgetv3.tar.gz
          2 kB
        3. print_preview.png
          print_preview.png
          4 kB
        4. qt_47_3x.png
          qt_47_3x.png
          3 kB
        5. qt_47.PNG
          qt_47.PNG
          1 kB
        6. qt_47.PNG
          qt_47.PNG
          1 kB
        7. qt_474_correct.png
          qt_474_correct.png
          0.5 kB
        8. qt_48_3x.png
          qt_48_3x.png
          3 kB
        9. qt_48.PNG
          qt_48.PNG
          1 kB
        10. qt_48.PNG
          qt_48.PNG
          2 kB
        11. qt4-pen-behavior.png
          qt4-pen-behavior.png
          35 kB
        12. qt5-pen-behavior.png
          qt5-pen-behavior.png
          27 kB
        13. qtbug25896.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            allan.jensen Allan Sandfeld Jensen
            Reporter:
            witekt Witek Tyszkowski
            Votes:
            22 Vote for this issue
            Watchers:
            33 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes