Bug 259282

Summary: Cursor jumps to end of line in text boxes (Locale > Date & Time)
Product: [Applications] systemsettings Reporter: Marc Payne <marc321>
Component: kcm_languageAssignee: John Layt <jlayt>
Status: RESOLVED FIXED    
Severity: normal CC: sjakub
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marc Payne 2010-12-09 05:45:58 UTC
Version:           unspecified (using KDE 4.5.85) 
OS:                Linux

In System Settings > Locale > Date & Time, when I try to edit the time format, every time I enter a character into the text box, the cursor jumps to the end of the line.

Also happens in the Numbers tab of the Locale settings.

Reproducible: Always

Steps to Reproduce:
1. Open System Settings > Locale
2. Click "Date & Time" tab
3. Position cursor at beginning of "Time format:" text box
4. Press space bar

Actual Results:  
Cursor jumps to end of line

Expected Results:  
Cursor should remain where the user is typing ;-P
Comment 1 John Layt 2010-12-10 19:17:50 UTC
SVN commit 1205281 by jlayt:

KCM Locale fix cursor jump to eol by not overwriting the editText after each
keypress by the user.  This lead to some refactoring and renaming as a result.

BUG: 259282



 M  +341 -288  kcmlocale.cpp  
 M  +119 -64   kcmlocale.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1205281
Comment 2 John Layt 2010-12-12 22:32:53 UTC
*** Bug 259643 has been marked as a duplicate of this bug. ***