Bug 8109 - REGRESSION: After modifying content in text field, undo typing menu item is still active after placing focus in a different text field
Summary: REGRESSION: After modifying content in text field, undo typing menu item is s...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2006-03-31 14:39 PST by Chris Petersen
Modified: 2007-02-04 11:18 PST (History)
1 user (show)

See Also:


Attachments
Sample test form (244 bytes, text/html)
2006-03-31 15:15 PST, Chris Petersen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Petersen 2006-03-31 14:39:45 PST
If I type some text in a input field then place focus in a different input filed on the page, the Undo Typing menu item is active. If I selected it, it places focus in the original field and removes it's content. This really should not be allowed. 

STEPS TO REPRODUCE
1. With TOT webkit,  go to site that contains input elements in a form like http://www.apple.com/feedback/iphoto.html
2. Place focus in the Name field and type something
3. Click in the email field (don't type anything)
4. Notice the Edit menu displays Undo Typing as active (incorrect)
5. Selecting Undo Typing places focus back in Name field and deletes the content.

RESULTS
Undo command should only affect input fields that have been modified. However, undo command remains active even when focus is placed in a "clean" input field.
Comment 1 Chris Petersen 2006-03-31 14:41:09 PST
This issue is filed as <rdar://problem/4498558>
Comment 2 Chris Petersen 2006-03-31 15:15:54 PST
Created attachment 7424 [details]
Sample test form

Use this test case when following the "steps to reproduce"
Comment 3 Maciej Stachowiak 2006-04-02 23:25:43 PDT
These are all text field regressions so they should all be P1.
Comment 4 Darin Adler 2006-04-03 21:14:01 PDT
I'm not sure this is such a terrible thing. You might even consider it a feature.
Comment 5 Adele Peterson 2006-04-10 13:42:26 PDT
While this is a native text field regression, we think the symptom is mild, so we're moving it to P2.
Comment 6 Darin Adler 2006-04-21 22:53:38 PDT
I talked more with Tom Omernick, and we're pretty sure this is a feature, not a bug.

The old behavior should be considered a bug/limitation of NSTextField. I think perhaps we should close this as INVALID or WONTFIX, given that.
Comment 7 Maciej Stachowiak 2007-02-04 11:18:56 PST
Cosed in Radar.