Closed Bug 732688 Opened 12 years ago Closed 9 years ago

No Help button in the Page Info window

Categories

(Firefox :: Page Info Window, enhancement)

enhancement
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 39
Tracking Status
firefox39 --- fixed

People

(Reporter: anti-stress, Assigned: abhinav.koppula, Mentored)

References

Details

(Whiteboard: [lang=xul][lang=js])

Attachments

(1 file, 4 obsolete files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120302 Firefox/13.0a1
Build ID: 20120302031112

Steps to reproduce:

Go to Site Identity panel and try to tweak it.


Actual results:

No Help button


Expected results:

Site Identity panel should provide a Help button just like the Preferences Panel
Maybe that Bug 588685 (Update Site Identity Panel) could be seen like a parent bug
Component: Untriaged → General
OS: Linux → All
Hardware: x86_64 → All
Just to be clear : i'm talking about the Page Info window https://support.mozilla.org/en-US/kb/Page%20Info%20window?s=site+identity&r=6&e=sph&as=s
Summary: No Help button in the Site Identity panel → No Help button in the Site Identity panel/Page Info window
QA Contact: untriaged → general
Marking this as an enhancement request since the current behavior is by design.
Severity: normal → enhancement
Blocks: 588685
No longer blocks: 588685
Component: General → Page Info Window
Summary: No Help button in the Site Identity panel/Page Info window → No Help button in the Page Info window
Mentor: jaws
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [lang=xul][lang=js]
Assignee: nobody → abhinav.koppula
Status: NEW → ASSIGNED
Attached patch pageInfoHelp.patch (obsolete) — Splinter Review
Attachment #8567347 - Flags: review?(jaws)
Attached image For UI Review (obsolete) —
Attachment #8567351 - Flags: ui-review?
Comment on attachment 8567347 [details] [diff] [review]
pageInfoHelp.patch

Review of attachment 8567347 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/base/content/pageinfo/pageInfo.xul
@@ +411,4 @@
>      <!-- Others added by overlay -->
>    </deck>
>  
> +  <hbox id="helpPanel" pack="end">

This ID is confusing since this is not a panel but an hbox.

@@ +411,5 @@
>      <!-- Others added by overlay -->
>    </deck>
>  
> +  <hbox id="helpPanel" pack="end">
> +      <label onclick="doHelpButton();" class="text-link" value="&helpButton.label;" />

This should be using a button instead of a label.
Attachment #8567347 - Flags: review?(jaws) → feedback+
Comment on attachment 8567351 [details]
For UI Review

The "Help" link here looks out of place. There is not enough distance between it and the edges of the dialog. A button would probably look better.
Attachment #8567351 - Flags: ui-review? → ui-review-
Attached patch pageInfo.patch (obsolete) — Splinter Review
Added Help button instead of label
Attachment #8569275 - Flags: review?(jaws)
Attached patch Patch (obsolete) — Splinter Review
Abhinav, what do you think about this approach?

I moved the help button inside of each section and then we don't need to adjust any styling to get it positioned correctly relative to the contents of each section.

It also fixes the issue that I saw where the button was getting clipped on smaller windows (still possible if the window is resized but this issue existed before this patch).
Attachment #8567347 - Attachment is obsolete: true
Attachment #8567351 - Attachment is obsolete: true
Attachment #8569275 - Attachment is obsolete: true
Attachment #8569275 - Flags: review?(jaws)
Attachment #8569401 - Flags: feedback?(abhinav.koppula)
Yes Jared, this looks like a good approach since we need not add any custom styling. Thanks 

(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #9)
> Created attachment 8569401 [details] [diff] [review]
> Patch
> 
> Abhinav, what do you think about this approach?
> 
> I moved the help button inside of each section and then we don't need to
> adjust any styling to get it positioned correctly relative to the contents
> of each section.
> 
> It also fixes the issue that I saw where the button was getting clipped on
> smaller windows (still possible if the window is resized but this issue
> existed before this patch).

(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #9)
> Created attachment 8569401 [details] [diff] [review]
> Patch
> 
> Abhinav, what do you think about this approach?
> 
> I moved the help button inside of each section and then we don't need to
> adjust any styling to get it positioned correctly relative to the contents
> of each section.
> 
> It also fixes the issue that I saw where the button was getting clipped on
> smaller windows (still possible if the window is resized but this issue
> existed before this patch).
Attachment #8569401 - Flags: feedback?(abhinav.koppula) → review?(gijskruitbosch+bugs)
Comment on attachment 8569401 [details] [diff] [review]
Patch

Review of attachment 8569401 [details] [diff] [review]:
-----------------------------------------------------------------

::: browser/base/content/pageinfo/pageInfo.xul
@@ +155,5 @@
>            <treechildren id="metatreechildren" flex="1"/>
>          </tree>        
>        </groupbox>
> +      <hbox pack="end">
> +        <button oncommand="doHelpButton()" label="&helpButton.label;" />

s/oncommand="doHelpButton()"/command="cmd_help"/g

and add:

dlgtype="help"

so that it doesn't look like ... on mac, please. :-)
Attachment #8569401 - Flags: review?(gijskruitbosch+bugs) → review+
Attachment #8569401 - Attachment is obsolete: true
Attachment #8571556 - Flags: review+
https://hg.mozilla.org/integration/fx-team/rev/95f54090bb24
Keywords: checkin-needed
Whiteboard: [lang=xul][lang=js] → [lang=xul][lang=js][fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/95f54090bb24
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [lang=xul][lang=js][fixed-in-fx-team] → [lang=xul][lang=js]
Target Milestone: --- → Firefox 39
I have successfully reproduce this bug on  Firebox nightly 13.0a1 (2012-03-03).
I have successfully tested the fixed in this builds and fix works : 
Firefox beta 39.0 build id: 20150618135210 User Agent 	Mozilla/5.0 (Windows NT 6.3; rv:39.0) Gecko/20100101 Firefox/39.0
Thanks!
Status: RESOLVED → VERIFIED
Depends on: 1189572
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: