Closed Bug 1694415 Opened 3 years ago Closed 3 years ago

Show dialog titles on Windows/Linux for window-modal dialogs

Categories

(Toolkit Graveyard :: Notifications and Alerts, defect, P1)

Desktop
All

Tracking

(firefox88 fixed)

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: Gijs, Assigned: mtigley)

References

(Blocks 1 open bug)

Details

(Keywords: helpwanted, Whiteboard: [proton-modals])

Attachments

(1 file)

This bit of code: https://searchfox.org/mozilla-central/rev/f47a4b67643b3048ef9a2e2ac0c34edf6d1ebff3/toolkit/components/prompts/src/CommonDialog.jsm#122-134

wants updating so it works for window-modal prompts too. I suspect the simplest thing to do might actually be to check for the common dialog vs. tabmodalprompt element, and for the common dialog document, check if the window's docshell has a chromeEventHandler (ie it's embedded). If it is embedded and not a tabmodalprompt element, we should just show the title, I think.

Assignee: nobody → mtigley
Status: NEW → ASSIGNED

As per guidance from Vicky, for tracking, we're marking all the bugs that people are working on as P1.

Priority: -- → P1
Pushed by mtigley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/06509c3fe5f4
Show dialog titles on Windows/Linux for window-modal dialogs. r=Gijs
Pushed by mtigley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/eb0ce3e4c2d2
Show dialog titles on Windows/Linux for window-modal dialogs. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Flags: needinfo?(mtigley)
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: