Closed Bug 467601 Opened 16 years ago Closed 15 years ago

long bookmark names (page titles) will hide tagging icon and tags' text in location bar dropdown list (overlaps, covers up)

Categories

(Firefox :: Address Bar, defect, P2)

defect

Tracking

()

VERIFIED FIXED
Firefox 3.7a1

People

(Reporter: tchung, Assigned: Unfocused)

References

()

Details

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20081201 Minefield/3.1b3pre
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20081201 Minefield/3.1b3pre

In the awesomebar, if the bookmark has a super long description, (eg. www.cnbc.com), then the tag you mark in the bookmark will not be shown when retrieving it later on awesomebar.

See screenshot

Reproducible: Always

Steps to Reproduce:
1. bookmark a webpage with a long bookmark description (exceeds the urlbar space)
2. tag it
3. open a new tab, and type in your tag
4. Verify the long description will overwrite where the tag should have been.
Actual Results:  
Long description overwrites the tag on the awesomebar

Expected Results:  
long description should be clipped with trailing periods, and still show the tag in the right side
Flags: blocking-firefox3.1?
Flags: in-litmus?
OS: Mac OS X → All
Hardware: PC → All
Not a blocker, but definitely wanted.
Flags: wanted-firefox3.1+
Flags: blocking-firefox3.1?
Flags: blocking-firefox3.1-
Priority: -- → P2
Version: unspecified → Trunk
Bump
would definitely take a low-risk patch for this...
Target Milestone: --- → Firefox 3.1
Has this been fixed yet?
I started to work on this, but we should clarify what the expected results should be.  It's easy if there's only one or two short tags: just give the tags all the room they need and truncate the title.  But what if there are 20 tags?  How should the space between the two be divvied up?  The current implementation gives the title all the space it needs and only if there's room left over does it show the tags, or a portion of them.
Keywords: uiwanted
I saw this problem in 3.0.x; but I duped 434951 as this one now has traction.
drew:

I wouldn't worry so much about having 20 tags - or 10 for that matter. Don't let that shape your solution.
Target Milestone: Firefox 3.1 → Firefox 3
Target Milestone: Firefox 3 → ---
Flags: wanted-firefox3.5+ → wanted-firefox3.6+
If there is space conflict, perhaps, show just the tags that match search terms?  (that might not be a bad idea in general, rather than showing all tags for matched bookmark)

removing in-litmus? until this is resolved, feel free to add it back at that
time.
Flags: in-litmus?
Correcting summary to eliminate the term "description", as that is another property of bookmarks which is not what this bug refers to.
Summary: long bookmark descriptions will hide tagging icon and text → long bookmark names (page titles) will hide tagging icon and tags' text in location bar dropdown list
Summary: long bookmark names (page titles) will hide tagging icon and tags' text in location bar dropdown list → long bookmark names (page titles) will hide tagging icon and tags' text in location bar dropdown list (overlaps, covers up)
Assignee: nobody → bmcbride
Attached patch Patch v1Splinter Review
Pretty simple patch. Also now not setting the flex property/attribute of the box that holds the tags, as its unneeded now.

As per comment 9, this does *not* take into account the possibility of a large number of tags.
Attachment #400320 - Flags: review?(dietrich)
Comment on attachment 400320 [details] [diff] [review]
Patch v1

i'm not a Toolkit peer, just Places sub-module owner. you need a toolkit peer or module owner. neil, gavin or mconnor are likely the best options for this patch.
Attachment #400320 - Flags: review?(dietrich)
Attachment #400320 - Flags: review?(mconnor)
Attachment #400320 - Flags: review?(mconnor) → review?(enndeakin)
Attachment #400320 - Flags: review?(enndeakin) → review+
http://hg.mozilla.org/mozilla-central/rev/689472a1d9a8
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
Blair, do you see an easy way to fix this or should I back out?
Blocks: 520441
(In reply to comment #16)
> Created an attachment (id=404246) [details]
> broken keyword search colon
> 
> Blair, do you see an easy way to fix this or should I back out?

Bleh. Thankfully, its just a cosmetic regression. Filed bug 520441.
No longer blocks: 520441
Depends on: 520441
Attachment #400320 - Flags: approval1.9.2?
verified with: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.3a1pre) Gecko/20091111 Minefield/3.7a1pre
Status: RESOLVED → VERIFIED
Comment on attachment 400320 [details] [diff] [review]
Patch v1

approval1.9.2 requests aren't currently being monitored, since we're nearing RC freeze and there are too many outstanding requests, so I'm clearing this request. Feel free to re-request approval if you are confident that it's worth drivers' time to consider whether this non-blocker needs to land for 1.9.2 at this stage.
Attachment #400320 - Flags: approval1.9.2?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: