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. Another bug after update?
Forum Updated to NodeBB v4.3 + New Features

Another bug after update?

Scheduled Pinned Locked Moved Unsolved General and Desktop
22 Posts 3 Posters 2.8k 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.
  • SPlattenS SPlatten

    I believe this is due to a recent update. I'm now finding that a vertical slider moves the opposite way to the mouse, so when I click on the slider handle and move the mouse, the slider moves in the opposite direction to the mouse.

    I haven't changed this code and I know it worked before the last Qt update, has anyone else seen this?

    I'm using:

    Qt Creator 4.13.2
    Based on Qt 5.15.1 (Clang 11.0 (Apple), 64 bit)
    Built on Oct 1 2020 01:16:45
    From revision 2ee1af2032
    
    JonBJ Offline
    JonBJ Offline
    JonB
    wrote on last edited by
    #2

    @SPlatten said in Another bug after update?:

    Qt Creator 4.13.2
    Based on Qt 5.15.1 (Clang 11.0 (Apple), 64 bit)

    I don't know the answer, but this is the wrong information to quote. This tells us what version of Qt Creator you are using with what version of Qt that was built with. It says nothing about what version of Qt you have installed for your code/application to run against....

    SPlattenS 1 Reply Last reply
    1
    • JonBJ JonB

      @SPlatten said in Another bug after update?:

      Qt Creator 4.13.2
      Based on Qt 5.15.1 (Clang 11.0 (Apple), 64 bit)

      I don't know the answer, but this is the wrong information to quote. This tells us what version of Qt Creator you are using with what version of Qt that was built with. It says nothing about what version of Qt you have installed for your code/application to run against....

      SPlattenS Offline
      SPlattenS Offline
      SPlatten
      wrote on last edited by SPlatten
      #3

      @JonB, I am using Qt 5.15.1 with my code.
      ![alt text](Screenshot 2020-11-15 at 13.45.22.png image url)

      Kind Regards,
      Sy

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

        Hi
        And this also happens with a clean GUI project with one Slider and nothing else?

        Just so I understand. I grab the slider and pull down the "handle" and it will now move up ?

        SPlattenS 1 Reply Last reply
        0
        • mrjjM mrjj

          Hi
          And this also happens with a clean GUI project with one Slider and nothing else?

          Just so I understand. I grab the slider and pull down the "handle" and it will now move up ?

          SPlattenS Offline
          SPlattenS Offline
          SPlatten
          wrote on last edited by SPlatten
          #5

          @mrjj Yes, I erased the contents of the build folder including the hidden files then built from scratch, and yes, as soon as I grab the handle it moves in the opposite direction to the mouse and the handle itself disappears when I let go of the mouse.

          Kind Regards,
          Sy

          mrjjM 1 Reply Last reply
          0
          • SPlattenS SPlatten

            @mrjj Yes, I erased the contents of the build folder including the hidden files then built from scratch, and yes, as soon as I grab the handle it moves in the opposite direction to the mouse and the handle itself disappears when I let go of the mouse.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #6

            @SPlatten

            That was also a good move so there cant be any left overs from last time.

            But I was more wondering if you can reproduce this in a default GUI project where you just added a slider ?

            That way we know if its really is a plain Qt update issue Or its in interacting with the (yours) existing code.

            SPlattenS 1 Reply Last reply
            0
            • mrjjM mrjj

              @SPlatten

              That was also a good move so there cant be any left overs from last time.

              But I was more wondering if you can reproduce this in a default GUI project where you just added a slider ?

              That way we know if its really is a plain Qt update issue Or its in interacting with the (yours) existing code.

              SPlattenS Offline
              SPlattenS Offline
              SPlatten
              wrote on last edited by SPlatten
              #7

              @mrjj , I'll knock up a quick app now to test. Just did this:

              File, New File or Project ...
              Selected Application (Qt)
              Added vertical slider to display
              Rebuilt and run

              It does exactly the same, grab the handle, move the mouse down and the slider goes up...move the mouse up and the slider goes down.

              Kind Regards,
              Sy

              mrjjM 1 Reply Last reply
              1
              • SPlattenS SPlatten

                @mrjj , I'll knock up a quick app now to test. Just did this:

                File, New File or Project ...
                Selected Application (Qt)
                Added vertical slider to display
                Rebuilt and run

                It does exactly the same, grab the handle, move the mouse down and the slider goes up...move the mouse up and the slider goes down.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @SPlatten
                Ok. Good that shows it really is Qt.

                Did you see this on other platforms than macOS ?

                SPlattenS 1 Reply Last reply
                0
                • mrjjM mrjj

                  @SPlatten
                  Ok. Good that shows it really is Qt.

                  Did you see this on other platforms than macOS ?

                  SPlattenS Offline
                  SPlattenS Offline
                  SPlatten
                  wrote on last edited by
                  #9

                  @mrjj Sorry, haven't tried it on another platform.

                  Kind Regards,
                  Sy

                  mrjjM 1 Reply Last reply
                  0
                  • SPlattenS SPlatten

                    @mrjj Sorry, haven't tried it on another platform.

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    @SPlatten
                    Ok :)
                    I tried with 5.15.0 on Window but it still does the right/normal way.
                    Trying to update to 5.15.1 and see.
                    But i have a feeling it might be a macOS thing.

                    SPlattenS 1 Reply Last reply
                    0
                    • mrjjM mrjj

                      @SPlatten
                      Ok :)
                      I tried with 5.15.0 on Window but it still does the right/normal way.
                      Trying to update to 5.15.1 and see.
                      But i have a feeling it might be a macOS thing.

                      SPlattenS Offline
                      SPlattenS Offline
                      SPlatten
                      wrote on last edited by
                      #11

                      @mrjj , very strange, it was perfectly ok before the last update, which at the same time there was an Xcode update, could it be that?

                      Xcode
                      Version 12.2 (12B45b)
                      

                      Kind Regards,
                      Sy

                      mrjjM 1 Reply Last reply
                      0
                      • SPlattenS SPlatten

                        @mrjj , very strange, it was perfectly ok before the last update, which at the same time there was an Xcode update, could it be that?

                        Xcode
                        Version 12.2 (12B45b)
                        
                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by
                        #12

                        @SPlatten
                        Hi
                        Yes in theory it could be that
                        https://doc.qt.io/qt-5/supported-platforms.html
                        alt text

                        but did you use 12.1 before ?

                        1 Reply Last reply
                        0
                        • SPlattenS Offline
                          SPlattenS Offline
                          SPlatten
                          wrote on last edited by
                          #13

                          Yes and it was all ok...there were a lot of updates at the same time, also Apple rolled out macOS Big Sur, which is buggy too...very unlike Apple this kind of thing didn't happened when Mr Jobs was around.

                          Kind Regards,
                          Sy

                          mrjjM 1 Reply Last reply
                          0
                          • SPlattenS SPlatten

                            Yes and it was all ok...there were a lot of updates at the same time, also Apple rolled out macOS Big Sur, which is buggy too...very unlike Apple this kind of thing didn't happened when Mr Jobs was around.

                            mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by
                            #14

                            Hi
                            Oh wait. So you also upgraded the Os ?

                            SPlattenS 1 Reply Last reply
                            0
                            • mrjjM mrjj

                              Hi
                              Oh wait. So you also upgraded the Os ?

                              SPlattenS Offline
                              SPlattenS Offline
                              SPlatten
                              wrote on last edited by
                              #15

                              @mrjj , yes, like I said there were several updates at the same time, to recap:

                              macOS Big Sur, Version 11.0.1
                              
                              Qt Creator 4.13.2
                              Using Q 5.15.1 on my project
                              
                              Xcode Version 12.2
                              

                              Kind Regards,
                              Sy

                              mrjjM 1 Reply Last reply
                              0
                              • SPlattenS SPlatten

                                @mrjj , yes, like I said there were several updates at the same time, to recap:

                                macOS Big Sur, Version 11.0.1
                                
                                Qt Creator 4.13.2
                                Using Q 5.15.1 on my project
                                
                                Xcode Version 12.2
                                
                                mrjjM Offline
                                mrjjM Offline
                                mrjj
                                Lifetime Qt Champion
                                wrote on last edited by
                                #16

                                @SPlatten
                                That could be the real reason as - as far as I know, Qt is not completely ready to run on that new version.
                                https://bugreports.qt.io/browse/QTBUG-85546

                                SPlattenS 1 Reply Last reply
                                0
                                • mrjjM mrjj

                                  @SPlatten
                                  That could be the real reason as - as far as I know, Qt is not completely ready to run on that new version.
                                  https://bugreports.qt.io/browse/QTBUG-85546

                                  SPlattenS Offline
                                  SPlattenS Offline
                                  SPlatten
                                  wrote on last edited by
                                  #17

                                  @mrjj , thank you, valuable lesson learnt the hard way, don't upgrade!

                                  Kind Regards,
                                  Sy

                                  mrjjM 1 Reply Last reply
                                  0
                                  • SPlattenS SPlatten

                                    @mrjj , thank you, valuable lesson learnt the hard way, don't upgrade!

                                    mrjjM Offline
                                    mrjjM Offline
                                    mrjj
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #18

                                    @SPlatten
                                    It's the main reason I use mostly virtual machines for development.
                                    You can keep all of it set up correctly and there won't by any drive-by updating.
                                    Windows 10 is the master of disaster updates.

                                    SPlattenS 1 Reply Last reply
                                    1
                                    • mrjjM mrjj

                                      @SPlatten
                                      It's the main reason I use mostly virtual machines for development.
                                      You can keep all of it set up correctly and there won't by any drive-by updating.
                                      Windows 10 is the master of disaster updates.

                                      SPlattenS Offline
                                      SPlattenS Offline
                                      SPlatten
                                      wrote on last edited by
                                      #19

                                      @mrjj Thats sound advice, I have Oracle VirtualBox, perhaps I should start using it.

                                      Kind Regards,
                                      Sy

                                      mrjjM 1 Reply Last reply
                                      0
                                      • SPlattenS SPlatten

                                        @mrjj Thats sound advice, I have Oracle VirtualBox, perhaps I should start using it.

                                        mrjjM Offline
                                        mrjjM Offline
                                        mrjj
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #20

                                        @SPlatten
                                        That would work but for the perfect experience on macOS, i would look into
                                        https://www.parallels.com/eu/
                                        Im not a macOs user but I understand that from others that its way better than virtualbox. (on MacOs)
                                        I do use virtual box on Window and likes it.

                                        SPlattenS 1 Reply Last reply
                                        0
                                        • mrjjM mrjj

                                          @SPlatten
                                          That would work but for the perfect experience on macOS, i would look into
                                          https://www.parallels.com/eu/
                                          Im not a macOs user but I understand that from others that its way better than virtualbox. (on MacOs)
                                          I do use virtual box on Window and likes it.

                                          SPlattenS Offline
                                          SPlattenS Offline
                                          SPlatten
                                          wrote on last edited by
                                          #21

                                          @mrjj VirtualBox is free :)

                                          Kind Regards,
                                          Sy

                                          mrjjM 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