bugXBoard - Bugs: bug #42923, Window resize error

 
 

bug #42923: Window resize error

Submitter:  djoot <djoot>
Submitted:  Wed 06 Aug 2014 07:41:50 AM UTC
   
 
Category:  XBoard (GTK version) Severity:  3 - Normal
Item Group:  Crash Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  git
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 06 Sep 2014 12:35:34 PM UTC, comment #1: 

The 'Fix Initial Board Size' commit of March 12 should have already fixed this, as it prevents 'squareSize' to ever fall below 20.

H.G.

Anonymous
Wed 06 Aug 2014 07:41:50 AM UTC, original submission:  

When the (GTK) XBoard window is resized to a size too small it fails with:
Floating point exception (core dumped)

It is a division by zero in CutOutSquare(), I got it to work with the attached fix.

djoot <djoot>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #31849:  patch added by djoot (407B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by apersaud (Updated the item)
  • -email is unavailable- added by djoot (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-09-13 apersaud StatusNone Fixed
        Open/ClosedOpen Closed
        ReleaseNone git
    2014-08-06 djoot Attached File- Added patch, #31849

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code