Bug 142052 - Wrong function of backspace when editing dates
Summary: Wrong function of backspace when editing dates
Status: RESOLVED UNMAINTAINED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-22 11:50 UTC by Mirko Doelle
Modified: 2017-01-07 21:30 UTC (History)
0 users

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 Mirko Doelle 2007-02-22 11:50:28 UTC
Version:           3.5.5 (using KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-5 (4.0))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.17-2-686

Preconditions:
Creating a new date, filling in correct start and end values. Then double-click the event in the monthly overview to edit the end margin. Click into the date field of the end margin, in this case behind the "22" of the date "22.03.2007".

Intention:
Changing the end margin of this date to 23rd of March 2007 by pressing backspace (reducing the day number to "2") and entering "3" (to get "23" for day).

Effect:
When pressing Backspace, the date is changed to the day before (21.03.2007) and the cursor is positioned behind the year. When pressing "3", this is appended to the year, extending the end margin to 22.03.20073, 6,5 million days in future.

Side Effect:
When pressing OK, KOrganizer accepts the end margin at 22.03.20073 without any notice or error message. After *several* minutes, the calendar is filled up till 200073.

Workaround:
Mark the last "2" of day "22" with the mouse and enter "3". This results in 23.03.2007, as expected.

Suggested solution:
When pressing backspace, the character before cursor position should be deleted to allow editing the end marging with keyboard. Backspace as "previous day" function is unneeded because Cursor-Down has already the same function. When entering dates several (50?) years in future, there should be a warning or better the user should have to approve those dates explicitely.
Comment 1 Denis Kurz 2016-09-24 18:46:28 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of korganizer (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:30:20 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.