Closed
Bug 135837
Opened 23 years ago
Closed 23 years ago
Key commands don't work in P3P summary window (except for up/down keys)
Categories
(SeaMonkey :: UI Design, defect, P1)
Tracking
(Not tracked)
VERIFIED
INVALID
mozilla1.0
People
(Reporter: hjtoi-bugzilla, Assigned: samir_bugzilla)
Details
(Keywords: access, Whiteboard: [adt2])
Attachments
(1 file, 2 obsolete files)
|
2.28 KB,
patch
|
law
:
review+
|
Details | Diff | Splinter Review |
1. Go to www.msn.com (or any other site supporting P3P).
2. Open Page Info dialog and select Privacy Tab.
3. Hit Summary button
4. Try Ctrl+W (close window), Ctrl+F (find), ...
Expected results: key commands should work, like close window, find on page...
Actual results: nothing seems to happen
You need to apply the patch from bug 124503 to test this.
This might be duplicate of bug 135825.
| Reporter | ||
Updated•23 years ago
|
| Assignee | ||
Comment 1•23 years ago
|
||
I have a hard time seeing how this is ADT1. Renominating for nav triage time to
consider.
| Reporter | ||
Comment 2•23 years ago
|
||
Well, this is accessibility. If you open the summary window there is no way to
close it without a mouse.
Btw, the issue with accelerators not working properly in the page info dialog
(Alt+P does not go to Privacy, does not work for any other tab either) is worse
on Linux where Ctrl+Tab does not work either: you MUST use the mouse on Linux to
access those tabs. I don't know what bug that would be although I am sure
someone has filed that.
Keywords: access
Comment 4•23 years ago
|
||
nsbeta1+/adt2 per Nav triage team
| Assignee | ||
Comment 5•23 years ago
|
||
This really should be a bugscape bug.
| Assignee | ||
Comment 6•23 years ago
|
||
| Assignee | ||
Comment 7•23 years ago
|
||
Mail sent to law and jag for r and sr, respectively.
| Assignee | ||
Comment 8•23 years ago
|
||
| Assignee | ||
Updated•23 years ago
|
Attachment #81546 -
Attachment is obsolete: true
| Assignee | ||
Updated•23 years ago
|
Attachment #81554 -
Attachment is obsolete: true
| Assignee | ||
Comment 9•23 years ago
|
||
Fixed typos in comments.
Comment 10•23 years ago
|
||
Comment on attachment 81557 [details] [diff] [review]
Patch v3.0.
>Index: nsPolicyViewer.js
>===================================================================
>RCS file: /m/src/ns/extensions/p3p/resources/content/nsPolicyViewer.js,v
>- var resultWin = window.openDialog("chrome://p3p/content/p3pSummary.xul", "_blank", "chrome,all,dialog=no",
>+ // We launch the dialog with chrome=no so that the launching window loads
>+ // our XUL doc (i.e., p3pSummary.xul) inside navigator.xul. We need to
>+ // be launched inside navigator.xul in order to get the key bindings
>+ // like ctrl-f etc. The chrome dialog that pops up really contains
>+ // generated HTML.
>+ var resultWin = window.openDialog("chrome://p3p/content/p3pSummary.xul",
>+ "_blank", "chrome=no,dialog=no",
> gXSLTProcessor, getDocument(), gStyle);
Make sure to change gXSLTProcessor, getDocument(), and gStyle to
this.mXSLTProcessor, this.getDocument(),
and this.mStyle respectively if you're landing on the TRUNK.
---
Also, I noticed that, with the patch, the policy summary window gets populated
a bit
slower than before!
Comment 11•23 years ago
|
||
Comment on attachment 81557 [details] [diff] [review]
Patch v3.0.
r=law
Attachment #81557 -
Flags: review+
| Assignee | ||
Comment 12•23 years ago
|
||
In comment 10 harishd said:
> Also, I noticed that, with the patch, the policy summary window gets
> populated a bit slower than before!
Have you timed this? I think this might be perception. You may be right
though. We do a dynamic sizeToContent() which may be flashing so it looks like
it's slower when it's not. That problem is fixed by speeding up document
transformation -or- not displaying the document till it is transformed (needs
more thought).
If you are in fact correct about this, do we care about this performance drop
against the functionality gain? If we think this is too slow we should consider
showing progress.
At any rate, my vote is that I don't think we should hold up this patch.
Comment 13•23 years ago
|
||
>Have you timed this? I think this might be perception.
I haven't timed it!. It just appears to be slow :-/
>If you are in fact correct about this, do we care about this performance drop
>against the functionality gain?
Definitely functionality. I just mentioned what I noticed..that's all.
>If we think this is too slow we should consider showing progress.
Regardless we should consider showing progress post beta.
>At any rate, my vote is that I don't think we should hold up this patch.
That's my vote too :).
Comment 14•23 years ago
|
||
Comment on attachment 81557 [details] [diff] [review]
Patch v3.0.
You are aware that calling window.sizeToContent() there will mess up
navigator's window size stored in localstore.rdf when the window is closed,
right? Of course, popup windows already do that, but it seems worse if we're
doing it ourselves, especially since the window won't look like a navigator
window. Is there any way you could do something similar to what "View Source"
does? It has a <browser> and all the necessary overlays needed to hook up menus
and find.
| Assignee | ||
Comment 15•23 years ago
|
||
> You are aware that calling window.sizeToContent() there will mess up
> navigator's window size stored in localstore.rdf when the window is closed,
> right?
That didn't occur to me. I'll look into immitating view source.
| Reporter | ||
Comment 16•23 years ago
|
||
If we make P3P inherit the navigator accels & context menu and what have you, we
give the user the tools to get really confused. For example: if they reload the
page, the XSLT transformation will not be applied and they will see the raw P3P
policy as every element with only one CSS style: display:inline. View source
does not make sense either, and save does not work now (you'd need to save the
transformed doc but I have disabled that for now, too many dataloss issues) and
so forth.
P3P needs its own menu bar and accels. Things like find, copy, zoom etc. make
sense for P3P summary, but we must evaluate case by case what makes sense and
what does not. Harish started working on this, I believe.
| Assignee | ||
Comment 17•23 years ago
|
||
Harish and I have a working patch based on the view-source window. Harish has
volunteered to drive the patch to checkin. This is now bugscape 15105:
<http://bugscape.netscape.com/show_bug.cgi?id=15105>
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Updated•21 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•