[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):

 window.screen.availHeight and window.screen.availWidth can be fetched only
 once passed on function. Then to skip window.windowState (used only for
 logs). To reduce log level?
 All outer and inner sizes need to calculate again every time.

 However. "Slowness" is result of different sizes requested for resize for
 every call of function, I think. Delay can't be reduced in beetween
 initial resize and resize on MutationObserver.

 You can to calculate needed titlebar size and hardcode it for test
 purpose. Result should be the same as before this ticket.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9268#comment:56>
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