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. Problem with showMinimized() on Linux
Forum Updated to NodeBB v4.3 + New Features

Problem with showMinimized() on Linux

Scheduled Pinned Locked Moved Unsolved 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.
  • HrOokamiH Offline
    HrOokamiH Offline
    HrOokami
    wrote on last edited by
    #1

    Hi there! I have a problem with showMinimized(), while my window is maximized. In perfect, I expect that window will minimize from that state (maximized), and then it can be restored to maximized state back. But the result is: window sets in normal state, then minimizing. If I restore window, it will restore back to Normal state, intead of maximized.

    But, if I try to minimize window by using system hints (for example from the task bar) it works nomally!

    Used version: 5.7/5.8
    System: Ubuntu 16.04
    Window Manager: GDM3

    jsulmJ 1 Reply Last reply
    0
    • HrOokamiH HrOokami

      Hi there! I have a problem with showMinimized(), while my window is maximized. In perfect, I expect that window will minimize from that state (maximized), and then it can be restored to maximized state back. But the result is: window sets in normal state, then minimizing. If I restore window, it will restore back to Normal state, intead of maximized.

      But, if I try to minimize window by using system hints (for example from the task bar) it works nomally!

      Used version: 5.7/5.8
      System: Ubuntu 16.04
      Window Manager: GDM3

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @HrOokami How do you try to restore maximized state? Do you use http://doc.qt.io/qt-5/qwindow.html#showMaximized ?

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

      1 Reply Last reply
      0
      • HrOokamiH Offline
        HrOokamiH Offline
        HrOokami
        wrote on last edited by HrOokami
        #3

        @jsulm said in Problem with showMinimized() on Linux:

        Do you use http://doc.qt.io/qt-5/qwindow.html#showMaximized ?

        Of cource I am not. I click on task bar to restore window. So I don't call any function.
        The question is.. Why Qt trying to restore window in normal state from maximazied state before minimize it?

        But any way, to maximize window I call showMaximized, to minimize: showMinimized.

        1 Reply Last reply
        0
        • HrOokamiH Offline
          HrOokamiH Offline
          HrOokami
          wrote on last edited by HrOokami
          #4

          It seems, that it is a bug. I posted it here.

          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