[Haiku-bugs] [Haiku] #3971: Patch: enable mixed mouse+keyboard input in Sudoku

Stef trac at haiku-os.org
Sat May 30 14:29:42 CEST 2009


#3971: Patch: enable mixed mouse+keyboard input in Sudoku
----------------------------------+-----------------------------------------
  Reporter:  Stef                 |       Owner:  axeld         
      Type:  enhancement          |      Status:  reopened      
  Priority:  normal               |   Milestone:  R1            
 Component:  Applications/Sudoku  |     Version:  R1 development
Resolution:                       |   Blockedby:                
  Platform:  All                  |    Blocking:                
----------------------------------+-----------------------------------------
Changes (by Stef):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Thanks, but the modified patch applied in r30918 still fails when
 _GetFieldFor returns true but one of the other clauses in the if statement
 on lines 850-852 passes. This can be seen for instance when there is a
 number in the cell pointed to by the mouse; it is not possible to change
 this number with the point-and-type method, as any numbers typed appear in
 the previous empty cell pointed to.

 Moving the assignments above the if statement (but obviously after the
 _GetFieldFor call) as in my original patch allows numbers to be changed
 without such unexpected behavior.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/3971#comment:2>
Haiku <http://dev.haiku-os.org>
The Haiku operating system.



More information about the Haiku-bugs mailing list