Closed Bug 71899 Opened 23 years ago Closed 17 years ago

Dialogs lose focus before dismissing

Categories

(Core :: XUL, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: deanis74, Assigned: saari)

References

Details

This is most easily produced while debugging, as things move a little slower in
that state.

1. Open the Find dialog.
2. Enter text that won't be found (eg. "ASfsafgsdg")
3. The "not found" message comes up.
4. Press OK.

Expected Results: "not found" message dismisses

Actual Results: "not found" message loses focus momentarily, indicated by a
change in the the titlebar, and then dismisses.

Build: Any for the past six months at least.
->saari, ccdanm
Assignee: trudelle → saari
  Dude, is this a bug?
  Just out trolling for conditions that may suggest possible errors?
  It may be one. Most likely what you're seeing is caused by the fix for bug 
22658, which explicitly focuses a window's parent before closing the dialog. That 
fix caused bug 54936, which has 10,000 duplicates. I'm not entirely certain we 
need another reminder, but I'll leave it to Assignee Chris to decide.
OK, bad example.  You don't need two dialogs open.  Use the File > Open Location
dialog and watch the title bar when you press OK.  It changes to the inactive
title bar before the dialog dismisses.  This isn't related to the focus issues,
I don't think.  It's cosmetic, sure, but it's kinda messy.

And I don't know what you meant by the trolling comment, so I'll leave it.
Not quite the same as 54936, but a known issue. Just not high priority.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
No problem, just wanted to make sure it was recorded.  I wonder if it's as easy
as hiding the window early on in the dismissal routine...?
Blocks: 140346
No action in more than 3 years, can't this bug be closed?
I can't see this bug anymore.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.