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. Full Screen mode animation looks bad

Full Screen mode animation looks bad

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.0k 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.
  • K Offline
    K Offline
    kegon
    wrote on last edited by
    #1

    When I call showFullScreen() I get the following behaviour:

    1. the contents of the window are shown full screen,
    2. a window with border and decorations are drawn in the middle of the screen,
    3. the window zooms to full size
    4. the screen is replaced with the full screen view

    Is there any way I can hide the zooming window animation, or stop step 1 from happening. It looks ugly.

    I am using Mac.

    While we are discussing full screen mode; if I show a window full screen and then call close() I am left with a full screen gradient background with no controls to click. The only way to get out of it is to switch to another window, screen or call up Mission Control. Is there a way to "closeToNormal()" ?

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

      Hi,

      Which version of Qt and OS X are you using ?

      Close just closes the window, you have showNormal if you want to get out of full screen

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

      K 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Which version of Qt and OS X are you using ?

        Close just closes the window, you have showNormal if you want to get out of full screen

        K Offline
        K Offline
        kegon
        wrote on last edited by
        #3

        @SGaist

        This is Qt 5.4 and MacOS X 10.9.5.

        In my second question I want to close the window while in full screen, so it simply disappears. If I don't showNormal() then I am left in a pseudo desktop with no way to get out.

        Using showNormal() results in the window contents being displayed as pure white. The widget I am full screening is a QGraphicsView with a QGLWidget backing it. It doesn't look good because the content is not white.

        I assume that somewhere in MacOS it renders a version of the widget as a bitmap and then uses scaling to give a nice effect when transitioning to and from full screen mode. If I'm not doing something wrong, then Qt doesn't generate the bitmap or is not compatible for the bitmap generation.

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

          How are you calling close ? Because it's the last widget, you application should end and you should return to the desktop

          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