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. Buttons do not react anymore on touch screen after qt upgrade

Buttons do not react anymore on touch screen after qt upgrade

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 4 Posters 453 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.
  • JoeCFDJ Online
    JoeCFDJ Online
    JoeCFD
    wrote on last edited by JoeCFD
    #1

    I have a few buttons on a tab widget and they worked fine when they were pressed by touch or mouse clicks. After a Qt upgrade to 5.9 from 5.5, non of them reacts anymore when pressed by touch and mouse click. Nothing is changed in the code. What is wrong?

    J.HilkJ 1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Can you share some code? Which operating system this happens on? Have you tried with newer Qt version? Is this some kind of embedded device / mobile? QtQuick or QtWidgets?

      (Z(:^

      JoeCFDJ 1 Reply Last reply
      2
      • JoeCFDJ JoeCFD

        I have a few buttons on a tab widget and they worked fine when they were pressed by touch or mouse clicks. After a Qt upgrade to 5.9 from 5.5, non of them reacts anymore when pressed by touch and mouse click. Nothing is changed in the code. What is wrong?

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @joecfd to add to @sierdzio , can you reproduce this on a minimal ui example or is it with your project only?


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        1
        • sierdzioS sierdzio

          Can you share some code? Which operating system this happens on? Have you tried with newer Qt version? Is this some kind of embedded device / mobile? QtQuick or QtWidgets?

          JoeCFDJ Online
          JoeCFDJ Online
          JoeCFD
          wrote on last edited by JoeCFD
          #4

          @sierdzio It is Ubuntu 18.04.3 LTS. The code is too big for share, sorry. Qt upgrade was made automatically by upgrade of Ubuntu to 18 from 16. Some kind of embedded device. QtWidgets are used. It is hard to debug this problem. Any help will be appreciated.

          Pablo J. RoginaP 1 Reply Last reply
          0
          • JoeCFDJ JoeCFD

            @sierdzio It is Ubuntu 18.04.3 LTS. The code is too big for share, sorry. Qt upgrade was made automatically by upgrade of Ubuntu to 18 from 16. Some kind of embedded device. QtWidgets are used. It is hard to debug this problem. Any help will be appreciated.

            Pablo J. RoginaP Offline
            Pablo J. RoginaP Offline
            Pablo J. Rogina
            wrote on last edited by Pablo J. Rogina
            #5

            @joecfd said in Buttons do not react anymore on touch screen after qt upgrade:

            Qt upgrade was made automatically by upgrade of Ubuntu to 18 from 16

            It looks like not only Qt was update, but the whole OS as well.

            1. Can you confirm?

            If so, it could be the chance you need to re-configure the touch display again (drivers, settings, etc.)

            1. Have you tested the touch screen with some other program/utility (not Qt-based) and confirm it's working fine after such OS update?

            Upvote the answer(s) that helped you solve the issue
            Use "Topic Tools" button to mark your post as Solved
            Add screenshots via postimage.org
            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

            JoeCFDJ 1 Reply Last reply
            0
            • Pablo J. RoginaP Pablo J. Rogina

              @joecfd said in Buttons do not react anymore on touch screen after qt upgrade:

              Qt upgrade was made automatically by upgrade of Ubuntu to 18 from 16

              It looks like not only Qt was update, but the whole OS as well.

              1. Can you confirm?

              If so, it could be the chance you need to re-configure the touch display again (drivers, settings, etc.)

              1. Have you tested the touch screen with some other program/utility (not Qt-based) and confirm it's working fine after such OS update?
              JoeCFDJ Online
              JoeCFDJ Online
              JoeCFD
              wrote on last edited by JoeCFD
              #6

              @pablo-j-rogina Very good point. True the whole OS is upgraded. I will check that out. Thanks a lot for your help.

              1 Reply Last reply
              0
              • JoeCFDJ Online
                JoeCFDJ Online
                JoeCFD
                wrote on last edited by JoeCFD
                #7

                Added a new driver from the manufacturer. No help. It seems a focus issue again since some buttons work and most do not.

                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