Closed Bug 237694 Opened 18 years ago Closed 13 years ago

The Undo command is active when it shouldn't be


(Camino Graveyard :: General, defect, P4)



(Not tracked)



(Reporter: chrispetersen, Unassigned)


Build: 2004031508
Platform: OS X 10.3.3
Expected Results: The undo command should be dimmed when no previous task has
taken place (i.e. typed a new url address, cut a url address or pasted a url
address into the url field)

What I got: After launching Camino, placing focus in either Google toolbar field
or URL field will enable the Undo command under Edit. This is incorrect since I
haven't completed a previous task that needed to undone.

Steps to reproduce:

1) Launch Camino
2) Place focus in either the Google toolbar field or URL field.
3) Notice the undo command is active and does nothing after it is selected.

Note: If I place focus in the URL field and select undo, I get this output in
terminal (I was running Camino via GDB):

NSUndoManager 0x19abfe0 is in invalid state, undo was called with too many
nested undo groups
It reproduced.
In addition, there is no problem in textarea of form.

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; ja-JP; rv:1.7b) Gecko/20040317
I wasn't seeing this at first (20040315, 10.3.2), but after playing around, I
believe I have a more specific set of steps to reproduce:
1) Launch Camino
2) Follow a link or bookmark to change your page, but click to give focus to the
url bar very quickly after doing so--I'm pretty sure the bug depends on having
focus in the url bar *while* the url updates to the new page.
3) Note the Undo command is active

If I select undo, then it stops being active for me until I follow the steps I
listed again.
Severity: normal → minor
Priority: -- → P4
Target Milestone: --- → Camino1.2
Blocks: 328173
OS: Mac OS X 10.2 → Mac OS X 10.3
QA Contact: general
No longer blocks: 328173
Target Milestone: Camino1.6 → ---
Depends on: 414223
No longer depends on: 414223
(In reply to comment #3)
> Is this related to bug 346471?

Perhaps, but maybe to something else, too.  I can repro on 1.6.6 on 10.3.9 on my PBG4 and (very briefly during some part of pageload, but does not persist after pageload) on 1.6.6 on 10.5.6 on my MBP, but not at all in 2.0pre.
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.