D19256: [RFC] height or width of FrameSvgItem can be set to a negative number, handle it..

Benjamin ROBIN noreply at phabricator.kde.org
Sat Feb 23 16:43:27 GMT 2019


benjaminrobin created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
benjaminrobin requested review of this revision.

REVISION SUMMARY
  As explained in the bug report this is maybe not the right fix. It's hide the true problem.
  In the case of the bug report, a QQmlJavaScriptExpression generate a value equal to "nan" which
  is then converted to an integer, which gives -2147483648
  
  Reference:
  
  - https://bugs.kde.org/show_bug.cgi?id=403978
  - https://bugs.kde.org/show_bug.cgi?id=404109

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D19256

AFFECTED FILES
  src/declarativeimports/core/framesvgitem.cpp

To: benjaminrobin
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190223/afe36b89/attachment.html>


More information about the Kde-frameworks-devel mailing list