Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Disabling minimize control button on Linux (Lubuntu 18.04)

Disabling minimize control button on Linux (Lubuntu 18.04)

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 514 Views 2 Watching
  • 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.
  • GoodGuyG Offline
    GoodGuyG Offline
    GoodGuy
    wrote on last edited by
    #1

    Hello there,
    I am using Qt 5.12.3 and i'm try to disable a minimize window control in my application. The application can have 2 window instances. The problem is a diffrent behavior for this same flag settings on Windows and on Linux Lubuntu 18.04.

    I'm setting flag in this way :
    flags: Qt.Window | Qt.WindowTitleHint | Qt.WindowMaximizeButtonHint | Qt.WindowCloseButtonHint;

    For Windows it's working properly, the minimize control is grayout and disabled.
    For Linux this settings haven't any impact on this button, it's still working and have got normal color.

    I was also try to set flag to Qt.Dialog or Qt.SubWindow to check if there will be any impact but nothing was change ( There should be left only close button)

    Is there any reason of this behavior? How it's any other way to disable window controls on linux?

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

      Hi,

      What window manager are you using ?
      Are you experiencing the same with another one ?

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

      GoodGuyG 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        What window manager are you using ?
        Are you experiencing the same with another one ?

        GoodGuyG Offline
        GoodGuyG Offline
        GoodGuy
        wrote on last edited by
        #3

        @SGaist I've got LXDE window manager. To be honest i wasn't test it on another manager.

        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