Presenting with PowerPoint or Impress triggers traceback

Bug #1532938 reported by Tomas Groth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
High
Tomas Groth

Bug Description

Confirmed in 2.3.2, on both Linux and Windows.

The likely cause is the QT API has changed from 4 to 5.

Traceback (most recent call last):
  File "/home/tgc/projects/OpenLP/code/trunk/openlp/core/common/openlpmixin.py", line 58, in wrapped
    raise e
  File "/home/tgc/projects/OpenLP/code/trunk/openlp/core/common/openlpmixin.py", line 54, in wrapped
    return func(*args, **kwargs)
  File "/home/tgc/projects/OpenLP/code/trunk/openlp/core/ui/slidecontroller.py", line 1142, in grab_maindisplay
    win_image = QtGui.QScreen.grabWindow(win_id, rect.x(), rect.y(), rect.width(), rect.height())
TypeError: QScreen.grabWindow(sip.voidptr, int x=0, int y=0, int width=-1, int height=-1): first argument of unbound method must have type 'QScreen'

Related branches

Tomas Groth (tomasgroth)
Changed in openlp:
status: Confirmed → In Progress
assignee: nobody → Tomas Groth (tomasgroth)
Tim Bentley (trb143)
Changed in openlp:
milestone: none → 2.4.0
status: In Progress → Fix Committed
Tim Bentley (trb143)
Changed in openlp:
milestone: 2.4.0 → 2.3.3
Tim Bentley (trb143)
Changed in openlp:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.