← Back to team overview

openlp-core team mailing list archive

[Bug 967061] Re: PowerPoint steals focus in single screen mode

 

Attempting to overlay a transparent window is probably going to cause
additional grief since both Impress and OpenLP will be fighting over
being the top most app, and it won't solve the problem if the user
somehow switches back to Impress.

This is one where additional checks are required in the code to see if
Impress is still there or not.

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

Title:
  PowerPoint steals focus in single screen mode

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  http://www.support.openlp.org/issues/500

  User displayed a presentation using Impress in single screen mode, and
  got to the end. Impress displayed "press any key to exit" so they
  presed Esc the following traceback occured when they tried to launch
  annother presentation:

  Traceback (most recent call last):
  File 
  "/usr/lib/pymodules/python2.6/openlp/plugins/presentations/lib/messagelistener.py", 
  line 379, in unblank
  self.live_handler.unblank()
  File 
  "/usr/lib/pymodules/python2.6/openlp/plugins/presentations/lib/messagelistener.py", 
  line 226, in unblank
  self.doc.unblank_screen()
  File 
  "/usr/lib/pymodules/python2.6/openlp/plugins/presentations/lib/impresscontroller.py", 
  line 374, in unblank_screen
  return self.control.resume()
  AttributeError: 'NoneType' object has no attribute 'resume'

  It appears that Impress is stealing the focus from OpenLP, and is
  recieving the key press events. At the end, impress closes the
  presentation, and OpenLP is none the wiser.

  One fix could be to make the main display transparent, and display the
  presentation underneath. This way OpenLP should still recieve the key
  events even in single screen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/967061/+subscriptions


References