[Pidgin] #10559: Unexpected and inconsistent behavior when deleting text in the chat window

Pidgin trac at pidgin.im
Wed Oct 21 09:42:31 EDT 2009


#10559: Unexpected and inconsistent behavior when deleting text in the chat window
--------------------+-------------------------------------------------------
Reporter:  ckittel  |        Type:  defect      
  Status:  new      |   Component:  pidgin (gtk)
 Version:  2.6.3    |    Keywords:              
--------------------+-------------------------------------------------------
 Steps to reproduces:[[BR]]
 1) Open an IM conversation window[[BR]]
 2) Type the following into the chat box "Hello, World! How are you?"[[BR]]
 3) Place your mouse cursor just before the letter W.[[BR]]
 4) Select all text to the right, ending at the end of the line.  (I'm a
 keyboard user, so I would have done Ctrl + Shift + Right Arrow ~5 times --
 but this issue happens if the text is selected by mouse as well)[[BR]]
 5) While still holding Ctrl + Shift, press the Backspace key.

 Result:  The entire line is deleted.

 Now, a slight, but important, variation of the above...[[BR]]
 1) Open an IM conversation window[[BR]]
 2) Type the same text into the chat box, "Hello, World! How are
 you?"[[BR]]
 3) Place your mouse cursor at the end of the line this time.[[BR]]
 4) Select all text to the to the left, until the only text that isn't
 selected is "Hello, " (exact same resulting selection as before, only the
 selection was made going right to left, instead of left to right.)[[BR]]
 5) While still holding Ctrl + Shift, press the Backspace key.

 Result:  The text "Hello, " is deleted, and the highlighted text remains
 on the line, undeleted.

 On a related note, pressing the Delete key instead of the Backspace key
 also produces the same results, in both situations.

 Both results feel wrong to me, and they are both obviously inconsistent.
 I would expect, in both situations that the highlighted characters, and
 only the highlighted characters would have been deleted.

 I was able to reproduce this in 2.6.3 x32 Win32 and x32 Linux; I didn't
 try any other combinations of OSes/Pidgin versions/arch.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/10559>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list