[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 11:44:08 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):

 > Why should incrementing it be necessary at all? And why is incrementing
 it by 1 enough?
 Incrementing need because size of separator in between of menu and title
 bars.(window.mozInnerScreenY is about coordinates of this separator)
 I don't know if separator affected by DPI (zooming or anything yet),
 actually. But 1 pixel was verified experimentally for two different WM.
 (this 1px present even for OS Windows, but this code not used there
 because outerHeight is correct and includes everything)

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


More information about the tor-bugs mailing list