[tor-bugs] #9268 [TorBrowserButton]: Resizing the browser window does not take size of taskbars and DPI into account

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 7 11:59:01 UTC 2014


#9268: Resizing the browser window does not take size of taskbars and DPI into
account
-------------------------+-------------------------------------------------
     Reporter:  gk       |      Owner:  mikeperry
         Type:  defect   |     Status:  needs_revision
     Priority:  major    |  Milestone:
    Component:           |    Version:
  TorBrowserButton       |   Keywords:  tbb-fingerprinting,
   Resolution:           |  GeorgKoppen201403R, MikePerry201403R
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-------------------------------------------------

Comment (by gk):

 I pushed another branch into my repo bug_9268_wip containing the best I
 can currently come up with. It turns out that availHeight and availWidth
 are the same on some OS/window manager configurations (see my comment in
 torbutton.js for more details). So, this approach is neither working for
 the cypherpunk patch nor for mine. Then: with the cypherpunk patch while
 having a different DPI, the resolution is not properly rounded (the width
 on my Win 7 box is always of at least one pixel). Alas, my patch is doing
 worse :(. To sum up: There is currently neither a general solution for
 problems with the taskbar nor one with non-default DPI settings we could
 deploy.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9268#comment:61>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list