Closed
Bug 585946
Opened 14 years ago
Closed 12 years ago
Location / search bar splitter moves to the end of the toolbar when toggling "tabs on top"
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
RESOLVED
FIXED
Firefox 14
Tracking | Status | |
---|---|---|
blocking2.0 | --- | .x+ |
People
(Reporter: theodorejb, Assigned: dao)
References
Details
(Keywords: polish, regression)
Attachments
(1 file, 3 obsolete files)
4.81 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b4pre) Gecko/20100810 Minefield/4.0b4pre Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b4pre) Gecko/20100810 Minefield/4.0b4pre The search field/location bar cannot be resized if you set tabs to be on bottom. Reproducible: Always Steps to Reproduce: 1. When tabs are on top, hover mouse over the divider between the location bar and search field, notice that arrows appear and the bar is resizable. 2. Right-click toolbar and uncheck "Tabs on Top" option. 3. Hover mouse over location bar/search field divider again, notice that no arrows appear and the bar is not resizable. Actual Results: Location bar/search field is not resizable. Expected Results: Should be able to resize search field. I tested this with Aero enabled. If you switch the tabs back on top, the bar is still not resizable. It only becomes resizable again if you restart the browser or right-click toolbar, choose customize, and click "Restore Default Set".
Comment 1•14 years ago
|
||
I can confirm in Aero style. The problem does not happen in non-Aero style. After having carried out "Customize toolbar > Done", the rersizer works again. Regression window: Works: Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a6pre) Gecko/20100623 Minefield/3.7a6pre ID:20100624095420 Fails: http://hg.mozilla.org/mozilla-central/rev/cc7c030f6b42 Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a6pre) Gecko/20100623 Minefield/3.7a6pre ID:20100624112154 Pushlog: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=4a6f3d15cfdc&tochange=cc7c030f6b42 Candidate Bug: Bug 555081 - Can't move the window using the titlebar with custom titlebar drawing or glass areas below the titlebar
Comment 3•14 years ago
|
||
Seems to be Win7 only, right?
blocking2.0: --- → ?
Version: unspecified → Trunk
Updated•14 years ago
|
Keywords: regression
Updated•14 years ago
|
blocking2.0: ? → final+
Comment 5•14 years ago
|
||
Likely not a widget bug. This code fails to update correctly for some reason: http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#2366 Maybe this is something similar to bug 555987 [{inc}Dynamically changing -moz-box-ordinal-group doesn't work].
Comment 6•14 years ago
|
||
Changing tab position causes re-binding. /* Make the window draggable by glassed toolbars (bug 555081) */ ... #navigator-toolbox[tabsontop="false"] > #nav-bar, ... { >> -moz-binding: url("chrome://global/content/bindings/toolbar.xml#toolbar-drag"); } However, the binding constructor does not call UpdateUrlbarSearchSplitterState. So this problem happens.
Assignee | ||
Updated•14 years ago
|
Summary: When tabs are placed on bottom, search field cannot be resized → When toggling "tabs on top", search field cannot be resized
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → dao
Assignee | ||
Comment 7•14 years ago
|
||
Attachment #489799 -
Flags: review?(mano)
Assignee | ||
Comment 10•13 years ago
|
||
Attachment #489799 -
Attachment is obsolete: true
Attachment #513891 -
Flags: review?(enndeakin)
Attachment #489799 -
Flags: review?(mano)
Comment 11•13 years ago
|
||
(In reply to comment #10) > Created attachment 513891 [details] [diff] [review] > better patch I find that with this new patch, in order to get the splitter to function, I have to enter/exit "Toolbar Layout" after toggling tabs-on-top. This is with Windows 7.
Comment 12•13 years ago
|
||
Can you explain when someone would use this 'skipintoolbarset' attribute? Also, tests should be added to test_toolbar.xul
Assignee | ||
Comment 13•13 years ago
|
||
(In reply to comment #12) > Can you explain when someone would use this 'skipintoolbarset' attribute? When adding nodes to the toolbar that aren't supposed to participate in toolbar customization, like the splitter. The (val == this.currentSet) check wouldn't work otherwise. this.currentSet would contain urlbar-search-splitter but val wouldn't.
Assignee | ||
Updated•13 years ago
|
Summary: When toggling "tabs on top", search field cannot be resized → Location / search bar splitter moves to the end of the toolbar when toggling "tabs on top"
Assignee | ||
Comment 14•13 years ago
|
||
Attachment #513891 -
Attachment is obsolete: true
Attachment #514472 -
Flags: review?(enndeakin)
Attachment #513891 -
Flags: review?(enndeakin)
Comment 16•13 years ago
|
||
Just FYI, I see this almost every day. When I was looking into this in August (to see if it was something I was causing) I added a little CSS in Stylish to make #urlbar-search-splitter's position obvious: #urlbar-search-splitter { background-color: lime !important; } and I never turned that off. So, like I said, with my usage pattern, I still notice this on the order of once a day. FWIW.
Assignee | ||
Comment 17•12 years ago
|
||
updated to tip
Attachment #514472 -
Attachment is obsolete: true
Attachment #607966 -
Flags: review?(neil)
Attachment #514472 -
Flags: review?(enndeakin)
Updated•12 years ago
|
Attachment #607966 -
Flags: review?(neil) → review+
Assignee | ||
Comment 18•12 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/fe40e7c2d790
Flags: in-testsuite+
Target Milestone: --- → Firefox 14
Comment 19•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fe40e7c2d790
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 20•12 years ago
|
||
Comment on attachment 607966 [details] [diff] [review] patch Bah, I knew I had forgotten somthing... >+ if (val == this.currentSet) >+ return; This should return val.
You need to log in
before you can comment on or make changes to this bug.
Description
•