Closed Bug 83206 Opened 23 years ago Closed 16 years ago

Add close button to CRL view

Categories

(Core Graveyard :: Security: UI, defect, P3)

1.0 Branch
x86
Windows 2000
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 343395

People

(Reporter: stevepnscp, Assigned: KaiE)

References

Details

(Whiteboard: [kerh-ehz])

Attachments

(4 files, 2 obsolete files)

The CRL view window needs to have a close button. Currently the only button is 
'delete'.

In case anyone needs to verify the bug, to find the CRL view window:

Edit->preferences
Privacy and Security
Validation
Manage CRL's.
-> 2.0, P3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Target Milestone: --- → 2.0
*** Bug 83319 has been marked as a duplicate of this bug. ***
Summary: Add close button tp CRL view → Add close button to CRL view
*** Bug 84675 has been marked as a duplicate of this bug. ***
Attached patch patchSplinter Review
Shouldn't the close button go in the righthand corner? You could just add a
spring...

Also, what's the difference between a <button class="dialog push"/> and a
<button class="normal"/>?
Ok, since none of those classes mean anything, I say you remove them.

As for the buttons, it seems like most of the psm dialogs have Ok/Cancel, and
they're split about 50/50 between right and left corners. In that case, either
one is fine with me.

r=db48x
cc'ing blake for sr=
No, no Close button.  cc'ing Matthew about this. Again.
Blake, what are you saying?  Is a close button is against some guideline?

yes, it's against mpt's guidelines. mind you i don't think he's posted them 
anywhere, but that's ok you can take our word for it being against mpt's 
guidelines.
I think that since it's already got a Help button, there's no harm in adding a
close button as well. 
I don't see a Help button in the Manage CRLs list. 

Still, just to throw in my two cents, every other popup in the Preferences
section has a button that will close it, be it Ok, Cancel, or Close.

Prefs itself:            Ok, Cancel
All the "Choose File"s:  Open, Cancel
Languages->Add:          Ok, Cancel
Helper Apps->New Type:   Ok, Cancel
View Stored Cookies:     Ok, Cancel
Cookies->More Info:      Close       (because there's nothing to edit)
View Image Perms:        Ok, Cancel
View Stored Form Data:   Ok, Cancel
Forms->View Sites:       Ok, Cancel
View Stored Passwords:   Ok, Cancel
Edit Ciphers:            Ok, Cancel
Manage Certificates:     Close
Manage Security Devices: Ok
Manage CRLs:             <nothing>

I can abort my changes in most prefs popups by clicking cancel. So why are
Manage Certificates/Security Devices/CRLs different? Why shouldn't they have
"Ok" and "Cancel" buttons like everything else?

No need to defend your actions if you still don't agree with me, i just wanted
to state my case, go, and leave it up to you guys to decide. I don't know what
the guidelines say, but since your users won't have read them, it will look like
a mistake to them and a lack of attention to detail.
Mass reassigning target to 2.1
Target Milestone: 2.0 → 2.1
Keywords: nsenterprise
WORKSFORME, build 2001070308: the `Manage CRLs' (pardon?) window already has a 
close button, in its title bar. The `Delete' button should either be to the 
right of the tree, or replaced by a `File' > `Delete' menu item, but that 
should be filed as a separate bug.

> So why are Manage Certificates/Security Devices/CRLs different? Why shouldn't
> they have "Ok" and "Cancel" buttons like everything else?

If you want to turn this window into a dialog, giving it `OK' and `Cancel' 
buttons such that changes can be undone by clicking `Cancel', you should file 
that as a separate RFE.

For future reference, you shouldn't rely on anything in the Privacy & Security 
area in Mozilla as being an example of decent UI -- not for another few months, 
at least. For example, Cookies->More Info and Manage Certificates having 
`Close' push buttons are both bugs.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Reopening for review. I would like to see a close button.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → WORKSFORME
I don't see a need for another close box.  The one in the title bar should work
fine. If that's not true on all platforms, please post here and reopen the bug.



Verified worksforme.
Status: RESOLVED → VERIFIED
From bug 96586:

"The Cert Manager UI can effectively lock up Mac OSX 10.0 without a close button."
Hi,

Some window manager, such as Ion (which I use), don't offer close button on
title bar, because of a different concept from usual WM.

To close the Certs window, I have to kill the entire browser application, which
you may admit, is not very practical.
I agree a close button makes sense, then.
Reopening.

Recently Scott MacGregor made a change to the security manager dialogs that turn
them into dialogs, should be contained in the nightly builds heading to 1.5. I
wonder if that possibly already fixed it.
Status: VERIFIED → REOPENED
Resolution: WORKSFORME → ---
-> me
Assignee: ddrinan → kaie
Status: REOPENED → NEW
*** Bug 96586 has been marked as a duplicate of this bug. ***
Blocks: 129097
*** Bug 240797 has been marked as a duplicate of this bug. ***
I would be happy to have ANY possibility to close the window without closing the
whole app.

On MAC OSX 10.2.8 There are always three buttons in the upper left hand corner;
one of these is the close button. In this particular window it is disabled so
only minimize works. Would it be possible to just enable this close button? OR
provide any other means to close the window.
*** Bug 276026 has been marked as a duplicate of this bug. ***
Kai, any status on this? The CRL Manager window is impossible to close on Mac
OS X. Is there any way to enable the close button in the upper left corner?
Stefan, try adding "close" to the list of window features in the window.open
call at the end of pref-validation.js (which I guess is the right file).
No longer blocks: 129097
(In reply to comment #28)
> Stefan, try adding "close" to the list of window features in the window.open
> call at the end of pref-validation.js (which I guess is the right file).

Removing the window feature 'dialog' enables the close-button at the upper left
corner...

Compare the Firefox js at
http://lxr.mozilla.org/seamonkey/source/browser/components/prefwindow/content/pref-advanced.js#147
with Seamonkey:
http://lxr.mozilla.org/seamonkey/source/security/manager/pki/resources/content/pref-validation.js#105

I wouldn't mind removing the 'dialog'... I guess it could be removed from other
window.open calls as well.
Removing the dialog style sounds good to me.
This patch will:

1) Remove the dialog style from the window.open call in pref-validation.js.
This means that a user now can close, minimize and maximize the window with the
buttons in the titlebar on all(?) platforms.

2) Fix a new title for the window ("CRL Manager")

3) Add a "Close button" to the window

The last one is more of a proposal (even if that's what this bug is about).
Here's some arguments/problems:

This is the only window that doesn't have a "Close" or "OK" button, so in the
name of consistency there should be a button. The question is if it should be a
"Close" or "OK" button.

A "Close" button will be in line with Password mgr, Form mgr: sites, Cookie
mgr, and Image mgr in Mozilla. However, a close button will not be in line with
any window in Firefox (that uses the same crlmanager as Mozilla) -- the "OK"
button is used in all the manager windows.

If you can close the window from the titlebar, a "Close" button sounds more
logical to me. If you have an "OK" button, one might get the impression that
closing the window from the titlebar will undo the changes.

On the other hand, If you can close the window from the titlebar -- do we
really need a Close/OK button?

Thoughts?
Attachment #169948 - Flags: review?(neil.parkwaycc.co.uk)
Attached patch correct version (obsolete) — Splinter Review
Sigh, too tired -- forgot to save the file before I attached it :(
Attachment #169948 - Attachment is obsolete: true
Attachment #169950 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #169948 - Flags: review?(neil.parkwaycc.co.uk)
OK, I sort of realize that my patch is probably an overkill. So, here's a patch
that just removes the window.open feature 'dialog'. That will make the window
have minimize/maximize/close buttons in the titlebar.
Attachment #169950 - Attachment is obsolete: true
Attachment #171370 - Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #171370 - Flags: review?(peterv)
Attachment #169950 - Flags: review?(neil.parkwaycc.co.uk)
Attachment #171370 - Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Requesting blocking 1.8b. Mac users haven't been able to close the window for
ages...

peterv, have you had any time to look at the patch?
Flags: blocking1.8b?
Attachment #171370 - Flags: review?(peterv) → review+
Comment on attachment 171370 [details] [diff] [review]
New patch that only removes the dialog feature (checked in)

Thanks Peter :)

Neil, can you check in the patch please?
Attachment #171370 - Attachment description: New patch that only removes the dialog feature → New patch that only removes the dialog feature (checked in)
Flags: blocking1.8b?
Product: PSM → Core
Whiteboard: [kerh-ehz]
changing obsolete psm* target to --- (unspecified)
Target Milestone: psm2.1 → ---
still there is no Close button in SeaMonkey 1.0.7
QA Contact: junruh → ui
Version: psm2.0 → 1.0 Branch
Status: NEW → RESOLVED
Closed: 23 years ago16 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: