[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
Thu Apr 3 08:51:29 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):

 Btw, I think kludge should to check negative value of delta_fix:
 {{{
 if (delta_fix <= 0)
 }}}
 instead of
 {{{
 if (delta_fix == 0)
 }}}

 And as every kludge, after:
 {{{
 delta_fix = Math.floor(diff_height / 2);
 }}}
 Rounding or proper placement of window can to fail in result if user
 changed browser's toolbars in some way, removed, resized, etc.

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


More information about the tor-bugs mailing list