[tor-bugs] #4795 [Firefox Patch Issues]: TBB does not like the standard theme on Windows XP, Vista, and 7

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Jun 4 00:24:47 UTC 2012


#4795: TBB does not like the standard theme on Windows XP, Vista, and 7
-------------------------------------+--------------------------------------
    Reporter:  runa                  |       Owner:  mikeperry
        Type:  defect                |      Status:  new      
    Priority:  major                 |   Milestone:           
   Component:  Firefox Patch Issues  |     Version:           
  Resolution:                        |    Keywords:           
      Parent:                        |      Points:           
Actualpoints:                        |  
-------------------------------------+--------------------------------------

Comment(by Shondoit):

 Replying to [comment:45 mikeperry]:
 > I wonder if it is the absence of these rules that is messing us up... I
 wonder what happens if you hack GetSystemMetric in
 layout/style/nsMediaFeatures.cpp to always pick one value for those atoms?
 Changing that function to always do aResult.SetIntValue(0) or 1, for
 example...
 I tried this by changing browser.css as if -moz-windows-compositor is
 true. This works for Windows Aero, but when a user is using Aero Basic or
 Windows Classic then everything breaks.
 Basically, we need the theming logic to be intact if we don't want to
 break stuff.

 > Otherwise, if a bloody hack doesn't work, we'll need to figure out how
 to prevent these things from getting exported to the content window while
 still allowing chrome to use them...
 This would be the preferred way. We need it available for chrome for the
 theming, yet don't want to expose it to any web pages. I don't think this
 is easy to do, but I'm not sure what else is possible.


 I attached a test page that will show the availability of the Media
 queries in web pages. Basically, everything should be red, while still
 having proper theming for Aero, Basic and Classic.

 Important note, the media queries are used for OSX theming as well. We
 need to pay attention as to not break stuff (or maybe fix stuff that
 hasn't been reported.)

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


More information about the tor-bugs mailing list