Project

General

Profile

Actions

Feature #3989

closed
PD WD

WGLWidget setClientSideLookAtHandler feature request

Feature #3989: WGLWidget setClientSideLookAtHandler feature request

Added by Prasad Dixit over 11 years ago. Updated almost 11 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!

WD Updated by Wim Dumon over 11 years ago Actions #1

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.

WD Updated by Wim Dumon over 11 years ago Actions #2

  • Status changed from New to Resolved

PD Updated by Prasad Dixit over 11 years ago Actions #3

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.

WD Updated by Wim Dumon over 11 years ago Actions #4

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.

PD Updated by Prasad Dixit over 11 years ago Actions #5

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?

WD Updated by Wim Dumon over 11 years ago Actions #6

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

Wim.

PD Updated by Prasad Dixit over 11 years ago Actions #7

Cool. 4 updates/year works for me.

KD Updated by Koen Deforche almost 11 years ago Actions #8

  • Status changed from Resolved to Closed

KD Updated by Koen Deforche almost 11 years ago Actions #9

  • Target version set to 3.3.5
Actions

Also available in: PDF Atom