Closed
Bug 42510
Opened 24 years ago
Closed 24 years ago
backspace or delete is deleting too much
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: Brade, Assigned: Brade)
References
Details
(Whiteboard: [dogfood-][nsbeta2+])
I see this on a Macintosh build from today; I do not see it in yesterday's build. * Select a few characters in the urlbar. * Press backspace/delete key. * notice that the selection and the previous character are deleted. I expect only the selection to be deleted. Kin doesn't see this on today's linux or windows builds. Suzanne sees this on Mac builds for AIM login editfields. I don't see this problem with forward delete (only the selection is deleted).
I selected 3 letters of a word in the URL bar, and 4 were deleted when I hit backspace (The extra character deleted was the one preceding the selected text.)
Comment 2•24 years ago
|
||
since brade is debugging this one, assigning it to her for now
Assignee: beppe → brade
Assignee | ||
Comment 3•24 years ago
|
||
This is cross platform. On Mac, it's the backspace key; on linux and windows it's the delete key. cc saari; apparently the keybindings aren't paying attention to the fact that the editor has handled the events. I think this is your bug...
OS: Mac System 8.5 → All
Hardware: Macintosh → All
Summary: backspace is deleting too much → backspace or delete is deleting too much
Comment 4•24 years ago
|
||
This is everyone's bug, however, I'll own it and track it as it involves a lot of band aids in the code and then doing the right thing once I make some event changes... Brade, if you're interested, try and make sure anyone that is handling the event is setting prevent default (unless it is a click, that gets messy) and that everyone handling an event is checking the prevent default flag before doing so. The new event stuff we need is a flag that doesn't have the standards compliance issues that prevent default does
Assignee | ||
Comment 5•24 years ago
|
||
adding keywords for nsbeta2 and dogfood it sucks to have too much deleted (especially if you don't realize or know what was deleted)
Workaround is available...yeah it sucks, but will make [dogfood-][nsbeta+].
Whiteboard: [dogfood-][nsbeta+]
Assignee | ||
Comment 10•24 years ago
|
||
The fix for this bug has been checked in. There will be one additional small checkin to fix a similar problem in coding (probably by cmanske if I don't check it in). I am going to resolve this bug now so that QA can verify it sooner.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 11•24 years ago
|
||
shouldn't this have been logged as a Mac bug and not "All" ?? anyhow verified in 6/20 build.
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 12•24 years ago
|
||
No, this is a cross-platform bug. On Windows and Linux, the forward delete key was broken in the same way that the backspace/delete key was broken on Macintosh. (I hope that makes sense!)
You need to log in
before you can comment on or make changes to this bug.
Description
•