Closed
Bug 767313
Opened 12 years ago
Closed 11 years ago
Merge the Tabs category into the General category in in-content preferences
Categories
(Firefox :: Settings UI, defect)
Firefox
Settings UI
Tracking
()
VERIFIED
FIXED
Firefox 26
People
(Reporter: Unfocused, Assigned: manishearth)
References
(Blocks 1 open bug)
Details
(Keywords: addon-compat)
Attachments
(1 file, 3 obsolete files)
(deleted),
patch
|
Unfocused
:
review+
zfang
:
ui-review+
|
Details | Diff | Splinter Review |
There's not much in the Tabs category, it should be merged into the General category before in-content prefs are enabled by default (temporary until the reorganisation). That cuts down on the number of categories without making one of the categories too big.
Comment 1•12 years ago
|
||
Totally agree with this. Also, some options like "Open new windows in a new tab instead" and "Always show the tab bar" may be removed (as long as they are accessible from about:config).
Assignee | ||
Updated•11 years ago
|
OS: Windows 7 → All
Hardware: x86_64 → All
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → manishsmail
Assignee | ||
Comment 2•11 years ago
|
||
I think I'll try this out.
Assignee | ||
Comment 3•11 years ago
|
||
Just checking if I've got this right -- this is asking for the content of the "Tabs" preference page to be moved to a subsection (fieldset) in the general tab, right?
This will probably involve:
- Merging tabs.js and tabs.xul into main.js/main.xul
- Removing any references to this in any makefiles
- If there are any tests involving tabs, fix them.
In addition to that, should I make the relevant changes to the in-content folder as well?
Updated•11 years ago
|
Flags: needinfo?(bmcbride)
Assignee | ||
Comment 4•11 years ago
|
||
I integrated tabs.* into main.*, and made the necessary changes to jar.mn and preferences.xul. I have tested it, and run most of the mochitests too.
I haven't made changes to the in-content folder, as mentioned before, should I do that as well?
(Also, sorry if I messed up with the r?, I'm not sure how this works. I just chose the top suggested reviewer)
Attachment #801232 -
Flags: review?(dolske)
Comment 5•11 years ago
|
||
From the description, it really sounds like you should only be making the changes to the in-content folder, not the parent.
Assignee | ||
Comment 6•11 years ago
|
||
(In reply to Josh Matthews [:jdm] from comment #5)
> From the description, it really sounds like you should only be making the
> changes to the in-content folder, not the parent.
Done. I'm leaving both patches out there till we know what :Unfocused was asking for, feel free to obsolete. :)
Attachment #801242 -
Flags: review?(dolske)
Attachment #801242 -
Flags: feedback?(josh)
Assignee | ||
Comment 7•11 years ago
|
||
Forgot to rm the old tabs files.
Attachment #801242 -
Attachment is obsolete: true
Attachment #801242 -
Flags: review?(dolske)
Attachment #801242 -
Flags: feedback?(josh)
Attachment #801249 -
Flags: review?(dolske)
Attachment #801249 -
Flags: feedback?(josh)
Comment 8•11 years ago
|
||
Comment on attachment 801249 [details] [diff] [review]
Patch 1.2 (in-content)
I don't actually know anything more than what I've read in this bug.
Attachment #801249 -
Flags: feedback?(josh)
Assignee | ||
Comment 9•11 years ago
|
||
(In reply to Josh Matthews [:jdm] from comment #8)
> Comment on attachment 801249 [details] [diff] [review]
> Patch 1.2 (in-content)
>
> I don't actually know anything more than what I've read in this bug.
Ah, sorry about that. I had feedback?d you as you're the one who suggested that the change be made to the in-content folder (so I assumed you knew more about it). Sorry :)
Reporter | ||
Comment 10•11 years ago
|
||
Comment on attachment 801249 [details] [diff] [review]
Patch 1.2 (in-content)
Review of attachment 801249 [details] [diff] [review]:
-----------------------------------------------------------------
Yep, I had meant only the in-content preferences - that's the new one going forward. And I can review this :)
Looking good! Basically done, just a couple of small things to clean up.
::: browser/components/preferences/in-content/landing.xul
@@ -14,5 @@
> </button>
>
> - <button label="&paneTabs.title;" class="landingButton"
> - oncommand="gotoPref('paneTabs');">
> - <image class="landingButton-icon" type="tabs"/>
Also need to remove the related CSS rules in /browser/themes/*/preferences/in-content/preferences.css that set the image for this.
::: browser/components/preferences/in-content/main.js
@@ +12,5 @@
> * Initialization of this.
> */
> init: function ()
> {
> + //this._pane = document.getElementById("paneMain");
Yea, safe to remove this - it's leftover from the dialog-based preferences.
@@ +27,5 @@
> Components.classes["@mozilla.org/observer-service;1"]
> .getService(Components.interfaces.nsIObserverService)
> .notifyObservers(window, "main-pane-loaded", null);
> +
> + //Functionality for "Show tabs in taskbar" on Win XP
Nit: The line above this has trailing whitespace. Ditto on line 494.
@@ +492,5 @@
> + },
> + // TABS
> +
> + /*
> + * Preferences:
Nit: Since we don't actually have code to deal with these preferences in this file, may as well just put it in main.xul, right above the related <preference>s.
::: browser/components/preferences/in-content/main.xul
@@ +190,5 @@
> </groupbox>
> +
> +<!-- Tab preferences -->
> +<groupbox data-category="paneGeneral" hidden="true">
> + <caption label="&tabsGroup.label;"/>
Nit: This block is indented using tabs, should only indent using spaces.
Attachment #801249 -
Flags: review?(dolske) → review-
Reporter | ||
Updated•11 years ago
|
Attachment #801232 -
Attachment is obsolete: true
Attachment #801232 -
Flags: review?(dolske)
Reporter | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Flags: needinfo?(bmcbride)
Assignee | ||
Comment 11•11 years ago
|
||
(In reply to Blair McBride [:Unfocused] from comment #10)
> Yep, I had meant only the in-content preferences - that's the new one going
> forward. And I can review this :)
Alright, thanks. I'm still new to this review thing :)
> Nit: Since we don't actually have code to deal with these preferences in
> this file, may as well just put it in main.xul, right above the related
> <preference>s.
I made the change, though I'm not too sure of it. The comment was there in the old tabs.js file and it seems to be the norm across the other files as well.
Attachment #801249 -
Attachment is obsolete: true
Attachment #801369 -
Flags: review?(bmcbride)
Reporter | ||
Comment 12•11 years ago
|
||
(In reply to Manish Goregaokar [:manishearth] from comment #11)
> I made the change, though I'm not too sure of it. The comment was there in
> the old tabs.js file and it seems to be the norm across the other files as
> well.
Yea, I was just concerned about it having some context.
Reporter | ||
Comment 13•11 years ago
|
||
Comment on attachment 801369 [details] [diff] [review]
Patch 1.3
Review of attachment 801369 [details] [diff] [review]:
-----------------------------------------------------------------
Good to go!
Attachment #801369 -
Flags: review?(bmcbride) → review+
Reporter | ||
Comment 14•11 years ago
|
||
Landed on the fx-team branch, which gets merged to mozilla-central almost daily:
https://hg.mozilla.org/integration/fx-team/rev/df6621bc6442
Assignee | ||
Comment 15•11 years ago
|
||
Thanks! :D Should I mark this as resolved?
Comment 16•11 years ago
|
||
Should it be marked as a change that affects to add-ons? I have seen many tabs-related extensions that add its own entries to the tabs pane of the classic preferences window: at least a button for to open its own prefwindow. I don't know with the in-content about:preferences, though.
Assignee | ||
Comment 17•11 years ago
|
||
(In reply to Marco from comment #16)
> Should it be marked as a change that affects to add-ons? I have seen many
> tabs-related extensions that add its own entries to the tabs pane of the
> classic preferences window: at least a button for to open its own
> prefwindow. I don't know with the in-content about:preferences, though.
I *think* that most extensions don't deal with in content yet (so they'll add the pref to the popup window), but I'm not sure.
Comment 18•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Comment 19•11 years ago
|
||
(In reply to Marco from comment #16)
> Should it be marked as a change that affects to add-ons? I have seen many
> tabs-related extensions that add its own entries to the tabs pane of the
> classic preferences window: at least a button for to open its own
> prefwindow. I don't know with the in-content about:preferences, though.
This will eventually affect add-ons, so I think we should add this keyword. Thanks.
Keywords: addon-compat
Reporter | ||
Comment 20•11 years ago
|
||
(In reply to Manish Goregaokar [:manishearth] from comment #15)
> Thanks! :D Should I mark this as resolved?
Bugs don't get resolved until they reach mozilla-central - soon as that happens, whoever merged the trees will mark the relevant bugs as RESOLVED FIXED.
Assignee | ||
Comment 21•11 years ago
|
||
Ah, I see, thanks :)
Comment 22•11 years ago
|
||
1) The respective new Tabs groupbox needs a id, or to overlay it (again, extensions) will be hard, i think. Need that a followup bug?
2) Maybe I should have asked here too, how it affects to bug 565550.
Comment 23•11 years ago
|
||
No UI-review? Tsk tsk!
Updated•11 years ago
|
Attachment #801369 -
Flags: ui-review?(zfang)
Comment 24•11 years ago
|
||
Comment on attachment 801369 [details] [diff] [review]
Patch 1.3
There's one minor alignment issue, I filed bug 917057
Otherwise looks great!
Attachment #801369 -
Flags: ui-review?(zfang) → ui-review+
Comment 25•11 years ago
|
||
Is this the first case where the in content preferences are diverging from in-content preferences?
Comment 26•11 years ago
|
||
(In reply to Mike Kaply (:mkaply) from comment #25)
> Is this the first case where the in content preferences are diverging from
> in-content preferences?
Yes.
Comment 27•10 years ago
|
||
Verified fixed on Windows 7 64bit, Ubuntu 13.10 32bit and Mac OSX 10.8.5 using latest Nightly 34.0a1 (buildID: 20140729030202).
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•