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. Return back from fullscreen on Mac
QtWS25 Last Chance

Return back from fullscreen on Mac

Scheduled Pinned Locked Moved Unsolved General and Desktop
mac os xfullscreen
3 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.
  • U Offline
    U Offline
    Unick
    wrote on 31 May 2016, 19:07 last edited by Unick 6 Jan 2016, 08:14
    #1

    Hello.

    Today i faced with one problem with Qt 5.5 on Mac. If i calls showNormal right after showFullScreen, it does not work correct. I stay on separate desktop and it is gray. Looks like widget is stay full screen. Here is my test code:

    int main(int argv, char **args)
    {
    QApplication app(argv, args);
    QWidget window;
    window.show();
    window.showFullScreen();
    window.showNormal();
    
    return app.exec();
    }
    

    Is it bug in Qt or i do something wrong?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 1 Jun 2016, 05:09 last edited by
      #2

      Why should the widget be closed?
      You do not close it.
      After

      window.showNormal();
      

      is it still in full-screen mode or just maximized?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      U 1 Reply Last reply 1 Jun 2016, 08:13
      0
      • J jsulm
        1 Jun 2016, 05:09

        Why should the widget be closed?
        You do not close it.
        After

        window.showNormal();
        

        is it still in full-screen mode or just maximized?

        U Offline
        U Offline
        Unick
        wrote on 1 Jun 2016, 08:13 last edited by
        #3

        @jsulm Sorry, i was i little wrong. Widget is full screen after showNormal(). I have the same problem if i call hide instead of showNormal.

        1 Reply Last reply
        0

        3/3

        1 Jun 2016, 08:13

        • Login

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