Flyspray:: Flyspray::QCAD Bugtracker: Recently opened tasks https://www.ribbonsoft.com/bugtracker/ 2018-07-16T15:00:58Z FS#1783: RArc::splitAt(): fails in some cases 2018-07-16T15:00:58Z 2018-07-16T14:11:11Z

RArc::splitAt() works wrong in some cases.
To reproduce execute this script:

            var arc = new RArc(new RVector(0, 0), 100, Math.PI*2, Math.PI/2, true);
            var points = [];
            points.push(arc.getPointAtPercent(1/3));
            var arcs = arc.splitAt(points);
            if (arcs.length == 2) {
                qDebug("OK, arcs count:", arcs.length);
            } else {
                qDebug("FAILED, arcs count:", arcs.length);
            }

            arc.mirror(new RLine(0, 0, 0, 100));

            points = [];
            points.push(arc.getPointAtPercent(1/3));
            arcs = arc.splitAt(points);
            if (arcs.length == 2) {
                qDebug("OK, arcs count:", arcs.length);
            } else {
                qDebug("FAILED, arcs count:", arcs.length);
            }

The first case split in two arcs, but the second splits in one arc only.

I think the reason is the code in RArc::splitAt():

        ...
        if (RMath::getAngleDifference180(a1, a2))*radius()<0.001) {
            continue;
        }
        ...

The RMath::getAngleDifference180() return angle between -pi and pi so absolute value should be used.

Lev Golod https://www.ribbonsoft.com/bugtracker/:1783
FS#1782: Successive middle mouse button zoom in/out: delay between steps 2018-07-13T15:16:24Z 2018-07-13T09:16:50Z

I very much like the new middle mouse button zoom in/out and congratulate Andrew for implementing it so quickly but there’s an annoying delay that is necessary between successive zoom in/out actions. This is easily understood by comparing it to zooming in/out with the +/- keys. With the keyboard you can repeat zooms as quickly as the keyboard repeat rate allows; with the middle mouse button quick zooms are not possible.

Jean-François Lemaire https://www.ribbonsoft.com/bugtracker/:1782
FS#1781: QCAD 3.21.2 crashes when selecting an entity in attached file 2018-07-10T21:04:33Z 2018-07-10T19:14:29Z

QCAD 3.21.2 x86_64 Linux crashes if I try to select any entity of the attached file. The qt4 legacy version is working fine.

Jean-François Lemaire https://www.ribbonsoft.com/bugtracker/:1781
FS#1780: QCad quits when you double-click a text 2018-07-11T19:14:45Z 2018-07-10T18:26:23Z

QCad quits when you double-click a text; What’s wrong, QCad or file?

jose amaro https://www.ribbonsoft.com/bugtracker/:1780
FS#1779: Layer list, block list, etc: add support for international characters when sorting 2018-07-09T10:32:19Z 2018-07-07T05:41:07Z

The attached screenshot will make clear what the problem is:
“échelle” should be between “cotes” and “platines”, not at the bottom. “e” and “é” must be considered the same letter when ordering alphabetically.

Jean-François Lemaire https://www.ribbonsoft.com/bugtracker/:1779
FS#1778: Draw > Point > Single Point: Exception 2018-07-06T09:15:31Z 2018-07-06T09:14:34Z

Exception due to invalid include path.

Andrew https://www.ribbonsoft.com/bugtracker/:1778
FS#1777: Crash when pasting / importing drawing with missing image 2018-07-05T20:48:05Z 2018-07-05T20:44:50Z

Importing or pasting a drawing which references a non-existing image crashes.

RGraphicsSceneDrawable or type image references deleted, temporary preview document through RImageData which leads to crash when trying to load the image.

Andrew https://www.ribbonsoft.com/bugtracker/:1777
FS#1776: Edit > Application Preferences: Tool Settings: cannot configure shortcuts 2018-07-03T16:02:54Z 2018-07-03T16:02:35Z

Multikey shortcuts are broken in Qt.
QCAD needs its own implementation of shortcut handling which also affects shortcut configuration.

Andrew https://www.ribbonsoft.com/bugtracker/:1776
FS#1775: Viewports: images sometimes not clipped at viewport edge 2018-06-29T20:22:03Z 2018-06-29T08:49:31Z

See also:
https://qcad.org/rsforum/viewtopic.php?f=89&t=5657

Andrew https://www.ribbonsoft.com/bugtracker/:1775
FS#1774: Draw > Polyline > Morph: crash under macOS 2018-06-29T07:29:59Z 2018-06-29T07:29:45Z

Depolyment issue with qcaddwg plugin.

Andrew https://www.ribbonsoft.com/bugtracker/:1774