[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
Fri Apr 4 15:58:27 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 cypherpunks):

 >I have at least one computer where I see the small window before it is
 properly resized.
 Smaller by width or by height?
 If by height then it's about "delta_fix = Math.floor(diff_height / 2);"
 which can be non optimal value for try without knowing real title bar
 size. I don't know how to optimize it. You can to hardcode it to some
 values probably, but which one? Will it work for another computer? kludge
 invites kludges, alas.

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


More information about the tor-bugs mailing list