Closed Bug 715892 Opened 13 years ago Closed 12 years ago

In the Style Editor, remove the stylesheet filter

Categories

(DevTools :: Style Editor, defect)

x86
All
defect
Not set
normal

Tracking

(firefox11 verified, firefox12 verified)

VERIFIED FIXED
Firefox 12
Tracking Status
firefox11 --- verified
firefox12 --- verified

People

(Reporter: paul, Assigned: cedricv)

Details

(Whiteboard: [qa!])

Attachments

(2 files, 6 obsolete files)

This is not really useful, and can be a bit confusing.
As discussed, we'll change the behavior to a more useful "Find in all style sheets" (bug 719409)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Bug 719409 won't be fixed for Firefox 11. To avoid confusion, I think we should remove this feature in Firefox 11.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Attached patch patch v1 (obsolete) — Splinter Review
The logic behind this deletion is:
- the filter-by-name feature is not useful
- we want to replace the behavior of the search field from filter-by-name to filter-by-content
- this won't happen for Firefox 11 or Firefox 12
- we don't want people to get used to a feature that will be removed and replaced by something that "look" the same but won't do the same thing
Attached patch patch v1.1 (obsolete) — Splinter Review
Attachment #590724 - Attachment is obsolete: true
Attachment #590726 - Flags: feedback?(cedricv)
Comment on attachment 590726 [details] [diff] [review]
patch v1.1

Asking dcamp to review to make sure we can land that asap.
But we still need a f+ from Cedric.
Attachment #590726 - Flags: review?(dcamp)
Attachment #590726 - Flags: review?(dcamp) → review+
Comment on attachment 590726 [details] [diff] [review]
patch v1.1

f- because I actually want to say "f+ but...

...ideally, we could still keep the "search-on-type" feature even so we remove it the visible searchbox for Fx11 :)
Attachment #590726 - Flags: feedback?(cedricv) → feedback-
I don't think we want to keep dead code. You can re-introduce this code if needed.
(In reply to Paul Rouget [:paul] from comment #8)
> I don't think we want to keep dead code. You can re-introduce this code if
> needed.

I meant I think we should keep the logic AND the "search-on-type" UI (you can try it, eg., when the Style Editor is in narrow in vertical side bar)
Comment on attachment 590726 [details] [diff] [review]
patch v1.1

So as discussed on IRC, we'll rather improve the search-on-type filter and land it together with the new global search box later.
Attachment #590726 - Flags: feedback- → feedback+
So I run into an issue. With this patch, we can actually resize the right panel in a way that the buttons get hidden.

If, in the toolbar, I add a <xul:textbox flex="1"> (after the button, or between the buttons), the toolbar can't get over-resized.

I really don't understand what is going on. I need some help here.
Paul, I had a look at it... tried few things but no idea what is going on with that resizer :/
Anyways I rebased the patch to apply against tip.
Attachment #590726 - Attachment is obsolete: true
Attachment #591391 - Attachment is obsolete: true
Seems to work now. Yay!
Attachment #591392 - Attachment is obsolete: true
Attachment #591394 - Flags: review?(paul)
Attached patch patch v3.1 - better id naming (obsolete) — Splinter Review
Attachment #591394 - Attachment is obsolete: true
Attachment #591394 - Flags: review?(paul)
Attachment #591395 - Flags: review?(paul)
Comment on attachment 591395 [details] [diff] [review]
patch v3.1 - better id naming

Thank you Cedric. Can I just ask you to find a better "id" for splitview-nav-container? It's a little confusing to get the same className and Id.
Attachment #591395 - Flags: review?(paul) → review+
Attachment #591407 - Flags: review+
Whiteboard: [land-in-fx-team]
Assignee: nobody → cedricv
https://hg.mozilla.org/integration/fx-team/rev/ffaed1950e3b
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
I will a? this patch once in central.
Whiteboard: [fixed-in-fx-team] → [fixed-in-fx-team][addToFirefox11]
https://hg.mozilla.org/mozilla-central/rev/ffaed1950e3b
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team][addToFirefox11] → [addToFirefox11]
Target Milestone: --- → Firefox 12
Comment on attachment 591407 [details] [diff] [review]
patch v3.2 - id name change + move persist attribute as well

[Approval Request Comment]
Regression caused by (bug #): Not a regression. New feature.
User impact if declined: Confusing Feature will Confuse Users, some window repositioning behavior may not work as expected.
Testing completed (on m-c, etc.): on m-c, local testing.
Risk to taking this patch (and alternatives if risky): negligible. Patch removes more code than adds. Clean!
Attachment #591407 - Flags: approval-mozilla-aurora?
Comment on attachment 591407 [details] [diff] [review]
patch v3.2 - id name change + move persist attribute as well

[Triage Comment]
It's difficult to argue with the removal of functionality in a new feature for the sake of minimizing user confusion. Approved for Aurora.
Attachment #591407 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Whiteboard: [addToFirefox11]
Whiteboard: [qa+]
Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20100101 Firefox/11.0
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:11.0) Gecko/20100101 Firefox/11.0
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101 Firefox/11.0

Verified using Firefox 11 beta 1 on Windows 7, Ubuntu 11.10 and Mac OS X 10.6 that the stylesheet filter has been removed from the Style Editor.
Whiteboard: [qa+] → [qa+][qa!:11]
Verified as fixed on Firefox 12 beta 2 - the stylesheet filter has been removed from the Style Editor.

Verified on Windows 7, Ubuntu 11.10 and Mac OS X 10.6.
Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20100101 Firefox/12.0
Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20100101 Firefox/12.0
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20100101 Firefox/12.0

Setting resolution to VERIFIED FIXED.
Status: RESOLVED → VERIFIED
Whiteboard: [qa+][qa!:11] → [qa!]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: