Bug Report T297768
Visible to All Users

Improve touch support for TrackBarControl

created 9 years ago

Hello

I am trying to build a Windows desktop application that also has the ability to be operated with fingers on a touch Screen. I am using DevExpress controls also for that reason. My Issue is to use a trackbar for setting some input values. I created a customized TrackBar as suggested by Q435107. That works on startup, but as soon as I touch the Gauge control (which is embedded in an xtraScrollableControl with AllowTouchScroll=true) the TrackBar does not follow the finger movements anymore as it did at startup of the application. I attached a sample application to demonstrate the problem.
Many thanks for your support.
Best regards
Daniel

Show previous comments (2)
DevExpress Support Team 9 years ago

    Hi Daniel,

    Resolving this issue requires changing how TrackBarControl processes touch events. We have a special helper class for this purpose, but the current TrackBarControl implementation uses standard mouse events. So, we need to re-write this logic. This will take some time. We will certainly update this ticket once we have any results.

    DK DK
    Daniel Kuttler 9 years ago

      Hi Gosha
      Thanks for your Statement. But please understand, that I need a solution for the Problem, since I use the control in a Project that has a delivery date. If you can't give me an idea when you will have solved the Problem, I will have to use plan b and implement a solution myself (that costs money), and you can imagine that I would not be very satisfied with that.

      DevExpress Support Team 9 years ago

        Hi Daniel,

        Changing the TrackBarControl implementation, which is required to resolve this issue, takes some time. But, we are making good progress. If all goes according to plan, this issue will be fixed in a couple of days.

        Answers approved by DevExpress Support

        created 9 years ago (modified 9 years ago)

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Comments (2)
          DK DK
          Daniel Kuttler 9 years ago

            Thank you for this hotfix, it solves the problem with not following finger movements. I can use that solution in my project now.
            However there is still room for improvement: When you touch at a certain point of the trackbar, the value is changes just after removing the finger again, therefore it is not possible to touch at any position and then drag the handle from there on. I believe this is because the Trackbar uses mouse events rather than Guesture events. Is there any chance that you will improve that as well? Tank you anyway for your quick help.

            DevExpress Support Team 9 years ago

              Hello Daniel,

              It's great to hear that the issue has been resolved. To process your recent post more efficiently, I created a separate ticket on your behalf: T303393: Set a TrackBar value when you press it with a finger. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

              Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

              Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.