Closed
Bug 49196
Opened 24 years ago
Closed 24 years ago
Buttons not showing up in common dialogs
Categories
(MailNews Core :: Composition, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mikepinkerton, Assigned: sfraser_bugs)
References
Details
- open mail compose window - enter some text to get it to be modified - click closebox expected: - do you want to save? yes/no/cancel dialog - clicking no closes window actual: - message not sent, save or cancel? save/cancel dialog - clicking cancel doesn't close window. There's no way to close a mail window w/out saving it.
Reporter | ||
Comment 1•24 years ago
|
||
cc'ing hyatt, he recently touched the common dialog stuff.
Assignee | ||
Comment 2•24 years ago
|
||
I see the problem here. The platform dialog overlay uses hidden="true" on the extra buttons, but hyatt changed commonDialogs.js to only set/unset "collapsed"
Summary: Can't close unsent mail compose window → Buttons not showing up in common dialogs
Assignee | ||
Comment 3•24 years ago
|
||
Patch (which fixes Mac, at least) Index: mozilla/xpfe/global/resources/content/mac/platformDialogOverlay.xul =================================================================== RCS file: /cvsroot/mozilla/xpfe/global/resources/content/mac/ platformDialogOverlay.xul,v retrieving revision 1.16 diff -w -r1.16 platformDialogOverlay.xul 14,15c14,15 < <button class="exit-dialog" id="Button3" value="" hidden="true" oncommand= "doButton3();"/> < <button class="exit-dialog" id="Button2" value="" hidden="true" oncommand= "doButton2();"/> --- > <button class="exit-dialog" id="Button3" value="" collapsed="true" oncommand="doButton3();"/> > <button class="exit-dialog" id="Button2" value="" collapsed="true" oncommand="doButton2();"/> 22,23c22,23 < <button class="exit-dialog" id="Button3" value="" hidden="true" oncommand= "doButton3();"/> < <button class="exit-dialog" id="Button2" value="" hidden="true" oncommand= "doButton2();"/> --- > <button class="exit-dialog" id="Button3" value="" collapsed="true" oncommand="doButton3();"/> > <button class="exit-dialog" id="Button2" value="" collapsed="true" oncommand="doButton2();"/>
Comment 4•24 years ago
|
||
Here is the diff for WIndow: Index: platformDialogOverlay.xul =================================================================== RCS file: /cvsroot/mozilla/xpfe/global/resources/content/win/platformDialogOverlay.xul,v retrieving revision 1.14 diff -r1.14 platformDialogOverlay.xul 15,16c15,16 < <button class="exit-dialog" id="Button2" value="&cancelButton.label;" hidden="true" onclick="doButton2()"/> < <button class="exit-dialog" id="Button3" value="&cancelButton.label;" hidden="true" onclick="doButton3()"/> --- > <button class="exit-dialog" id="Button2" value="&cancelButton.label;" collapsed="true" onclick="doButton2()"/> > <button class="exit-dialog" id="Button3" value="&cancelButton.label;" collapsed="true" onclick="doButton3()"/> 24,25c24,25 < <button class="exit-dialog" id="Button2" value="&cancelButton.label;" hidden="true" onclick="doButton2()"/> < <button class="exit-dialog" id="Button3" value="&cancelButton.label;" hidden="true" onclick="doButton3()"/> --- > <button class="exit-dialog" id="Button2" value="&cancelButton.label;" collapsed="true" onclick="doButton2()"/> > <button class="exit-dialog" id="Button3" value="&cancelButton.label;" collapsed="true" onclick="doButton3()"/>
Comment 5•24 years ago
|
||
Reassign to sfraser has he found the problem. BTW, r=ducarroz
Assignee: ducarroz → sfraser
Assignee | ||
Comment 8•24 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 10•24 years ago
|
||
*** Bug 49260 has been marked as a duplicate of this bug. ***
Comment 11•24 years ago
|
||
*** Bug 49275 has been marked as a duplicate of this bug. ***
Comment 12•24 years ago
|
||
*** Bug 49315 has been marked as a duplicate of this bug. ***
Comment 13•24 years ago
|
||
*** Bug 49315 has been marked as a duplicate of this bug. ***
Comment 15•24 years ago
|
||
*** Bug 49328 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 16•24 years ago
|
||
*** Bug 50111 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•