Issue 74628 - Modifying an arc is broken
Summary: Modifying an arc is broken
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: editing (show other issues)
Version: OOo 2.2
Hardware: All All
: P3 Trivial with 2 votes (vote)
Target Milestone: OOo 2.3
Assignee: wolframgarten
QA Contact: issues@graphics
URL:
Keywords: regression
: 76274 76433 (view as issue list)
Depends on:
Blocks:
 
Reported: 2007-02-17 22:35 UTC by Regina Henschel
Modified: 2007-06-15 17:50 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
description with screenshots (22.51 KB, application/vnd.oasis.opendocument.text)
2007-02-19 00:19 UTC, Regina Henschel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2007-02-17 22:35:38 UTC
Draw an arc for example from 0° to 270°
Turn on point editing modus
Go to one end point of the arc and drag it to 45° (The cursor turns to a hand).
Nothing happens.
Go to the other end point and drag it to 180°.
The arc vanishes.

Modifying an arc works well in OOo2.1.
Comment 1 kpalagin 2007-02-18 20:29:29 UTC
Can't repro with 2.2m5 on WinXP. Either I am doing it wrong or I need to use 
different build.

regina,
could you, please, provide elaborate on "Turn on point editing modus" 
(screenshot maybe) and specify exact build number?
Thanks.
Comment 2 Regina Henschel 2007-02-19 00:19:45 UTC
Created attachment 43142 [details]
description with screenshots
Comment 3 Regina Henschel 2007-02-19 00:23:34 UTC
It is at least broken since m195.
Comment 4 kpalagin 2007-02-19 09:56:36 UTC
Confirming with 2.2m7 - changing arc angle does not work.
It worked fine on 2.1.
Setting keyword "regression"
Comment 5 wolframgarten 2007-02-26 08:33:10 UTC
Reproducible. Reassigned.
Comment 6 Joe Smith 2007-04-08 03:43:54 UTC
It seems that when you try to edit the arc, any attempt to move an endpoint
immediately causes the endpoint to jump to the 0° (right-middle) position. If
you try to edit both endpoints of the arc, each of the ends collapse to the same
point and you have a zero-size object.

You can't select it by the mouse anymore, even by rubber-band. Ctrl+A still
works, but the only operation that has any effect on the arc object is delete.

If you check the position & size (F4), the size is 0.01" x 0.01" and the
position is -0.39", -0.39". This doesn't match the handles shown on the drawing.
Comment 7 Regina Henschel 2007-04-11 18:03:26 UTC
*** Issue 76274 has been marked as a duplicate of this issue. ***
Comment 8 Armin Le Grand 2007-04-13 17:53:16 UTC
AW: One more candidate for aw048...
Comment 9 Joe Smith 2007-04-14 23:55:06 UTC
Just so we're clear: Not just arcs, but ALL of the partial ellipse/circle
shapes, both on the Ellipse toolbar and the individual tools, are broken for
editing in the same way as described here.

Hopefully it's only one bug that's biting all these guys.
Comment 10 Armin Le Grand 2007-04-16 14:38:57 UTC
AW->jes: thanks for the clarification. You guessed right, it's all the same
object type internally and should be the same problem...
AW: Identified. I have no idea why this ever worked, but You have accesses in
svdocirc.cxx like
     long nWink=*((long*)(rDrag.GetUser()));
instead of
     ImpCircUser* pUserData = (ImpCircUser*)rDrag.GetUser();
     long nWink=pUserData->nWink;
with ImpCircUser derived from SdrDragStatUserData. However, this caused the
interactively changeable angles from not being used during interactions and at
the end of the interaction.
AW: Changed that. Also took the chance to rework the XPolygon usages in the file
and cleanedup some more ambigious and superfluous (and dangerous) things there.
This always needs to be done very carefully to e.g. keep point order when
converting to polygon objects. That point oder needs to be kept compatble due to
line patterns and text along shapes.
AW: Okay, works so far. Checking in.
AW: Done.
Comment 11 Armin Le Grand 2007-04-17 12:02:59 UTC
*** Issue 76433 has been marked as a duplicate of this issue. ***
Comment 12 Armin Le Grand 2007-04-20 09:55:16 UTC
AW->WG: Please verify:
- add 'Circle Pie' to the Drawing toolbar
- use it. Press F2 to get to the point edit mode
- modify the two big points controlling the angles of the arc
Comment 13 wolframgarten 2007-04-23 13:02:23 UTC
Verified in CWS.
Comment 14 wolframgarten 2007-05-21 08:47:30 UTC
Tested in src680m212. Closed.
Comment 15 schuetzm 2007-06-15 13:40:21 UTC
Please reopen this issue. I can still reproduce the bug in 2.2.1.
Comment 16 jolatt 2007-06-15 14:34:58 UTC
@schuetzm

notice the targetmilestone. It's 2.3 not 2.2.1.
Comment 17 christian.guenther 2007-06-15 17:01:34 UTC
I tested it again and it is fixed.
Please have a look if the bug still occures in the latest developer build
(src680m216)
Comment 18 Regina Henschel 2007-06-15 17:50:27 UTC
For me (WinXP) it is OK in src680m216.