Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-201

Python crashes when set float numer to QPen.setWidth()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 1.2.x
    • PySide
    • None

    Description

      I've been using QGraphicsView and a few QGraphicsItems. When I set a float number as QPen width by function call:

      QPen.setWidth(float_numer) .. Qt docu says for int only

      Python randomly (not everytime and not for every QGraphicsObject) crashes under Windows 8. Under Windows 7 everything seems to be OK. I know that there is a function for float numers setWidthF(), but I've accidentally set float number to int function and I've found this strange behavior.

      Using Python 2.7.5 x86, Windows 8 Pro x64, PySide 1.2.1 x86

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            m1lhaus Milan Herbig
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes