[Haiku-bugs] [Haiku] #1617: DeskCalc BS button only deletes Keyboard presses, not mouse

Haiku trac at haiku-os.org
Wed Jan 9 11:07:05 CET 2008


#1617: DeskCalc BS button only deletes Keyboard presses, not mouse
--------------------------------------+-------------------------------------
  Reporter:  hai_cu_be                |       Owner:  jackburton    
      Type:  bug                      |      Status:  assigned      
  Priority:  normal                   |   Milestone:  R1            
 Component:  - Applications/DeskCalc  |     Version:  R1 development
Resolution:                           |    Platform:  All           
--------------------------------------+-------------------------------------
Comment (by stippi):

 Hi Stefano, thanks for picking this up. I investigated this one a bit the
 other day and it should have to do with Undo and the codepath for it. If
 you use TextView::Insert() directly, no Undo event is generated and this
 is the cause for the bug. I don't know if the original DeskCalc worked the
 same way as the current one, you probably need to make a test to find out
 if R5 TextView::Insert() generates an Undo step... if not, the problem is
 in DeskCalc, since BS just invokes Undo().

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



More information about the Haiku-bugs mailing list