|
Rank: Newbie Groups: Member
Joined: 10/31/2017 Posts: 4
|
I recently upgraded to EO 2017 web browser control from EO 2015. New webview control with caching and other enhancements seems relatively faster, however I seem to have lost features/functionalities i.e. touch events and touch scroll.
There seems to have some kind of backward compatibility issue with old OS. All the touch functions work quite well with windows 10 and EO 2017 whilst the functionality is not usable on Win 7/embedded.
I have also tried to set extra command line arguments without any luck.
Please suggest
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
What command line arguments have you tried? Have you tried "--touch-events=disabled"?
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 10/31/2017 Posts: 4
|
Yes, I have tried the following options :
EO.WebEngine.Engine.Default.Options.ExtraCommandLineArgs = "--touch-events=enabled";
This enables touch on my windows 10 but not on win7 embedded device.
EO.WebEngine.Engine.Default.Options.ExtraCommandLineArgs = "--touch-events=disabled";
This disables touch events on windows 10. Nothing happens on Win7 embedded
When using TabbedBrowser app, I see following differences in the debug browser : on Windows 10, userAgent = "Mozilla/5.0(Windows NT 10.0; WOW64) AppleWebKit /537.36(KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
On Win7 embedded, userAgent = "Mozilla/5.0(Windows NT 6.1) AppleWebKit /537.36(KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36
Does it use chromium browser under the hood ?
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
Yes. EO.WebBrowser is essentially a .NET wrapper for Chromium browser engine. The current version is based on Chromium V54.
From what we understood, Chromium's support for touch events on Windows 7 was a little bit different than Windows 8 and above. On Windows 7 touch events are first translated into mouse event and then are handled as such. This means it will respond simple touch events such as tap, but won't respond to complex multiple points touch gestures such as pinch zoom since there are no corresponding mouse events for such complex touch events.
While it is possible that older version supported it differently, it is not possible for us to rollback changes in the newer browser engine in order to support the old behavior (for example, older version supported Windows XP but this has been removed from newer version, thus it is not possible for us to continue supporting XP on the newer version).
Another possibility is that Chromium in fact does support touch fine on Windows 7 but the problem is in our code ---- you can try to verify this on your platform (we do not have Windows 7 embedded here) using the latest Google Chrome browser. If the latest Google Chrome browser works, then the problem might be either on our side, or Chromium has already addressed this issue in their latest version. In that case I would recommend you to wait for our next release that is based on the latest Chromium version. The new release will be based on Chromium V62 and should be out around year end. At that time you can see if if it works for you and we can then go from there.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 10/31/2017 Posts: 4
|
As suggested, I installed a latest Chrome browser and ran a small test for touch events. I can confirm that it works fine on latest chrome but not using EO Total 2017 browser suite. So, as you said there's something in this release which disturbed touch events on windows 7 standard. For some reasons, it only works on windows 10.
Is there any solution to this problem ?
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,221
|
Hi,
We are in the process of switching to the latest Chromium version and the new version will be out soon, so we won't be investigating this issue based on the old version. Once the new version is out, EO.WebBrowser and Google Chrome will be on the same version (roughly the same version since both are fast moving projects). If you still have problem with the new version, let us know and we will investigate further.
Thanks!
|
|