bugXBoard - Bugs: bug #42923, Window resize error

 
 

bug #42923: Window resize error

Submitted by:  djoot <djoot>
Submitted on:  Wed 06 Aug 2014 07:41:50 AM UTC  
 
Category: XBoard (GTK version)Severity: 3 - Normal
Item Group: CrashStatus: Fixed
Assigned to: NoneOpen/Closed: Closed
Release: git

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
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
  • -unavailable- added by apersaud (Updated the item)
  • -unavailable- added by djoot (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 13 Sep 2014 05:18:10 PM UTCapersaudStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      ReleaseNone=>git
    Wed 06 Aug 2014 07:41:50 AM UTCdjootAttached File-=>Added patch, #31849

    Back to the top


    Powered by Savane 3.1-cleanup1