[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs