List Info

Thread: Re: Re Location bar Proposal 1.2




Re: Re Location bar Proposal 1.2
country flaguser name
United States
2007-03-19 06:12:12
On 19 Mar 2007 03:17:11 -0700, "Mardak"
<edileegmail.com> wrote:

> On Mar 18, 8:45 pm, Nelson Bolyard <NOnelsonS...NObolyardSPAM.com>
> wrote:
> > Mardak wrote:
> > >http://ed.agadak.net/firefox/locationbar/resizenmove.ht
ml
> >
> > It's off by a few pixels.
> 
> Would you happen to be using trunk builds? I actually
didn't do much
> testing on trunk, but your comment got me looking
around to see why it
> would be off by a few pixels. Things line up perfectly
for me on XP,
> OS X Firefox 2.0.0.2, but they are shifted on a nightly
build.

I just tried it with my release version of Firefox:

Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1.2)
Gecko/2007021917
Firefox/2.0.0.2

When the text is done shrinking, it ends up about half a
line above the
text in the address bar. It appears to be seven pixels too
high when it is
done.

I can see potential for more problems if this were to shrink
to my actual
address bar, instead of the one provided in the content
area. The text in
my real address bar is not using the same font as that used
in the content
example, nor is it the same size. I have my userChrome
modified to make
sure my address bar text is large enough to read, as I have
low vision.
Mine is about 15 percent larger than normal. Will this be
smart enough to
shrink to the same font, size and position that any
particular user might
be using?

> http://ed.agadak.net/firefox/locationbar/domain.5.html


This one also lands several pixels above the address bar
text for me.

I just went over to an XP machine, and it is a little
different there. With
Win 98se, it is off by about seven pixels in the end. On XP
Home, it is
only off by about two pixels. Both systems end up with the
shrinking text
higher on the screen than the target text. Both systems are
using the same
version of Firefox, with the profile from one copied from
one system to the
other, so they should ideally perform the same. They are
also both running
at 1024x768, if that helps. The only difference is that the
offset of the
shrunken text and the target text ends up greater on one
system versus the
other. The video cards and drivers are different on the two
systems.

I hope this is helpful.
-- 
FoxWolfie
_______________________________________________
dev-apps-firefox mailing list
dev-apps-firefoxlists.mozilla.org
h
ttps://lists.mozilla.org/listinfo/dev-apps-firefox

Re: Re Location bar Proposal 1.2
country flaguser name
United States
2007-03-19 18:42:46
On Mar 19, 6:12 am, FoxWolfie Galen <g...velocity.net> wrote:
> Will this be smart enough to shrink to the same font,
size and position
> that any particular user might be using?

The code already does that, but I've updated it so you can
explicitly
set the font family and size.

http://ed.agadak.net/firefox/locationbar/resizenmove.ht
ml

I originally tested things on 2.0.0.2 for XP and OS X and
tweaked the
equations around until the text lined up perfectly, but from
the
reports so far, it seems like it still varies. Getting it to
work on
various platforms (and OS theme/styles) and firefox builds
will be
tricky, but hopefully there's a better way to do things than
what I'm
currently doing with offsetTop/Width/etc.

This prospective extension will target Gran Paradiso/Firefox
3 which
has 1) better performance with the new layout engine, 2)
support for
finding TLDs so the banner can correctly highlight TLD+1.
But there's
some potential problems such as chrome not being able to be
placed
over content, fewer supported OSes and things are still
getting
changed around.

Ed

_______________________________________________
dev-apps-firefox mailing list
dev-apps-firefoxlists.mozilla.org
h
ttps://lists.mozilla.org/listinfo/dev-apps-firefox

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )