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. User of Qt app needs Mouse cursor size help
Forum Updated to NodeBB v4.3 + New Features

User of Qt app needs Mouse cursor size help

Scheduled Pinned Locked Moved Unsolved General and Desktop
13 Posts 3 Posters 2.4k 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.
  • S SGaist
    11 Jun 2023, 19:18

    Hi and welcome to devnet,

    Are you sure you are using Xorg with Bookworm ?

    D Offline
    D Offline
    Dinosaur1946
    wrote on 11 Jun 2023, 20:03 last edited by
    #3

    @SGaist
    Thank you and for the reply.

    echo $XDG_SESSION_TYPE
    x11
    

    I had already disabled Wayland because of it's incompatibility with osd_cat

    Regards

    It's the end result that matters, not the tools used to get there.

    D 1 Reply Last reply 11 Jun 2023, 23:05
    0
    • D Dinosaur1946
      11 Jun 2023, 20:03

      @SGaist
      Thank you and for the reply.

      echo $XDG_SESSION_TYPE
      x11
      

      I had already disabled Wayland because of it's incompatibility with osd_cat

      Regards

      D Offline
      D Offline
      Dinosaur1946
      wrote on 11 Jun 2023, 23:05 last edited by
      #4

      Hi All

      Qt6 was not installed on my machine, as all the qt6 files and folders were in the application folder.
      So, I installed Qt6ct (and it's associated libraries) and tried setting the theme different.
      However it did not change the problem.
      qt6ct does report that QT_QPA_PLATFORMTHEME was not set, however printing the env shows it is set ??

      Regards

      It's the end result that matters, not the tools used to get there.

      D 1 Reply Last reply 12 Jun 2023, 07:46
      0
      • D Dinosaur1946
        11 Jun 2023, 23:05

        Hi All

        Qt6 was not installed on my machine, as all the qt6 files and folders were in the application folder.
        So, I installed Qt6ct (and it's associated libraries) and tried setting the theme different.
        However it did not change the problem.
        qt6ct does report that QT_QPA_PLATFORMTHEME was not set, however printing the env shows it is set ??

        Regards

        D Offline
        D Offline
        Dinosaur1946
        wrote on 12 Jun 2023, 07:46 last edited by
        #5

        In the hope that being able to change the theme in Qt6ct will allow a larger mouse pointer,
        I have put 'export QT_QPA_PLATFORMTHEME=qt6ct'
        in as many places as I could find.
        Debian manual says ~/.profile
        then also;
        /config/qt6ct/qt6ct.conf
        /etc/environment
        /etc/environment.d/90qt-a11y.conf

        It is in all of them and when printing env it shows the variable set.
        Running qt6ct still comes up with the error that the environment variable is not set.
        Have checked and double checked the spelling to no avail.
        So, Qt must not be reading the environment, because when I do it from within one of my applications, it shows.

        Regards

        It's the end result that matters, not the tools used to get there.

        S 1 Reply Last reply 12 Jun 2023, 20:34
        0
        • D Dinosaur1946
          12 Jun 2023, 07:46

          In the hope that being able to change the theme in Qt6ct will allow a larger mouse pointer,
          I have put 'export QT_QPA_PLATFORMTHEME=qt6ct'
          in as many places as I could find.
          Debian manual says ~/.profile
          then also;
          /config/qt6ct/qt6ct.conf
          /etc/environment
          /etc/environment.d/90qt-a11y.conf

          It is in all of them and when printing env it shows the variable set.
          Running qt6ct still comes up with the error that the environment variable is not set.
          Have checked and double checked the spelling to no avail.
          So, Qt must not be reading the environment, because when I do it from within one of my applications, it shows.

          Regards

          S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 12 Jun 2023, 20:34 last edited by
          #6

          Are you using a desktop environment ?

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

          D 1 Reply Last reply 13 Jun 2023, 02:51
          0
          • S SGaist
            12 Jun 2023, 20:34

            Are you using a desktop environment ?

            D Offline
            D Offline
            Dinosaur1946
            wrote on 13 Jun 2023, 02:51 last edited by
            #7

            @SGaist
            Yes,

            echo $XDG_CURRENT_DESKTOP
            x-cinnamon
            

            Regards

            It's the end result that matters, not the tools used to get there.

            S 1 Reply Last reply 14 Jun 2023, 17:03
            0
            • D Dinosaur1946
              13 Jun 2023, 02:51

              @SGaist
              Yes,

              echo $XDG_CURRENT_DESKTOP
              x-cinnamon
              

              Regards

              S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 14 Jun 2023, 17:03 last edited by
              #8

              Then I would check with them about that issue.

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

              D 1 Reply Last reply 15 Jun 2023, 09:10
              0
              • S SGaist
                14 Jun 2023, 17:03

                Then I would check with them about that issue.

                D Offline
                D Offline
                Dinosaur1946
                wrote on 15 Jun 2023, 09:10 last edited by
                #9

                @SGaist

                Regardless of your knowledge of Qt and my lack thereof, I have to disagree with that conclusion.

                I have the correct size mouse cursor in Cinnamon and when I open dozens of applications, they respect that cursor size.

                Now I open my one and only Qt application and as soon as I move the cursor over
                the Qt app screen, the cursor resizes. Move it back to the Cinnamon desktop and the correct size cursor re-appears.

                This indicates to me that Qt is dictating the cursor size.

                Regards

                It's the end result that matters, not the tools used to get there.

                S 1 Reply Last reply 15 Jun 2023, 11:33
                0
                • D Dinosaur1946
                  15 Jun 2023, 09:10

                  @SGaist

                  Regardless of your knowledge of Qt and my lack thereof, I have to disagree with that conclusion.

                  I have the correct size mouse cursor in Cinnamon and when I open dozens of applications, they respect that cursor size.

                  Now I open my one and only Qt application and as soon as I move the cursor over
                  the Qt app screen, the cursor resizes. Move it back to the Cinnamon desktop and the correct size cursor re-appears.

                  This indicates to me that Qt is dictating the cursor size.

                  Regards

                  S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 15 Jun 2023, 11:33 last edited by
                  #10

                  My bad, I misunderstood your issue when using Cinnamon.

                  Does your application do any changes to the cursor in code ? I would guess not since it did work before, however it does sound surprising that only your application is affected.

                  Do you have the same issue if you build a dummy application with Qt 6 ?
                  Does it also happen if you use the distribution provided Qt 6 packages ?

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

                  D 1 Reply Last reply 15 Jun 2023, 19:47
                  0
                  • S SGaist
                    15 Jun 2023, 11:33

                    My bad, I misunderstood your issue when using Cinnamon.

                    Does your application do any changes to the cursor in code ? I would guess not since it did work before, however it does sound surprising that only your application is affected.

                    Do you have the same issue if you build a dummy application with Qt 6 ?
                    Does it also happen if you use the distribution provided Qt 6 packages ?

                    D Offline
                    D Offline
                    Dinosaur1946
                    wrote on 15 Jun 2023, 19:47 last edited by Dinosaur1946
                    #11

                    @SGaist

                    I have not written or am I knowledgeable on Qt code, so I have not modified the cursor.
                    Te Qt application is supplied by a third party, also the installation is a very basic Debian install, so I would have to find another 3rd party Qt app to try.

                    EDIT: Featherpad (Qt based) has the same problem.

                    It's the end result that matters, not the tools used to get there.

                    D 1 Reply Last reply 19 Jun 2023, 02:13
                    0
                    • D Dinosaur1946
                      15 Jun 2023, 19:47

                      @SGaist

                      I have not written or am I knowledgeable on Qt code, so I have not modified the cursor.
                      Te Qt application is supplied by a third party, also the installation is a very basic Debian install, so I would have to find another 3rd party Qt app to try.

                      EDIT: Featherpad (Qt based) has the same problem.

                      D Offline
                      D Offline
                      Dinosaur1946
                      wrote on 19 Jun 2023, 02:13 last edited by
                      #12

                      Obviously nobody here either recognises it as a Qt or problem or can solve the problem.
                      Account cancelled.

                      It's the end result that matters, not the tools used to get there.

                      J 1 Reply Last reply 19 Jun 2023, 05:25
                      0
                      • D Dinosaur1946
                        19 Jun 2023, 02:13

                        Obviously nobody here either recognises it as a Qt or problem or can solve the problem.
                        Account cancelled.

                        J Offline
                        J Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 19 Jun 2023, 05:25 last edited by
                        #13

                        @Dinosaur1946 said in User of Qt app needs Mouse cursor size help:

                        Obviously nobody here either recognises it as a Qt or problem

                        This is user forum mainly driven by volunteers.
                        If you think this is a Qt bug then you should report it here: https://bugreports.qt.io/secure/Dashboard.jspa

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

                        1 Reply Last reply
                        0

                        12/13

                        19 Jun 2023, 02:13

                        • Login

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