Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 15 of 15 total
Thread ComboBox on HTC One M8
Mon, Jul 20 2015 4:07 PMPermanent Link

Emin

Correction:

in webui.wbs with chrome touch end event fires at some time in the end but after move ect. events.
function TEventManager.TouchEndHandler can never call FControllerElement.TriggerEvent(cdClick,FTargetElement);
with firefox as user click the listbox or grid etc. touch end event fires directly.
Mon, Jul 20 2015 5:37 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Emin,

<< I don't mean that this is an EWB bug, it is a browser problem but we need
a workaround. >>

Sometimes there aren't workarounds, or they, unfortunately, are not worth
the effort because you're fighting a browser bug that will disappear as
devices are updated.  It's a similar situation to a bug in Windows - there
*isn't* any workaround in some cases because we're talking about a bug in a
fundamental layer.

<< We are planning to deploy Google Nexus with Chrome Android Lollipop 5.1.1
to our users and I don't want to install FireFox just to overcome this
issue. >>

FF is dog-slow on mobile, so I wouldn't recommend it, anyways. Smile

Please see my other reply for technical details re: this.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Jul 20 2015 5:47 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Emin,

<< in webui.wbs with chrome touch end event fires at some time in the end
but after move ect. events.
function TEventManager.TouchEndHandler can never call
FControllerElement.TriggerEvent(cdClick,FTargetElement);
with firefox as user click the listbox or grid etc. touch end event fires
directly. >>

As it currently stands, EWB is preventing the default action for touch-start
events only.  You may want to try this to see if it fixes things for you:

WebCtrls unit:

function TControl.DoTouchMove(ShiftKey, CtrlKey, AltKey: Boolean; X,Y:
Integer): Boolean;
begin
  {$IFNDEF DESIGN}
  if Assigned(FOnTouchMove) then
     FOnTouchMove(Self,ShiftKey,CtrlKey,AltKey,X,Y);
  {$ENDIF}
//   Result:=True;
   Result:=False;   <<<<<<<<<<<<<<<<<<< Add this !!!!1
end;

It will break EWB's touch-scrolling, but it's just for testing purposes.
Let me know if it fixes the problem, and I'll try to roll in a fix for the
next update.

Tim Young
Elevate Software
www.elevatesoft.com
Mon, Jul 20 2015 6:42 PMPermanent Link

Emin

Thanks. it fixed the problem.
Emin
Wed, Jul 22 2015 6:12 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Emin,

<< Thanks. it fixed the problem. >>

Okay, I'll test things here and, if everything checks out, I'll include the fix in the next 2.01 minor release.

Tim Young
Elevate Software
www.elevatesoft.com
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image