Ubuntu splash screen not being drawn



  • Hello all,

    I am using pyQt 4.7.3 on Windows 7 and PyQt 4.8.4 on Ubuntu.

    The following code properly draws a splash screen on Windows::
    @splash = QtGui.QSplashScreen(pm,
    (qt.SplashScreen | qt.WindowStaysOnTopHint))
    splash.show()@

    but does not (usually) draw the splash screen on Ubuntu. What happens is that a blank area appears, but nothing else. After the call to splash.show() the app creates and draws the main window successfully. That is, a significant amount of time can pass while the splash screen is blank.

    The problem almost certainly is that the splash screen is not redrawn in time. Indeed, dropping into a debugger after splash.show() causes the splash screen to appear.

    Alas, adding one or both of the following does not help::
    @splash.repaint()
    self.qtApp.processEvents()
    # self qtApp is a QApplication object.@

    Does anyone have any ideas what to do? Thanks.

    Edward


  • Lifetime Qt Champion

    Hi,

    Could you try with the same PyQt version on both platform ? That would allow to verify if it is a global problem of the PyQt version or an Ubuntu specific bug



  • Could you try with the same PyQt version on both platform ? That would allow to verify if it is a global problem of the PyQt version or an Ubuntu specific bug.

    This behavior has been constant for several PyQt versions on Ubuntu. It seems clearly to be a Ubuntu specific bug.


  • Lifetime Qt Champion

    Then I would recommend contacting PyQt's developer to see if they are already aware of that problem


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.