Bug 259282 - Cursor jumps to end of line in text boxes (Locale > Date & Time)
Summary: Cursor jumps to end of line in text boxes (Locale > Date & Time)
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_language (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: John Layt
URL:
Keywords:
: 259643 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-09 05:45 UTC by Marc Payne
Modified: 2010-12-12 22:32 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***