← Back to team overview

openlp-core team mailing list archive

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

 

** Changed in: openlp
       Status: In Progress => Fix Committed

-- 
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:
  Impress steals focus in single screen mode

Status in OpenLP - Worship Presentation Software:
  Fix Committed

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