Status: Untriaged
Owner: [email protected]
Labels: Type-Bug Pri-2 OS-All Area-Misc Size-Medium

New issue 19488 by [email protected]: Tail of URL omitted with "..." on  
LinkInfoBar "Did you mean to go to"
http://code.google.com/p/chromium/issues/detail?id=19488

What steps will reproduce the problem?
1. Type some intranet URL (i.e. host name, e.g. a to access http://a/)

Windows: Happens
Linux: Doesn't happen
Mac: Not checked

Version: Chromium 4.0.202.0 (23540)

What is the expected output? What do you see instead?
- expected: Search result for "a" is shown and the info bar appear with a
message "Did you mean to go to http://p/ ?"
- actual: Info bar says "Did you mean to go to http://..."; where the tail
of URL is omitted nonetheless there's enough space between "/" icon and
close button.

It seems that width passed to canvas->DrawStringInt in Label::Paint is a
bit small to fit the string. When I passed text_bounds.width() + 1 instead
of text_bounds.width(), there was no omission.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to