Menu

#6 Grid Resize Error

open
nobody
None
5
2009-11-11
2009-11-11
Anonymous
No

The Sudoku GUI application crashes when I attempt to resize the input grid. Specifically, the grid flashes uncontrollably and does not allow further input of any kind. This only occurs when I resize the grid to be such a size as to need slide bars on either the bottom or right side of the grid. For example, a grid with input

"Across 3 Down 4"

will display properly, but as soon as you attempt to scroll using either the arrows on the bottom or the slide bar itself - the grid starts to flash uncontrollably. However, this only works when the grid is empty. E.g if you compose a grid to be this size, there will be no error (if the grid size is composed to be larger than 3x3, but empty). I also attempted to maximize the GUI , but that also would not fix the error.

My guess is the Grid for the Sudoku is simply created with only the 3x3 grid and smaller grids in mind, so you never have to scroll to see the whole puzzle. All the smaller grids resize appropriately, so my guess is there is a fixed window size that the grid can occupy, which is too low given the amount of screen real estate available. This necessitates scroll bars, which I assume are not implemented correctly or are indicative of a larger problem. If it is the former, and can probably be solved by overriding the size alloted for the input grid and increasing it, or re-implementing the scroll bars.

For reference, I am running Linux Red Hat v2.16 on a Dell Optiplex 755 (Core 2 Duo, 4gb memory). I built from sudoku source RI_22 beta in the Eclipse IDE v3.4. Screen resolution is 1280x1024.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.