Closed Bug 122695 Opened 23 years ago Closed 23 years ago

Need ability un-modalify (and re-modalify) a xul window

Categories

(Core :: XUL, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
mozilla0.9.9

People

(Reporter: rginda, Assigned: danm.moz)

References

Details

Attachments

(2 files)

The debugger needs a way to temporarily disable the modality of a modal window
for bug 100677.

Dan and I discussed this and he says he could add an |isModal| property to
nsIXULWindow to take care of this.

0.9.9, right?
Blocks: 100677
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.8
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Robert -- try this patch; let me know if it does what you need. You'll probably
hate the name I chose for the attribute. Heh. I wanted something that didn't
collide with other terms in use or imply too much. Obscurity was called for.
Embrace your appearance; learn to live within your miens.
How about we call the attribute |modalificated|?  I really thought I was on to
something with the bug summary (if you excuse the missing preposition.)

I'll give this a shot tonight and report on my findings.
modalMien works for me.  This patch, which depends on bug 121039, actually uses
it.

To test, start venkman and enter "fbreak commonDialog.js 200", then "evald
alert(1)", and click "ok" on the alert window.	Without Dan's patch the app
locks up as the script context of the modal window is disabled while it is
still modal.  With the patch everything goes much smoother.
Comment on attachment 67323 [details] [diff] [review]
switch on and off a modal window's modal UI behaviour

r=rginda
Attachment #67323 - Flags: review+
I believe that this bug and patch (the first patch, anyway) are no longer in
fashion, to be replaced by the alternate implementation covered by bug 126786.
0.99 cleanup time: I'm closing this bug in favour of its better half. Reopen, of
course, if I'm mistaken.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: