Crash: using CRTL+Z while using line tool
This has happened two times now: I start using the "point on a line" tool by clicking on the first point. I realise I wanted to do something else and try to abort by pressing CRTL+Z ("go back"). Of course this shouldn't do anything. Instead, the program crashes. I'm using 0.4.2.
Comments (16)
-
repo owner -
repo owner Because i don't know the command you tried to undo i'll just block undo/redo option when the tool is active.
-
reporter I clicked on the "Punkt auf Entfernung auf einer Linie" (point in distance on a line?) tool. I clicked on one point in my pattern. I pressed CTRL+Z ("undo").
-
reporter So I tried to undo it while I wasn't finished with the tool.
-
repo owner No, this is not what i am asking. You can't undo a tool with CTRL+Z. With CTRL+Z you will undo previous command (create, move and so on). I need to know what was this command. This is very important. Because now correct undo will not crash the program. And you have found undo that crashes the program.
-
reporter Oh, okay. I guess that must have been another "point on a line", though I'm not sure. Will test if I can repeat this now.
-
I have replicated this issue, but I have to press CTRL-Z twice. I'm on Ubuntu 14.04 64-bit with Valentina v0.4.2 It happens with other tools. It doesn't appear to be a problem with any given tool.
- Create a line with 'Point at Distance and Angle'
- Select 'Point at Distance along Line'
- Select 1st point
- Ctrl-Z - 'Redo save tool option' icon becomes enabled on the top menu bar (does nothing when selected in this context)
- Ctrl-Z - Valentina closes
I tested with these tools and Valentina crashed on the second CTRL-Z:
- 'Point at Distance and Angle' - (not when it's the first tool in a pattern piece)
- 'Point along Perpendicular'
- 'Point along Bisector'
- 'Special Point on Shoulder'
I tested by using the CTRL-Q (shortcut key to Exit) in place of the CTRL-Z. The CTRL-Q shortcut key works properly, it displays a prompt about saving changes. Perhaps CTRL-Z is defined as a shortcut key to close without saving.
-
repo owner Ok, this is better. I will look tomorrow.
-
reporter - I create a point on a line. I select this tool (point on a line) again, click on a different starting point and press CTRL+Z. The program crashes.
- I create a new point. I select this tool (new point) again, click on a different starting point and press CTRL+Z. The program crashes.
- I create a curve. I select this tool (curve) again, click on a different starting point and press CTRL+Z. The program crashes.
This seems to happen regardless of the tool.
-
reporter I'm on Windows 8.1 32-bit btw. I only need to press CTRL+Z once.
On the last try (with the curve) I was able to move the mouse (without moving the red line) for a second or so before the program reported an error.
-
repo owner - changed status to open
Confirm.
-
repo owner - changed status to resolved
Fixed issue
#454. Crash: using CRTL+Z while using line tool.→ <<cset 574b96a0b75c>>
-
repo owner -
repo owner Fixed issue
#454. Crash: using CRTL+Z while using line tool. (grafted from 574b96a0b75cf276766eef61d2bb16ea79a604de)→ <<cset aee8be7116f6>>
-
repo owner - removed milestone
Removing milestone: v0.5.0 (automated comment)
-
repo owner - removed version
Removing version: 0.4.3 (automated comment)
- Log in to comment
I can't repeat. I think very important to know what command you try to undo. Can you remember this?