Hi Guys,
Panning Gestures in UltraGrid using Windows 8 and touch screen are not working, with latest Windows patches loaded.
As a sample to ensure it wasn't a problem with my Windows Form application I setup a UltraGrid, set a data source, filled it with dummy data, both horizontal and vertical scroll bars appear, gestures are enabled and touch control is added to the form but the grid does not pan when using panning gestures.
This is in WinForms 13.1
I was pretty sure this was working. It may be a Automatic Windows Update has caused an issue with the way UltraGrid does it?
Anyway, it doesn't work anymore.
The strange thing is you can't even "DRAG" the scroll bars. The only way to get the grid to scroll is actually click in the scroll bar to either side of the thumb. Touching and dragging the thumb doesn't work, doesn't move.
Works fine with a mouse though.
Any ideas?
Hi,
I don't think that's actually a touch gesture. The double-tap and drag is the way touchpads handle a drag and drop operation. That's the same thing you described with the scrollbar thumb earlier. That's nothing to do with the control itself, it's just the way normal drag and drop is handled by windows.
You should not have to do that in order to pan or swipe. Of course, it's possible that the drivers have options to allow you to change this behavior, but if that were the case, I expect it would affect all applications, not just the grid.
You don't have to do that for any other application, do you?
It also seems unlikely that the issue would be device-specific, although I guess it's possible.
On the Toshiba Kira I've managed, using the test program, to identify the random behaviour.
If you double tap the scroll bar thumb and move up and down the pan down (finger down the screen) gesture works afterwards.
However the pan up doesn't. The pan up gesture works if you pan down, but don't take your finger off the screen and pan up (move finger towards top of screen.
Note still sometimes you can't pan at all. This above behaviour is replicable most of the time however, but it's iffy.
Hope this additional information may help in finding a resolution.
I've tested on a Surface Pro, and a Toshiba Kira http://www.mytoshiba.com.au/kira both exhibit the same behaviour.
Panning gestures do not work. Sometimes, intermittently, it grabs and then behaves erratically, less than 1 in 10 swipes.
All other programs on the system pan correctly, including Metro, and desktop apps like Internet Explorer.
Note both these devices have all the latest "Windows 8 Updates" loaded as of 14/08/2013.
The Surface Pro is straight out of the box, then windows updates. Nothing else on it. The Toshiba is straight out of the box, nothing else but Office on it, and the standard programs that come with the Toshiba and Norton's uninstalled.
It seems like the grid doesn't recognise the Pan Gestures, doesn't see them for some reason. If you double tap and grab the scroll bar that works, but you have to double tap to grab the thumb. You can single tap in a blank area of the scroll bar and that will also pan the grid, so it is responsive to some degree.
I don't have any other touch environments other than the Surface Pro and the Toshiba Kira. The deployment needs to happen on the Surface Pro for the client, so that is our main priority to get working. If it is an environment setting on the Surface Pro we still need to work what it is and how it can affect the WinGrid in this fashion.
Thanks for the sample. Right now I made a tests using your sample and Lenovo X1 Carbon, but everything seems to works properly. Could you please try the same sample with different environment and let me know what is the result.
If you have any questions, feel free to write us
Hi Mike,
I've made a test application you can download from here (includes Visual 2012 source) it's very basic.
Maybe you can have a look at it and see what is wrong.
I've tested this on the Toshiba Kira and the Pan gesture doesn't work using the touch screen. Sometimes, intermittently it does seem to respond but somewhat erratically then it stops, and doesn't matter how many times you pan up and down it doesn't move. Then by what seems like chance, it does sometimes grab.
Two finger touchpad scrolling works (using the touchpad on the notebook) as expected.
Panning works fine in Internet Explorer etc.
Test application is available for download here http://sdrv.ms/143mSC7