Closed Bug 317369 Opened 20 years ago Closed 20 years ago

make use of textbox's clickSelectsAll property for the location bar and help

Categories

(Firefox :: General, defect, P1)

defect

Tracking

()

RESOLVED FIXED
Firefox 2 alpha1

People

(Reporter: Gavin, Assigned: Gavin)

References

Details

(Keywords: fixed1.8.1)

Attachments

(2 files, 3 obsolete files)

Assignee: nobody → gavin.sharp
Priority: -- → P2
Status: NEW → ASSIGNED
Priority: P2 → P1
Attached patch patch (obsolete) — Splinter Review
Fixes this without regressing bug 308819 (had to change the textbox event handlers to the bubbling phase instead of capturing). Didn't think it was worth adding a pref listener, since there isn't one currently anyways. This is still per-window, but that also matches current behavior.
Attachment #207283 - Flags: review?(mconnor)
Comment on attachment 207283 [details] [diff] [review] patch Asaf, feel free to review if you can find the time :)
Attachment #207283 - Flags: superreview?(bugs.mano)
Comment on attachment 207283 [details] [diff] [review] patch >Index: browser/base/content/browser.js >=================================================================== >-function displaySecurityInfo() >+function displaySecurityInfo(aEvent) > { > BrowserPageInfo(null, "securityTab"); >+ aEvent.preventBubble(); > } null-check aEvent. >Index: browser/base/content/browser.xul >=================================================================== >+#ifdef XP_UNIX >+ clickSelectsAll="false" >+#else >+ clickSelectsAll="true" >+#endif This really isn't necessary. > </deck> > <hbox id="urlbar-icons"> >- <button type="menu" style="-moz-user-focus: none" class="plain" id="feed-button" chromedir="&locale.dir;"> >+ <button type="menu" style="-moz-user-focus: none" class="plain" >+ id="feed-button" chromedir="&locale.dir;" >+ onclick="event.preventBubble();"> one attribute per line please. > </button> >- <image id="lock-icon" onclick="displaySecurityInfo()"/> >+ <image id="lock-icon" onclick="displaySecurityInfo(event)"/> While you're here, a semicolon would be nice.
Attachment #207283 - Flags: superreview?(bugs.mano)
Attachment #207283 - Flags: review?(mconnor)
Attachment #207283 - Flags: review-
Attached patch patch v2 (obsolete) — Splinter Review
Address review comments.
Attachment #207283 - Attachment is obsolete: true
Attachment #207322 - Flags: review?(bugs.mano)
Whiteboard: [patch-r?]
Comment on attachment 207322 [details] [diff] [review] patch v2 r=mano
Attachment #207322 - Flags: review?(bugs.mano) → review+
Attached patch patch v3Splinter Review
don't forget the searchbar
Attachment #207322 - Attachment is obsolete: true
Attachment #207414 - Flags: review?(bugs.mano)
Attachment #207414 - Flags: review?(bugs.mano) → review+
mozilla/browser/base/content/browser.js; new revision: 1.552; mozilla/browser/base/content/browser.xul; new revision: 1.276; mozilla/browser/base/content/search.xml; new revision: 1.35; mozilla/toolkit/content/widgets/textbox.xml; new revision: 1.26;
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Whiteboard: [patch-r?]
Target Milestone: Firefox 2 → Firefox 3
Summary: make use of textbox's clickSelectsAll property for the location bar and help → make use of textbox's clickSelectsAll property for the location bar
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: make use of textbox's clickSelectsAll property for the location bar → make use of textbox's clickSelectsAll property for the location bar and help
Attached patch patch for help (obsolete) — Splinter Review
Attachment #208219 - Flags: review?(mconnor)
Attachment #208219 - Attachment is obsolete: true
Attachment #208220 - Flags: review?(mconnor)
Attachment #208219 - Flags: review?(mconnor)
Attachment #208220 - Flags: review?(mconnor) → review+
mozilla/toolkit/components/help/content/help.js; new revision: 1.40; mozilla/toolkit/components/help/content/help.xul; new revision: 1.30;
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
Attachment #207414 - Flags: branch-1.8.1?(mconnor)
Attachment #208220 - Flags: branch-1.8.1?(mconnor)
Attachment #207414 - Flags: branch-1.8.1?(mconnor) → branch-1.8.1+
Attachment #208220 - Flags: branch-1.8.1?(mconnor) → branch-1.8.1+
Comment on attachment 207414 [details] [diff] [review] patch v3 mozilla/browser/base/content/search.xml 1.25.2.11 mozilla/browser/base/content/browser.xul 1.268.2.10 mozilla/browser/base/content/browser.js 1.479.2.58
Keywords: fixed1.8.1
Target Milestone: Firefox 3 → Firefox 2 alpha1
Comment on attachment 208220 [details] [diff] [review] real patch for help mozilla/toolkit/components/help/content/help.js 1.37.2.2 mozilla/toolkit/components/help/content/help.xul 1.26.2.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: