Exiting liveview with Alt-F4 causes OpenLP to become unstable

Bug #1097898 reported by Arjan Schrijver
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
High
Tim Bentley
2.0
Won't Fix
High
Tim Bentley

Bug Description

When I exit the liveview (on single screen) with Alt-F4, OpenLP becomes unstable. I got a Segmentation Fault once, and now I got the crash dialog with the following stacktrace when I click 'Next slide':

Traceback (most recent call last):
  File "/home/arjan/prive/openlp/openlp/core/ui/slidecontroller.py", line 1036, in onSlideSelectedNextAction
    self.onSlideSelectedNext()
  File "/home/arjan/prive/openlp/openlp/core/ui/slidecontroller.py", line 1063, in onSlideSelectedNext
    self.slideSelected()
  File "/home/arjan/prive/openlp/openlp/core/ui/slidecontroller.py", line 986, in slideSelected
    self.display.text(to_display)
  File "/home/arjan/prive/openlp/openlp/core/ui/maindisplay.py", line 244, in text
    self.setGeometry(self.screen[u'size'])
RuntimeError: wrapped C/C++ object of %S has been deleted

Hardware: single screen laptop
Operating System: Gentoo Linux stable amd64
Version of OpenLP: current trunk

Steps to reproduce:
1. Add song to Service
2. Doubleclick the song in the service to activate liveview
3. Close liveview with Alt-F4
4. Click 'Next slide' in live panel, or try to show a new item on the liveview, or try to exit the program

Related branches

Revision history for this message
Arjan Schrijver (arjan-s) wrote :

Note: this also affects 2.0.1

Revision history for this message
Jonathan Corwin (j-corwin) wrote :

What does Alt-F4 do under Linux?

'Esc' should be the keystroke for closing the live view. If Alt-F4 is anything like Windows, it should close the whole app, not just blindly kill a single window.

Revision history for this message
Tim Bentley (trb143) wrote :

Alt-F4 is bound to Exit!

Tim Bentley (trb143)
Changed in openlp:
importance: Undecided → High
status: New → Fix Committed
assignee: nobody → Tim Bentley (trb143)
milestone: none → 2.0.2
Tim Bentley (trb143)
Changed in openlp:
milestone: 2.0.2 → 2.1.1
Revision history for this message
Tim Bentley (trb143) wrote :

Unable to reproduce in 2.0.2!

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.