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. Unable to resize QMainWindow in Xfce Xbuntu
Forum Updated to NodeBB v4.3 + New Features

Unable to resize QMainWindow in Xfce Xbuntu

Scheduled Pinned Locked Moved Solved General and Desktop
12 Posts 3 Posters 2.9k Views 1 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.
  • A Abhi_oct30

    I have a QTMainWindow and the resize property by dragging mouse at edges works absolutely fine in Windows, Linux and ubuntu.
    But when the same action is carried in Xbuntu Xfce it moves the window instead of resizing.

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

    @Abhi_oct30 I don't think this is related to Qt - Qt does not handle window moving. This is XFCE. You most probably didn't position the mouse cursor over the edge of the window. I used XFCE and with some of its themes it is hard to position the cursor exactly because this edges are very thin.

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

    1 Reply Last reply
    1
    • A Offline
      A Offline
      Abhi_oct30
      wrote on last edited by
      #3

      Hi Jsulum,

      The mouse pointer is 0_1507794748003_1eb62ef3-0d49-4282-ad63-4820da2b3d2a-image.png when i point to right bottom corner but when I click and move the mouse the icon changes to 0_1507794924046_90b11cd2-2d5d-4fdb-bc79-623841a93d0f-image.png . That too at the bottom

      jsulmJ 1 Reply Last reply
      0
      • A Abhi_oct30

        Hi Jsulum,

        The mouse pointer is 0_1507794748003_1eb62ef3-0d49-4282-ad63-4820da2b3d2a-image.png when i point to right bottom corner but when I click and move the mouse the icon changes to 0_1507794924046_90b11cd2-2d5d-4fdb-bc79-623841a93d0f-image.png . That too at the bottom

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

        @Abhi_oct30 Is it same with other applications? With Qt and non Qt applications?

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

        A 1 Reply Last reply
        1
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #5

          Also as a note,
          im using Mint + XFCE as main linux dev desktop and resize works fine.

          1 Reply Last reply
          0
          • jsulmJ jsulm

            @Abhi_oct30 Is it same with other applications? With Qt and non Qt applications?

            A Offline
            A Offline
            Abhi_oct30
            wrote on last edited by
            #6

            @jsulm it is observed only with Qt applications

            jsulmJ 1 Reply Last reply
            0
            • A Abhi_oct30

              @jsulm it is observed only with Qt applications

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

              @Abhi_oct30 With your own Qt applications or with all?

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

              A 1 Reply Last reply
              0
              • jsulmJ jsulm

                @Abhi_oct30 With your own Qt applications or with all?

                A Offline
                A Offline
                Abhi_oct30
                wrote on last edited by
                #8

                @jsulm my own QT application.....But the same application works properly in CentOs and Ubuntu..Only problem is with Xfce Xubuntu

                jsulmJ 1 Reply Last reply
                0
                • A Abhi_oct30

                  @jsulm my own QT application.....But the same application works properly in CentOs and Ubuntu..Only problem is with Xfce Xubuntu

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

                  @Abhi_oct30 So, Qt applications coming with your Linux distribution work properly?
                  Do you do anything special in your app regarding resizing? Does it have a fix size?

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

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    Abhi_oct30
                    wrote on last edited by
                    #10

                    No nothing specific to resize is being done.

                    jsulmJ 1 Reply Last reply
                    0
                    • A Abhi_oct30

                      No nothing specific to resize is being done.

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

                      @Abhi_oct30 Qt applications coming with your Linux distribution work properly?

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

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        Abhi_oct30
                        wrote on last edited by
                        #12

                        I found the fix. The issue is with the Xbuntu Xfce which i am using . The latest revision of Xubuntu is not having this issue.
                        What happens is at one place in my code the maximum and minimum window size is set as same which is changed later.

                        But this version of Xfce locks the resize flag for the first time and is not unlocked later.

                        The issue was fixed simply by setting different values in minimum and maximum window size

                        Reported issue:https://bugzilla.xfce.org/show_bug.cgi?id=12176

                        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