Bug #76231 Delete button acts as backspace near the end

Submitted: 9 Mar 2015 16:42 Modified: 9 Mar 2015 18:37
Reporter: Egmont Koblinger Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.6.23 OS:Linux (Ubuntu Utopic)
Assigned to: CPU Architecture:Any

[9 Mar 2015 16:42] Egmont Koblinger
Description:
The behavior of the "Delete" button in every sensible app is to swallows characters from the right, or no nothing if the cursor is in the rightmost position.

This allows you to tap on this button for a while to clear everything that's on the right.

Mysql, however, adds an exception to act as a Backspace if the cursor is either at the rightmost position or one to the left.

This behavior is unconventional, misleading, and prevents the possibility to long-tap Delete to everything that's on the right.

How to repeat:
Type 12345678
Move the cursor back by one place (to between 7 and 8)
Press Delete
Expected behavior: buffer is 1234567, the cursor is at the end
Actual behavior: buffer is 1234567, the cursor is incorrectly between 6 and 7

Type 12345678, leave the cursor there at the end
Press Delete
Expected behavior: nothing should happen
Actual behavior: buffer incorrectly becomes 1234567, the cursor is between 6 and 7 (that is, it has moved back by 2 positions on a single keypress)

Suggested fix:
Please make it behave as it behaves in every other application.
[9 Mar 2015 18:37] MySQL Verification Team
Thank you for the bug report. Verified as described.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.048 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.