Closed Bug 462663 Opened 16 years ago Closed 16 years ago

Height of tags edit field shrunken since landing of tags autocomplete feature

Categories

(Firefox :: Bookmarks & History, defect)

3.5 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3.1b2

People

(Reporter: whimboo, Assigned: mak)

References

Details

(Keywords: regression, verified1.9.1)

Attachments

(4 files, 4 obsolete files)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081101 Minefield/3.1b2pre ID:20081101032525

After the checkin of the tags autocomplete patch the tags edit field has changed its height. Now it looks really stocky when comparing to the other fields. See the attached screenshot.

It should have the same height as all the other fields.
I forgot to say that it doesn't occur on OS X.
Keywords: regression
No longer blocks: 415960
Blocks: 415960
Attached image WFM in WinXP
Not seeing this in

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081101 Minefield/3.1b2pre
Attached image Scrollbar too narrow? (obsolete) —
But the vertical scrollbar does seem more narrow than the vertical scrollbar for the folder selection.
Err, I meant "wider" (the folder one seems more narrow). :-[
Attached image New bug: Folder box too small (obsolete) —
BTW: The expanded folder box is not tall enough (i.e.: *much* too short). Ideally, the user could expand it (via grippy) and Firefox would remember the new size. Is there a bug on that yet?
This bug is about the height of the tags field which regressed two month ago. Please don't spam it with other issues. Thanks.

(In reply to comment #5)
> BTW: The expanded folder box is not tall enough (i.e.: *much* too short).
> Ideally, the user could expand it (via grippy) and Firefox would remember the
> new size. Is there a bug on that yet?

Yes, AFAIR there is one. But I cannot find it currently.
Attachment #345872 - Attachment is obsolete: true
Attachment #345873 - Attachment is obsolete: true
Attached patch patch (obsolete) — Splinter Review
reset default textfield appearance, even if this is an autocomplete field
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Attachment #347302 - Flags: review?
Attachment #347302 - Flags: review? → review?(dao)
confirmed valid on gnomestripe too, pinstripe is correct since default textfield padding is 0
Comment on attachment 347302 [details] [diff] [review]
patch

Seems like there's a "padded" class in autocomplete.css specifically for this use case. So we should use it here. (And if it's not quite right, e.g. regarding the cursor or for pinstripe's padding-less textboxes, we should fix that in autocomplete.css.)
Attachment #347302 - Flags: review?(dao) → review-
Dao, i see the padded class but we have request that all fields have same height (bug 433055), using .padded would add some padding, but not the same as other textboxes, so it would still be different.
So, are you saying i should fix autocomplete.css padded class to use the same padding as normal textfields?
Instead on pinstripe autocomplete.css padded class has a padding, while normal textfields don't appear having one (see widget textbox.css)

About the cursor, i can't tell why autocomplete.css defines the cursor as default on autocomplete textboxes
(In reply to comment #10)
> Dao, i see the padded class but we have request that all fields have same
> height (bug 433055), using .padded would add some padding, but not the same as
> other textboxes, so it would still be different.
> So, are you saying i should fix autocomplete.css padded class to use the same
> padding as normal textfields?

Yes... please fix autocomplete.css like this:

textbox:not(.padded) {
  padding: 0;
  cursor: default;
}

While you're fixing that, please remove #browserHomePage from winstripe's and gnomestripe's preferences.css (in browser/).
Attached patch patch (obsolete) — Splinter Review
So, this is acting like we discussed on IRC, only change is that
textbox:not(.padded) > .textbox-input-box
was removing the margin from the locationbar too, so i changed it to a more generic
textbox:not(.padded) .textbox-input-box
Attachment #347302 - Attachment is obsolete: true
Attachment #347359 - Flags: review?(dao)
Comment on attachment 347359 [details] [diff] [review]
patch

You probably shouldn't remove /* Used by autocomplete widgets that don't have an icon. Gross. -dwh */ entirely, because it's really an ugly way to solve this and the class name isn't quite obvious.
Attachment #347359 - Flags: review?(dao) → review+
Attached patch patchSplinter Review
added back comment

Mike, do we want to take this minor cleanup for the beta?
Attachment #347359 - Attachment is obsolete: true
Attachment #347529 - Flags: review?(dietrich)
Attachment #347529 - Flags: approval1.9.1b2?
Comment on attachment 347529 [details] [diff] [review]
patch

you need r+ from a toolkit peer for changes to autocomplete. gavin, mconnor, enn are valid candidates for changes here, iirc.
Attachment #347529 - Flags: review?(dietrich)
Attachment #347529 - Flags: review?(gavin.sharp)
Comment on attachment 347529 [details] [diff] [review]
patch

moving review to gavin
Attachment #347529 - Flags: review?(gavin.sharp) → review+
Comment on attachment 347529 [details] [diff] [review]
patch

>-#browserHomePage {

>-  background-color: -moz-Dialog;

I was pretty curious about why this was here to begin with - looks like it was landed accidentally as part of bug 309140.

>+/* .padded is used by autocomplete widgets that don't have an icon. Gross. -dwh */

Gross indeed! We should get a bug filed on just doing the right thing and making .padded unnecessary...
Attachment #347529 - Flags: approval1.9.1b2? → approval1.9.1b2+
Comment on attachment 347529 [details] [diff] [review]
patch

a=beltzner, this should block as well so we don't pooch theme developers :(
Flags: blocking-firefox3.1+
Target Milestone: --- → Firefox 3.1b2
http://hg.mozilla.org/mozilla-central/rev/5bc95a37a77b
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
(In reply to comment #17)

> >+/* .padded is used by autocomplete widgets that don't have an icon. Gross. -dwh */
> 
> Gross indeed! We should get a bug filed on just doing the right thing and
> making .padded unnecessary...

filed Bug 464450
(In reply to comment #19)
> http://hg.mozilla.org/mozilla-central/rev/5bc95a37a77b

This fixes the mentioned issue on Windows XP. But Vista is still affected. Looks like the patch misses the CSS update for Aero. I'll attach a screenshot which shows the issue with Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1b2pre) Gecko/20081114 Minefield/3.1b2pre ID:20081114034305

=> Reopen
Status: RESOLVED → REOPENED
OS: Windows XP → Windows Vista
Resolution: FIXED → ---
there's no special file for aero and i see padding in the field, that sounds more like bug 433055
You are right. Lets move it over to bug 433055. Marking this bug as verified.
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
OS: Windows Vista → Windows XP
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
as an additional check i've compared with current branch, and your screen looks the same, so that issue has not been regressed by tag autocomplete.
Version: Trunk → 3.1 Branch
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".

In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body   contains   places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.

Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.

Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
Blocks: 336453
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: