Closed Bug 34484 Opened 24 years ago Closed 22 years ago

popups confuse modal-on-a-modal and input

Categories

(Core :: XUL, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: alecf, Assigned: blizzard)

References

Details

if you have a window with a modal dialog, and another modal dialog on top of it,
then have a <menulist> in the top modal:
- the menulist works the first time and you can select something with the popup
that appears.
- from this point forward, the top modal won't accept any more input (keyboard
or mouse)
- now the toolkit seems to think that the bottom modal dialog has modality,
because you can now hit ok/cancel in the previous dialog.

It seems like the modality has been switched between these two dialogs after
using the menulist - because the bottom modal is accepting input when it's not
supposed to and the top is not accepting input when it should.

I'll be checking in some UI that is a good example.
I'll bet this is Linux-only, but I'm not sure.
actually, it looks like all popups (even html:selects) are causing problems
witha a modal-on-a-modal
This makes it impossible to create an IMAP account on linux.

Adding trudelle for traction.
Severity: normal → critical
Summary: <menulist> popup confuses modal-on-a-modal → popups confuse modal-on-a-modal and input
targetting p1 for M15.  cc'ing danm for modality and pink for menus. Who should 
really own this? 
Priority: P3 → P1
Target Milestone: --- → M15
Mass-moving most M15 bugs to M16
Target Milestone: M15 → M16
Is there a test case for this somewhere?  If it's linux specific I'll bet it's
my bug.
there are a few actually
Open mail. Edit->Mail/News Account Settings. 
Now, a few cases:
- click the "Advanced" button on the main panel for an account. use the menulist
widget to select a server.... you'll get stuck and have to close the window
manually.
- Click New Account. Click Next twice - use the select widget to select
anything. Again, you get stuck in this state
.
Assignee: hyatt → danm
Status: NEW → ASSIGNED
Whiteboard: I have a fix in my tree. Not scary, but not yet well tested.
*** Bug 33550 has been marked as a duplicate of this bug. ***
damm, alec - do you think we should take this fix for M15?  Reason: we can't 
create IMAP accounts on Linux.  Perhaps the sooner we take it, the longer we 
have to test it for M15 (?)
yes, I think this needs to be an m15 bug. Peter/Dan?
Someone has a patch.  Is it in widget/ or is it in layout?
whoops, didn't mean to move this one. If you can't create new accounts, then 
couldn't this be masking other bugs?  Seems like we should take a 
well-understood fix.
Target Milestone: M16 → M15
*** Bug 35047 has been marked as a duplicate of this bug. ***
All modal dialogs are now temporarily not modal for the lifetime of the combobox 
popup window. This little sleight of hand stems the confusion, and doesn't seem 
to hurt anything.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Whiteboard: I have a fix in my tree. Not scary, but not yet well tested.
I don't like this fix.  I've worked on the grab + modal code at length and this
doesn't feel like the right fix.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assigning to me.
Assignee: danm → blizzard
Status: REOPENED → NEW
Status: NEW → ASSIGNED
Moving to m16 since there's already a work around in place.
Target Milestone: M15 → M16
*** Bug 34928 has been marked as a duplicate of this bug. ***
I'll go back and look at this if it becomes a problem.  I haven't seen anything
bad from it yet.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → LATER
Please ignore the spam.  Changing address.
Assignee: blizzard → blizzard
Status: RESOLVED → NEW
busted from my reassign
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
LATER is deprecated per bug 35839.  Reopening, futuring.
Severity: critical → minor
Status: RESOLVED → REOPENED
Priority: P1 → --
Resolution: LATER → ---
Target Milestone: M16 → Future
Works for me for the two case cited in comment #7 (first one works; second one 
no longer applies due to UI changes). Linux 4/25 branch rc1 build.

re: comment #18 "I'll go back and look at this if it becomes a problem."
Two years seems like a sufficient waiting period.

WFM.
Status: REOPENED → RESOLVED
Closed: 24 years ago22 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.