Issue 36115

Summary: arc with one arrow gets two arrows after reopening
Product: Draw Reporter: hdevos <harald.devos>
Component: formattingAssignee: wolframgarten
Status: CLOSED FIXED QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.1.3Keywords: needmoreinfo, oooqa
Target Milestone: OOo 2.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Arc with one arrow end before saving and two after reopening. none

Description hdevos 2004-10-26 08:38:09 UTC
Open a new drawing. 
Draw a circle arc. 
Assign the style "Object with arrow" to it. 
Flip it. 
As reported in DEFECT ID 13408 the arrow end does not flip. 
Swap the arrow ends manually: select object, right click, line, Arrow styles, 
change arrow into none end vice versa, OK 
The arrow is now at the other end of the arc. 
Save the file. 
Close it. 
Reopen the file. 
It appears to have two arrow ends: one that you set manually, one 
defined by the "object with arrow" style.
Comment 1 hdevos 2004-10-26 08:39:50 UTC
Created attachment 18656 [details]
Arc with one arrow end before saving and two after reopening.
Comment 2 thackert 2004-10-31 15:05:41 UTC
Which distribution do you use? Your instructions work for me with SuSE 9.1 and
OOo-1.1.3 ...
Comment 3 wolframgarten 2004-11-01 09:15:40 UTC
Problem is reproducible on windows, too. The hard formatted shift of the
line-endings should be remembered after reload.
This worked in OOo1.0.
Comment 4 wolframgarten 2004-11-01 09:15:55 UTC
Set to new.
Comment 5 clippka 2004-11-10 12:14:15 UTC
Armin, thanks for taking over this one during my vacation
Comment 6 Armin Le Grand 2004-11-22 12:28:15 UTC
AW: Problem is that the setting of line start/end style of 'none' is not saved,
even if it is a hard attribute. It is somehow filtered out. I tried to find out
in XMLOFF where this happens, but i got no clue up to now.
Comment 7 Armin Le Grand 2004-11-22 15:19:56 UTC
AW: In svx/source/unodraw/unoshape.cxx line 2886 (eState =
beans::PropertyState_DEFAULT_VALUE), the state is declared as default. This is
not true in this case. I also think for other cases (see the dfines above the
line) it may be wrong. The result is that the property is not saved since it's
default.
AW: I am not sure what to do here. The error may be fixed in XMLOFF, but also in
the API. This needs to be discussed with CL.
Comment 8 Armin Le Grand 2004-11-22 15:52:04 UTC
AW: Discussed with CL. Fixed for XATTR_LINEEND and XATTR_LINESTART in
SvxShape::_getPropertyState. I will write a follow-up task for CL.
Comment 9 Armin Le Grand 2004-12-06 11:58:14 UTC
AW->WG: Please verify. Fixed here: Arrows are correct now after load.
Comment 10 Armin Le Grand 2004-12-06 11:58:46 UTC
.
Comment 11 wolframgarten 2004-12-06 14:40:21 UTC
Fixed.
Comment 12 wolframgarten 2004-12-07 08:24:57 UTC
Verified in CWS.
Comment 13 wolframgarten 2005-01-05 11:54:54 UTC
Tested in mster m68. Closed.