Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Ubuntu splash screen not being drawn

Ubuntu splash screen not being drawn

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.6k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    edreamleo
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • E Offline
        E Offline
        edreamleo
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved