PDA

View Full Version : Qwt 6.0.0-rc3 bugs



Vortex
28th October 2010, 14:25
I have two problem with Qwt 6.0.0-rc3. I'm on Linux and using Qt 4.7.0.

1. As you can see in the attached image, when i zoom on a plot it draws some horizontal lines near the top border where the line is outside the scale (red arrows). It seems this bug affects only the top part of the plot since in the bottom i don't see those lines (blue arrows).

2. Another bug is that the QwtPlotPicker has stopped working. I have slots connected to selected(QRectF) and moved(QRectF) and it seems these signals are not emitted anymore.

Can someone confirm these bugs / have a solution?
The same program using Qwt 5 doesn't have these problems.

Uwe
30th October 2010, 09:24
1. As you can see in the attached image, when i zoom on a plot it draws some horizontal lines near the top border where the line is outside the scale (red arrows).
This is a problem of the curve clipping. Fixed in SVN trunk - thanks for reporting.

It you want to stay with rc3 you can disable polygon clipping:


QwtPlotCurve::setPaintAttribute(QwtPlotCurve::Clip Polygons, false);



2. Another bug is that the QwtPlotPicker has stopped working. I have slots connected to selected(QRectF) and moved(QRectF) and it seems these signals are not emitted anymore.
The signals that exist are:


void moved( const QPointF & );
void selected( const QRectF & );

I checked a picker with a QwtPickerDragRectMachine, where everything was fine.

Uwe