bullud / pictureflow

Automatically exported from code.google.com/p/pictureflow
0 stars 0 forks source link

Floating point exception with small width instances #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a dock widget with a picture flow instance as a main widget
2. Embed the dock in a mainwindow in a small dowk widgets area
3. Launch the mainwindow

What is the expected output? What do you see instead?
Floating point exception, nothing.

What version of the product are you using? On what operating system?
Svn trunk, coding on mac, happens on ubuntu as well.

Please provide any additional information below.
The error happens in the resize function, the stack is as follows:
PictureFlowPrivate::recalc(int, int) + 198
PictureFlowPrivate::resize(int, int) + 32
PictureFlow::resizeEvent(QResizeEvent*) + 57
... instanciation

The problem does not occur when the widget is instanciated in a wider area.

Original issue reported on code.google.com by jwi...@gmail.com on 25 Dec 2007 at 7:13

GoogleCodeExporter commented 9 years ago
Thank you for your bug report.

There is an improved version, check the folder pictureflow-qt (and not 
pictureflow-
try it again?

Original comment by ariya.hi...@gmail.com on 31 Jan 2008 at 9:16

GoogleCodeExporter commented 9 years ago
I mean, folder pictureflow-qt (and not pictureflow-qt4)

Original comment by ariya.hi...@gmail.com on 31 Jan 2008 at 9:17

GoogleCodeExporter commented 9 years ago

Original comment by ariya.hi...@gmail.com on 4 Mar 2008 at 8:57