~trb143/openlp/bug-1516171-24

« back to all changes in this revision

Viewing changes to openlp/core/ui/mainwindow.py

  • Committer: Raoul Snyman
  • Author(s): Tomas Groth
  • Date: 2015-06-14 18:38:44 UTC
  • mfrom: (2543.1.14 bugfixes21)
  • Revision ID: raoul@snyman.info-20150614183844-wxfg3itu1zu9toiu
Fix path of presentation thumbnail when loading from service files. Fixes bug 1463703.
Fix PDF reader using wrong maindisplay size.
Fix log-traceback when trying to remove servicemanager files before eg. powerpoint has closed the files.
Improve network exception handling.
Fix timer that checks for presentation slide change, remove powerpoint event handler that did the same.
Hide the main impress window when loading a presentation, but make it visible for a moment when starting presentation. Fixes bug 1420356.
Improve the detection of powerpoints presentation window by only looking at the filename root.
Fix traceback when going live with presentation while blanked to desktop.
Set service_item.name to "images" for pdfs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1106
1106
        self.image_manager.stop_manager = True
1107
1107
        while self.image_manager.image_thread.isRunning():
1108
1108
            time.sleep(0.1)
1109
 
        # Clean temporary files used by services
1110
 
        self.service_manager_contents.clean_up()
1111
1109
        if save_settings:
1112
1110
            if Settings().value('advanced/save current plugin'):
1113
1111
                Settings().setValue('advanced/current media plugin', self.media_tool_box.currentIndex())
1124
1122
        if self.live_controller.display:
1125
1123
            self.live_controller.display.close()
1126
1124
            self.live_controller.display = None
 
1125
        # Clean temporary files used by services
 
1126
        self.service_manager_contents.clean_up()
1127
1127
        if is_win():
1128
1128
            # Needed for Windows to stop crashes on exit
1129
1129
            Registry().remove('application')