After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 302273 - bezierline crashes dia after deleting section near startpoint
bezierline crashes dia after deleting section near startpoint
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: objects
0.94
Other All
: High critical
: 0.95
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-28 10:19 UTC by Johann
Modified: 2005-05-15 14:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixing strange behavior of bezierlines after deleting a segment (853 bytes, patch)
2005-05-13 20:16 UTC, Radek Krahl
committed Details | Review

Description Johann 2005-04-28 10:19:24 UTC
Distribution/Version: dia-installer.sf.net

1. Place a bezierline.
2. Right click and add a segment
3. Delete the segment.
4. The bezierline is not what it used to be. Try to move the end parts.... maybe
save first

This only happens near the start of the line. The green start dot turns red and
as soon as you try to do anything to that line you have weird results and a crash.
Comment 1 Johann 2005-04-28 10:31:52 UTC
This has the same effect

1. Place a bezierline.
2. Right click and add a segment
3. UNDO  

Start point turns from green to red.... so no more start point and no more
changing this line!
Comment 2 Lars Clausen 2005-04-28 16:58:16 UTC
Confirmed.  Can also get strange effects from it.  Also happens in newest CVS.
Comment 3 Radek Krahl 2005-05-13 20:16:10 UTC
Created attachment 46404 [details] [review]
Patch fixing strange behavior of bezierlines after deleting a segment

Fix for 'strange effects' that happen when user deletes a segment near end of
bezierline.
Comment 4 Hans Breuer 2005-05-15 14:07:09 UTC
Thanks, applied.

2005-05-15  Hans Breuer  <hans@breuer.org>

	* lib/bezier_conn.c(remove_handles) : don't try to remove 
	non-exisitng handles (patch from Radek Krahl, bug #302273)