#10453 NORM 10.1.3: DPI is wrong when screen rotated sideways (was: Browse activity uses a huge font/image scaling factor when started with screen rotated sideways)

Zarro Boogs per Child bugtracker at laptop.org
Thu Dec 16 09:47:42 EST 2010


#10453: DPI is wrong when screen rotated sideways
---------------------------------------+------------------------------------
           Reporter:  greenfeld        |       Owner:  cjb                              
               Type:  defect           |      Status:  new                              
           Priority:  normal           |   Milestone:  10.1.3                           
          Component:  x window system  |     Version:  Development build as of this date
         Resolution:                   |    Keywords:                                   
        Next_action:  diagnose         |    Verified:  0                                
Deployment_affected:                   |   Blockedby:                                   
           Blocking:  9350             |  
---------------------------------------+------------------------------------
Changes (by martin.langhoff):

 * cc: jnettlet, pgf (added)
  * component:  browse-activity => x window system
  * milestone:  Not Triaged => 10.1.3
  * owner:  erikos => cjb
  * blocking:  => 9350


Comment:

 In the course of #9350 investigation, we found that this issue affects all
 programs / activities opened with a rotated screen.

 The root problem is that when rotated, the resolution is being flipped but
 the screen dimensions are staying the same -- so the dpi calculations
 yield bogus numbers.

 At this time, we have not narrowed down the code that handles this
 (possibly in xorg, xrandr) but we have confirmed a workaround in olpc-
 rotate works.

 Note that this happens on both XO-1 and XO-1.5 so if it's on the xorg
 driver, we have it twice. A quick test on a netbook running F14 + intel
 chipset does not repro.

 I'll craft the olpc-rotate workaround -- if the right fix materializes I'm
 happy to get the right fix in instead.

-- 
Ticket URL: <http://dev.laptop.org/ticket/10453#comment:2>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list