Bug 8095 - REGRESSION: After modifying text field and switching to another tab, Undo Typing is still displayed in Edit menu
Summary: REGRESSION: After modifying text field and switching to another tab, Undo Typ...
Status: NEW
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-30 22:03 PST by Chris Petersen
Modified: 2007-12-10 06:34 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Petersen 2006-03-30 22:03:33 PST
After modifying a new text field, the  Undo Typing/Redo Typing command will remain active even after I switched to a different tab. This is wrong behavior. These menu item should only be active in the tab where I modified it's content (input text).

Steps to reproduce:

1) With TOT Webit, create ta tab and load google.com
2) Type something in search field but don't start a query
3)  Notice that Undo Typing appears under Edit menu (correct)
4) Create a new empty tab. Notice that Undo Typing is active and switching to the new tab (incorrect)
5) Go back to the google tab and select Undo Typing
6) Switch back to empty tab and notice that Redo Tying is active (incorrect)
Comment 1 Chris Petersen 2006-03-30 22:13:29 PST
This issue is also mentioned in <rdar://problem/4497668>
Comment 2 Maciej Stachowiak 2006-04-02 23:25:41 PDT
These are all text field regressions so they should all be P1.
Comment 3 Darin Adler 2006-04-04 09:47:20 PDT
It's actually kind of annoying that switching tabs blows away the undo operations for the tabs -- it would be better if undo was somehow per-tab and returning to the tab brought back the undoable operation.

But in the short term I suppose we should fix this by making it act the same as before.

Note that this behavior was already true with editable HTML areas before the text field switch. The native text fields make it more obvious.

I think this change in behavior is innocuous and minor enough that it's not really a P1.
Comment 4 Adele Peterson 2006-04-10 13:42:13 PDT
While this is a native text field regression, we think the symptom is mild, so we're moving it to P2.