Closed
Bug 273926
Opened 20 years ago
Closed 18 years ago
Can't change location in fullscreen mode when location bar is moved to different toolbar
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jon, Assigned: mossop)
References
()
Details
(Keywords: fixed1.8.1)
Attachments
(1 file, 6 obsolete files)
|
2.96 KB,
patch
|
asaf
:
review+
mconnor
:
approval1.8.1+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 I have my location bar moved to the Menubar (File | Edit | etc..) In fullscreen mode, the menubar gets hidden, as it should. Since the location bar is hidden, I would expect Ctrl+L to open the Open Location dialog. It doesn't. I assume that is highlights the contents of the location bar, which is not hidden in full screen mode. Off-topic - I'd love to have the toolbars auto-hide in fullscreen mode... other posts have been made about this. Reproducible: Always Steps to Reproduce: 1.Click View > Toolbars > Customize... 2.Drag the Location bar from the Navigation Toolbar to the Menubar 3.Click "Done" in the Customize Window - return to browsing. 4.Press F11 or Click View > Full Screen 5.Press Ctrl+L Actual Results: Nothing visible happens (Assumedly, the contents of the location bar are selected, though the menubar and location bar are hidden) Expected Results: Since the location bar is not visible, the Open Location dialog should appear I don't have any kiosk-related extensions. I tried "Almost Full Screen", but I uninstalled it.
Comment 1•20 years ago
|
||
Most likely this can be duped to bug 171350.
| Reporter | ||
Comment 2•20 years ago
|
||
Yes, I guess this would be almost a dupe of 171350, and should change accordingly. In my opinion, I don't believe any new Toolbars are needed, and the toolbar used in kiosk mode is fine. I would just expect the Ctrl-L dialog to appear whent he URL bar is hidden. I'll post my opinion in the thread on 171350 Jon B. *** This bug has been marked as a duplicate of 171350 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Updated•18 years ago
|
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
| Assignee | ||
Comment 3•18 years ago
|
||
This patch adds an extra check in for the case where the toolbar that the urlbar is on is hidden due to fullscreen mode (get's moz-collapsed="true" added to it). With this Ctrl-L will display the open dialog when the url bar is not visible in full screen mode.
Assignee: bugs → mossop.bugzilla
Status: UNCONFIRMED → ASSIGNED
Attachment #232570 -
Flags: review?(bugs.mano)
| Assignee | ||
Comment 4•18 years ago
|
||
Might as well give the search bar the same treatment while we're here.
Attachment #232570 -
Attachment is obsolete: true
Attachment #232573 -
Flags: review?(bugs.mano)
Attachment #232570 -
Flags: review?(bugs.mano)
Comment 5•18 years ago
|
||
Comment on attachment 232573 [details] [diff] [review] patch rev 2 Just check the visibility property of the computed style object.
Attachment #232573 -
Flags: review?(bugs.mano) → review-
| Assignee | ||
Comment 6•18 years ago
|
||
Right o. This reduces the number of tests needed.
Attachment #232573 -
Attachment is obsolete: true
Attachment #232584 -
Flags: review?(bugs.mano)
| Assignee | ||
Comment 7•18 years ago
|
||
Visibility is inherited so it makes more sense to just check it on the bar itself and the computed style can be cached for both calls. Same applies to the search bar.
Attachment #232584 -
Attachment is obsolete: true
Attachment #232592 -
Flags: review?(bugs.mano)
Attachment #232584 -
Flags: review?(bugs.mano)
| Assignee | ||
Comment 8•18 years ago
|
||
Fix a minor mistake so we get the style for the search bar rather than the toolbar.
Attachment #232592 -
Attachment is obsolete: true
Attachment #232596 -
Flags: review?(bugs.mano)
Attachment #232592 -
Flags: review?(bugs.mano)
Comment 9•18 years ago
|
||
Comment on attachment 232596 [details] [diff] [review] patch rev 5 Make this a nested if in both places, i.e. if (gFoo) { var style... ... } r=mano otherwise.
Attachment #232596 -
Flags: review?(bugs.mano) → review+
Updated•18 years ago
|
QA Contact: bugzilla → toolbars
| Assignee | ||
Comment 10•18 years ago
|
||
Done the nested if for the searchbar case but I can't see how to do this for the url bar since there needs to be a single if statement to test for the visibility of the bar so it can then fall through to the two following else cases. So how about this, brings it together into one if by bringing the style assignment into the if test. The only other alternative I can think of is to not use else statements and instead use early returns if the bar is visible or the Mac case matches,
Attachment #232596 -
Attachment is obsolete: true
Attachment #233110 -
Flags: review?(bugs.mano)
Comment 11•18 years ago
|
||
Comment on attachment 233110 [details] [diff] [review] patch rev 6 earlier returns would be better (or, use the v5 way in openLocation).
Attachment #233110 -
Flags: review?(bugs.mano) → review-
| Assignee | ||
Comment 12•18 years ago
|
||
This switches to using early returns in the openLocation case to allow for cleaner nested ifs.
Attachment #233110 -
Attachment is obsolete: true
Attachment #233355 -
Flags: review?(bugs.mano)
Comment 13•18 years ago
|
||
Comment on attachment 233355 [details] [diff] [review] patch rev 7 r=mano
Attachment #233355 -
Flags: review?(bugs.mano) → review+
| Assignee | ||
Updated•18 years ago
|
Whiteboard: [needs checkin]
Comment 14•18 years ago
|
||
Checking in browser/base/content/browser.js; /cvsroot/mozilla/browser/base/content/browser.js,v <-- browser.js new revision: 1.677; previous revision: 1.676 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago → 18 years ago
Resolution: --- → FIXED
Updated•18 years ago
|
Whiteboard: [needs checkin]
| Assignee | ||
Comment 15•18 years ago
|
||
Comment on attachment 233355 [details] [diff] [review] patch rev 7 This is a fairly simple fix for an irritating issue. Would be nice if this could make the branch.
Attachment #233355 -
Flags: approval1.8.1?
Comment 16•18 years ago
|
||
Comment on attachment 233355 [details] [diff] [review] patch rev 7 a=mconnor on behalf of drivers for 1.8 branch checkin
Attachment #233355 -
Flags: approval1.8.1? → approval1.8.1+
Updated•18 years ago
|
Whiteboard: [checkin needed (1.8 branch)]
| Assignee | ||
Comment 17•18 years ago
|
||
Landed on 1.8 branch
Keywords: fixed1.8.1
Whiteboard: [checkin needed (1.8 branch)]
You need to log in
before you can comment on or make changes to this bug.
Description
•