Closed Bug 767377 Opened 12 years ago Closed 12 years ago

The filtering textbox expands when entering a string

Categories

(DevTools :: Debugger, defect, P3)

15 Branch
defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 16

People

(Reporter: ioana_damy, Assigned: vporof)

Details

Attachments

(3 files, 2 obsolete files)

Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120621 Firefox/15.0a2 (20120621042006)

STR:
1. Load http://htmlpad.org/debugger/ in the browser.
2. Open the Debugger (Tools->Web developer->Debugger, or press Ctrl+Shift+S).
3. Select the jquery.min.js script in the dropdown.
4. Enter a "j" in the filtering textbox.

The textbox expands automatically. It's a small expansion but it's very visible to me.
Can't reproduce this on OS X, but I think we can get away with this if we set a specific width in the CSS.
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Priority: -- → P3
Attached patch v1 (obsolete) — Splinter Review
Attachment #638778 - Flags: review?(past)
Why does this patch affect all platforms? This bug is likely due to <http://hg.mozilla.org/mozilla-central/annotate/f38d6df93cad/toolkit/themes/winstripe/global/textbox-aero.css#l7> and therefore Windows-specific.
(In reply to Dão Gottwald [:dao] from comment #5)
> Why does this patch affect all platforms? This bug is likely due to
> <http://hg.mozilla.org/mozilla-central/annotate/f38d6df93cad/toolkit/themes/
> winstripe/global/textbox-aero.css#l7> and therefore Windows-specific.

If we're going to add a width, we might as well do it on all platforms.
Is there something inherently wrong with doing so? I have no objections on fixing this only on Windows, but it would be nice to have the same sizes apply on all OS.
<http://hg.mozilla.org/mozilla-central/annotate/f38d6df93cad/toolkit/themes/winstripe/global/textbox-aero.css#l7> affecting the textbox width is basically a toolkit bug that would ideally be fixed at a lower level rather than on a per-textbox basis. So unless the width is useful for other reasons, I think it makes sense to think of this as an interim solution that can be limited to Windows.
(In reply to Dão Gottwald [:dao] from comment #7)
> <http://hg.mozilla.org/mozilla-central/annotate/f38d6df93cad/toolkit/themes/
> winstripe/global/textbox-aero.css#l7> affecting the textbox width is
> basically a toolkit bug that would ideally be fixed at a lower level rather
> than on a per-textbox basis. So unless the width is useful for other
> reasons, I think it makes sense to think of this as an interim solution that
> can be limited to Windows.

In that same line of thought it may be best to add an aero-only debugger stylesheet with this workaround. On the other hand this may be going too far.

I'm personally fine either way.
(In reply to Panos Astithas [:past] from comment #8)
> (In reply to Dão Gottwald [:dao] from comment #7)
> > <http://hg.mozilla.org/mozilla-central/annotate/f38d6df93cad/toolkit/themes/
> > winstripe/global/textbox-aero.css#l7> affecting the textbox width is
> > basically a toolkit bug that would ideally be fixed at a lower level rather
> > than on a per-textbox basis. So unless the width is useful for other
> > reasons, I think it makes sense to think of this as an interim solution that
> > can be limited to Windows.
> 
> In that same line of thought it may be best to add an aero-only debugger
> stylesheet with this workaround. On the other hand this may be going too far.
> 
> I'm personally fine either way.

Let's just add the width in the debugger win css as a temporary fix.
Or we could just not do anything and let the toolkit people to fix it? Who should we ping?
Attached patch v2 (obsolete) — Splinter Review
Alright then.
Attachment #642345 - Flags: review?(past)
Attachment #638778 - Attachment is obsolete: true
Attachment #638778 - Flags: review?(past)
Comment on attachment 642345 [details] [diff] [review]
v2

Review of attachment 642345 [details] [diff] [review]:
-----------------------------------------------------------------

A comment that points to the bug and/or textbox-aero.css would help us remember when to get rid of it.
Attachment #642345 - Flags: review?(past) → review+
Attached patch v2.1Splinter Review
Commented.
Whiteboard: [land-in-fx-team]
Attachment #642345 - Attachment is obsolete: true
https://hg.mozilla.org/mozilla-central/rev/492fb99ae0d8
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 16
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: