← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~j-corwin/openlp/bug-774802 into lp:openlp

 

Jonathan Corwin has proposed merging lp:~j-corwin/openlp/bug-774802 into lp:openlp.

Requested reviews:
  OpenLP Core (openlp-core)
Related bugs:
  Bug #774802 in OpenLP: "presentation screen is shown with top panel in Ubuntu 11.04 using Unity (nVidia driver))"
  https://bugs.launchpad.net/openlp/+bug/774802

For more details, see:
https://code.launchpad.net/~j-corwin/openlp/bug-774802/+merge/65102

Partial fix for the Unity top panel showing problem. However this doesn't fully fix it, since it appears the only way for a window to cover that bar is for it to have focus. This isn't possible in OpenLP, since the controlling window will have focus.
-- 
https://code.launchpad.net/~j-corwin/openlp/bug-774802/+merge/65102
Your team OpenLP Core is requested to review the proposed merge of lp:~j-corwin/openlp/bug-774802 into lp:openlp.
=== modified file 'openlp/core/ui/maindisplay.py'
--- openlp/core/ui/maindisplay.py	2011-06-12 16:02:52 +0000
+++ openlp/core/ui/maindisplay.py	2011-06-18 19:24:33 +0000
@@ -62,7 +62,8 @@
         self.firstTime = True
         self.setStyleSheet(u'border: 0px; margin: 0px; padding: 0px;')
         self.setWindowFlags(QtCore.Qt.FramelessWindowHint | QtCore.Qt.Tool |
-            QtCore.Qt.WindowStaysOnTopHint)
+            QtCore.Qt.WindowStaysOnTopHint |
+            QtCore.Qt.X11BypassWindowManagerHint)
         self.setAttribute(QtCore.Qt.WA_DeleteOnClose)
         if self.isLive:
             QtCore.QObject.connect(Receiver.get_receiver(),


Follow ups