Project

General

Profile

Actions

Feature #3989

closed

WGLWidget setClientSideLookAtHandler feature request

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

Actions #1

Updated by Wim Dumon over 9 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.

Actions #2

Updated by Wim Dumon over 9 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Prasad Dixit over 9 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.

Actions #4

Updated by Wim Dumon over 9 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.

Actions #5

Updated by Prasad Dixit over 9 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?

Actions #6

Updated by Wim Dumon over 9 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.

Actions #7

Updated by Prasad Dixit over 9 years ago

Cool. 4 updates/year works for me.

Actions #8

Updated by Koen Deforche about 9 years ago

  • Status changed from Resolved to Closed
Actions #9

Updated by Koen Deforche about 9 years ago

  • Target version set to 3.3.5
Actions

Also available in: Atom PDF