Bugs Fixed

# Bugs Fixed in xfig 3.2.4

Undo of join/split now works correctly. From Pieter-Tjerk de Boer (ptdeboer@cs.utwente.nl)

Pulldown menu for object library didn't always go away while loading library

If -library_dir was relative path, any imported pictures in library files wouldn't be found.

If in text draw mode and user uses Alt- accelerator, the compose LED would stay on

Middle mouse emulation for 2-button mice wasn't accepting Alt-Right- click, only Meta-Right-click.

If one created a new figure and didn't save it before exporting, the export command was malformed resulting in an error message.

Numeric locale setting moved to routines that read and write Fig files so that the user's numeric convention is used in everything else.

Point positioning was truncated in the negative X and Y regions of the canvas instead of being rounded.

-b (border margin) wasn't being passed to fig2dev for PDF and PSTEX output.

xfig only recalculate the bounds of compound objects being read if there are no bounds following the "6" or they are all 0. This fixes the problem introduced in 3.2.3d where objects that were bound at a certain point positioning were rebound at the current positioning.

When xfig reads in a .fig file (merge_file or load_lib_obj) it will not put the file into another compound if it contains only one compound. This will prevent the double compounding of library objects or merged files.

If a compound with more than 64 strings was edited, xfig segfaulted because the limit wasn't checked. This is fixed, and the limit has been increased to 200.

Typo in figx.h. "#ifdef XAW3d" instead of "#ifdef XAW3D" (capital "D")

If the XFIGDOCDIR directory didn't already exist, install.doc failed.

The "make install.all" directive did not install the executable, as the README file said is would. This has been fixed.

Deleting a region (middle mouse button delete) of a figure resulted in all other objects dissappearing after a screen refresh.

If the user mistakenly clicked the *left* mouse button on a point where he wanted to *split* a line, the ability to split was turned off.

Toplevel library directory wasn't included in library menu when it contained .fig files.

Subdirectories without any .fig files appeared in the library menus, contrary to the documentation.

If xfig was renamed to anything else, the command-line arguments and X resources weren't parsed by the Intrinsics. This is fixed.

Some versions of "make" don't like the blank line produced by the "#ifdef I18N" in the install.html section of the Imakefile, so it has been reworked to get around that bug.

Array placement with horizontally/vertically constrained copy works now

Html "options" page showed "-pa" as abbreviation for -paper_size, when in fact it is now "-pap" because of the new "-pageborder" option.

If display zoom was large (> 20) and grid was turned on, very large pixmap was being created for the grid.

Inconsistancy with "char" vs "unsigned char" in get_canvas_clipboard().

Text input and editing more efficient when redrawing large fonts.

Box curve indicator now appears when in "convert box<->arcbox" mode.

If user called xfig with empty (but existing) file, the filename was not retained for subsequent save.

Cleaned up redrawing of corner markers when editing objects from popup edit panel.

Scaling arcbox didn't report scaling messages.

When scaling rotated ellipses, scaling messages were overwritten.

Improved redraw when moving/scaling/copying objects and screen is redrawn.

Drawing units indicator was not updated when reading Fig file.

Cleaned up "move point" code. When moving a corner point of a box or compound or the radius or diameter of a circle or ellipse, it would first make the object dissappear until the mouse was moved. This doesn't happen anymore.

Command-line -userunit (X resource Fig.userunit) were overwritten when reading Fig file. Now it is only changed if units are inconsistent with value in file. E.g. if file has "Inches" and xfig has "cm", xfig changes to "in" when reading file.

A few files were left open that should be closed.

If the print and/or export panels are up and the figure units are changed from/to Metric/Imperial, the figure size wasn't updated in the print/export panel(s).

Missing link from editing.html file to "Paste Objects" in main_menus.html.

Bug in array place item - didn't work when number of X copies and Y copies = 1.

Bug in undo of array place - didn't account for adding back object depths

(dx, dy) values weren't displayed when moving the midpoints of a line or arc.

While drawing freehand (middle mouse button start), if the user wanted to delete points by holding down the shift key and pressing the left button, moving the mouse would still add points to the object

PNGINC Imakefile variable added to specify where png.h is located (was already there in fig2dev)

The depth counts were erased when deleting a region of a figure.

If you choose one object from a library to place on the canvas and then popup the library panel and choose another object, the depths from the temporary object following the pointer weren't accounted for.

Added "Fig*AllowShellResize: false" to the app-defaults file to fix a problem that some window managers have with xfig continually resizing itself

When saving path of imported picture, xfig thought path was relative to current directory when it wasn't

Added "|| defined(apollo)" in fig.h to include sys/types.h

Doc/FORMAT3.2 file had imported picture description line reversed with points lines

Doc/FORMAT3.2 file had incorrect values for object types in the first part of section 3.

Segfault when merging a Fig file with only color objects (no drawing objects)

No message when toggling on/off depth manager

If xfig couldn't open ~/.xfigrc for writing (e.g. because of permissions) it would segfault

Segfault when converting a 2-point line to a polygon. Bugfix from Tom Sato.

Segfault when creating a closed spline with three points, where the last two points are coincident. Bugfix from Tom Sato.

Typo in attributes.html in describing the selection of the previous or next attribute with mouse buttons 2 and 3 respectively. For mouse button 2 it should read "previous" and for button 3 "next".

Typo in Doc/FORMAT3.2 and Doc/html/fig-format.html for backward_arrow description: said "(0: no forward arrow, 1: on)" instead of ... no backward ...

Added $(DUSESMALLICONS) to dependencies for main.c in Imakefile

Reduced height of object edit panels by only displaying 3 comment lines and 6 x,y pairs before scrolling.

Special texts weren't filtered by the depth filter when exporting to combined ps/latex or pdf/latex

Various typographical errors found by Daniel Frèrejacque

Segfault if fast export (Alt-Shift-X) is done before either the file, export or browse panel was created

When xfig was compiled with WHEELMOUSE support, zooming was always "centered" even not zooming with wheel

Typo in Fig.ad resource file for pasting text using F8 key

When doing a panic save (segfault, etc.), xfig now closes any open compound objects first

Bug in importing GIF file. File descriptor changed between first open and final close.

Bug in Imakefile with JPEGINCDIR

Had to include SimpleMenu.c and header files because of changes to some Xaw SimpleMenu implementations that were incompatible with xfig's own SmeBSB object

Bug in "Figure size" label in export panel caused segfault sometimes

Macro call (up_part) in e_update.c caused problems on HP/UX ANSI compiler

Same compiler takes issue with empty action records in w_style.c: library_actions[] ={}; Removed because it isn't used anymore.

After pressing the "Reread" button in imported picture edit popup, the Shrink, Expand and Original size buttons were disabled

Bug in SmeCascadeP.h when not using 3D widget set (Xaw3d)

One remaining use of sys_errlist[] should have been changed to strerror() in f_util.c

Pressing Escape while drawing an object caused segfault

When line type is dotted and the dot gap is < 0.5, XSetDashes() produced "Bad Value" error. Found by Tom Sato

init_break_tag() and init_break_only() each had an extraneous parameter (loc_tag) which wasn't used and wasn't passed by the caller anyway. This caused havoc with (at least) the gcc optimizer on an Alpha processor. Found by Jay Estabrook.

Didn't allow smoothing when exporting to AutoCAD slide file.

Changing browser or pdfviewer in dialog had no effect.

Fixed problem with RedHat imake rules not installing Doc/xfig.man properly.

When making a compound object including lines that have arrowheads and large coordinates (>= 100000), an incorrect bounding box was produced. This same bug was in fig2dev 3.2.3d and earlier.

Drawing an arc by starting with the center and dragging it out now reports the angles of the endpoints after clicking on first endpoint instead of incorrectly reporting the radius.

Checks that closed splines have at least 3 points when reading Fig file and removes any that have fewer.

Exporting with color TIFF preview option missing parameter when calling fig2dev

Export grid option disabled for languages other than PS/EPS/PDF/bitmaps

Not really a bug, but the message that tells the user when xfig is converting a figure from an older file format to the current format has been removed.

When changing the height of xfig, the number of buttons per row on the mode (left) panel increase OR decrease as needed.

Chemical Process Flowsheet library Valve_horizontal and Valve_vertical valves reversed.

Bug in forcing absolute path for picture objects in libraries

Bug where xfig may change the Major/Minor printing/export grid tick values from "None" to 0.0

When an imported picture is compressed but the .fig file has the uncompressed name, export failed.

Xfig allowed "splitting" a picture box into a polyline. This has been fixed to disallow it.

Queries user if hasn't saved named styles after adding or deleting same.

Print-to-batch-file didn't call print_to_file with all parms

xfig crashed if the window manager deleted the color popup panel in the popup editors

[ Contents | Introduction | Credits ]