← Back to team overview

openlp-core team mailing list archive

[Bug 782503] Re: Presentation does not go to second monitor

 

I meant the "live mode" and used the wrong word for that. I'm only using
the Song plugin.

For the values, I was not referring to the very last line, but these ones:
2011-05-13 23:49:51,585 openlp.core.lib.renderer DEBUG calculate default PyQt4.QtCore.QRect(0, 0, 1280, 800)
2011-05-13 23:49:51,585 openlp.core.lib.renderer DEBUG calculate default 1280, 800, 0.625000

I'm not used to openlp's codebase, but looking at core/lib/renderer.py,
where these messages are produced, it seems like it's using the
resolution of the first display and calculating the aspect ratio for
that display. However I've chosen the 2nd display as the one where the
live mode should go on.

Attached the full log.

** Attachment added: "openlp.log"
   https://bugs.launchpad.net/openlp/+bug/782503/+attachment/2128392/+files/openlp.log

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/782503

Title:
  Presentation does not go to second monitor

Status in OpenLP - Worship Presentation Software:
  Incomplete

Bug description:
  Running on Archlinux, Openlp version 1.9.5 build bzr1540
  Intel video card

  
  Music's lyric is not displayed on the second monitor. Sometimes it goes right, but most of the times it is displayed in the primary screen, with wrong resolution.

  $ xrandr -q
  Screen 0: minimum 320 x 200, current 2304 x 800, maximum 8192 x 8192
  LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 290mm x 180mm
     1280x800       60.0*+
     1024x768       60.0  
     800x600        60.3     56.2  
     640x480        59.9  
  VGA1 connected 1024x768+1280+0 (normal left inverted right x axis y axis) 0mm x 0mm
     1024x768       60.0* 
     800x600        60.3     56.2  
     848x480        60.0  
     640x480        59.9  
  DP1 disconnected (normal left inverted right x axis y axis)

  
  Running openlp with debug log, I can see the screen are correctly detected:

  2011-05-13 23:42:21,493 openlp.core.ui.screen                                   INFO     Screen 0 found with resolution PyQt4.QtCore.QRect(1280, 0, 1024, 768)
  2011-05-13 23:42:21,493 openlp.core.ui.screen                                   INFO     Screen 1 found with resolution PyQt4.QtCore.QRect(0, 0, 1280, 800)

  But when showing a music, it seems to use the wrong resolution:

  2011-05-13 23:49:51,579 openlp.core.ui.thememanager                             DEBUG    getthemedata for theme ipjsp
  2011-05-13 23:49:51,585 openlp.core.lib.renderer                                DEBUG    calculate default PyQt4.QtCore.QRect(0, 0, 1280, 800)
  2011-05-13 23:49:51,585 openlp.core.lib.renderer                                DEBUG    calculate default 1280, 800, 0.625000
  2011-05-13 23:49:51,585 openlp.core.lib.renderer                                DEBUG    _build_text_rectangle
  2011-05-13 23:49:51,585 openlp.core.lib.renderer                                DEBUG    set_text_rectangle PyQt4.QtCore.QRect(40, 10, 939, 689) , PyQt4.QtCore.QRect(900, 730, 1003, 37)


References