Project

General

Profile

Feature #3989

WGLWidget setClientSideLookAtHandler feature request

Added by Prasad Dixit over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/17/2015
Due date:
% Done:

0%

Estimated time:

Description

Please make WGLWidget's setClientSideLookAtHandler to work with touch events as well apart from mouse events.

Increasing number of website are designed 'responsive' considering ever increasing number of people using mobile devices. Current implementation of setClientSideLookAtHandler does not respond to touch event. It will be extremely helpful if it works with touch events as well.

Thanks!

#1

Updated by Wim Dumon over 7 years ago

Hello,

I believe this is available in 3.3.4?

However we just noticed a typo in the implementation. In src/js/WGLWidget.js, functions touchEnd and touchMoved, around line 277, replace 'mouseWheel' by 'mouseHandler'.

Best regards,

Wim.

#2

Updated by Wim Dumon over 7 years ago

  • Status changed from New to Resolved
#3

Updated by Prasad Dixit over 7 years ago

I was able to spot the lines that needs to be modified when I download the source code. However, I don't see any src/js folder when I use the binary build (Wt-3.3.4-msvs2013-Windows-x86-SDK.exe)

Will I need to build from the source code myself to get it to work? When I tested, touch events were not working in 3.3.4 binary builds.

#4

Updated by Wim Dumon over 7 years ago

That's correct, Wt needs to be recompiled to make the adjustments to the .js files. Also, Wt uses the .min.js files, a minified version of the .js file. You will either need to minify the .js file, or simply copy the unminified .js file to .min.js.

Wim.

#5

Updated by Prasad Dixit over 7 years ago

Okay Wim, thank you for the clarification.

Do you know if Wt will release any patch to 3.3.4 anytime soon (say within next couple of months) addressing known bugs?

#6

Updated by Wim Dumon over 7 years ago

Our target is to release about 4 Wt versions per year, there are no concrete plans yet for the next Wt release.

Wim.

#7

Updated by Prasad Dixit over 7 years ago

Cool. 4 updates/year works for me.

#8

Updated by Koen Deforche about 7 years ago

  • Status changed from Resolved to Closed
#9

Updated by Koen Deforche about 7 years ago

  • Target version set to 3.3.5

Also available in: Atom PDF