How to swipe between screens on a Windows 10 touchscreen ? Topic is solved

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
Masure
Posts: 35
Joined: Sunday 22 April 2018 11:23
Target OS: Windows
Domoticz version:
Contact:

How to swipe between screens on a Windows 10 touchscreen ?

Post by Masure »

Hi Dashticz community,

I'm giving a try at Dashticz and I love the simplicity and possibilities. I designed a 2 screens dashboard. When I'm testing it on my desktop, I "drag and drop" to switch between screens, fine.

I tested the same on my Teclast TBook T11 tablet running on Windows 10. No matter which web browser I use, Chrome, Firefox, Edge, swiping does not switch between screens.

I understand swiping on a touchscreen is simulating window scrolling and this could be the root cause why it does not swipe cause it requires a drag and drop.

I did not find anything at the OS level to change the touchscreen swipe behaviour.

Does anybody use a Windows 10 touchscreen and can provide some solution or workaround ?
Can dashticz react to "scroll event" to make the switch between screens possible ?

Regards
jaaap
Posts: 59
Joined: Sunday 28 July 2019 22:59
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to swipe between screens on a Windows 10 touchscreen ?

Post by jaaap »

I had the same problem and solved it by enlarging the navigation buttons on the bottom, so I can click them easily and they take me to the next screen :-)
Masure
Posts: 35
Joined: Sunday 22 April 2018 11:23
Target OS: Windows
Domoticz version:
Contact:

Re: How to swipe between screens on a Windows 10 touchscreen ?

Post by Masure »

I shouldn't have mentioned workaround as accepted in my request :D

Thanks for the suggestion though I'm looking for a working swipe
jaaap
Posts: 59
Joined: Sunday 28 July 2019 22:59
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to swipe between screens on a Windows 10 touchscreen ?

Post by jaaap »

Masure wrote: Monday 28 October 2019 20:37 I shouldn't have mentioned workaround as accepted in my request :D

Thanks for the suggestion though I'm looking for a working swipe
Haha, to be honest: I would rather like a real solution as well. Following your topic!
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How to swipe between screens on a Windows 10 touchscreen ?

Post by Lokonli »

jaaap wrote: Monday 28 October 2019 21:01
Masure wrote: Monday 28 October 2019 20:37 I shouldn't have mentioned workaround as accepted in my request :D

Thanks for the suggestion though I'm looking for a working swipe
Haha, to be honest: I would rather like a real solution as well. Following your topic!
I don't have a win10 touch device. My Android tablet is working fine.

I expect the touch/mobile device detection doesn't work reliably. Dashticz uses a very old library for this.

Could you do some testing:
In the file js/main.js, line 478, (latest master and beta) you read:

Code: Select all

    if (md.mobile() == null || md.tablet() !== null) {
Can you change this into:

Code: Select all

    if (true) {
If this doesn't work then I guess we have to update the swiper component.
Masure
Posts: 35
Joined: Sunday 22 April 2018 11:23
Target OS: Windows
Domoticz version:
Contact:

Re: How to swipe between screens on a Windows 10 touchscreen ?

Post by Masure »

I just tried.

Code: Select all

if  (true ) {
=> Gives the same result.

To see what is changing, I also tried

Code: Select all

if (false)
=> It puts the 2 screens visible with a scrollbar.
Masure
Posts: 35
Joined: Sunday 22 April 2018 11:23
Target OS: Windows
Domoticz version:
Contact:

Re: How to swipe between screens on a Windows 10 touchscreen ?

Post by Masure »

The latest swiper (4.5.1) fixes swiping on windows 10 tablet. I just made a drop in replacement of vendor\swiper folder.
The issue was referenced on the swiper github : https://github.com/kidjp85/react-id-swiper/issues/230


However the navigation buttons are lost.
Lokonli
Posts: 2287
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: How to swipe between screens on a Windows 10 touchscreen ?

Post by Lokonli »

Should be solved in the latest beta v3.2.0

Can you confirm?
jaaap
Posts: 59
Joined: Sunday 28 July 2019 22:59
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: How to swipe between screens on a Windows 10 touchscreen ?

Post by jaaap »

Lokonli wrote: Saturday 09 November 2019 14:24 Should be solved in the latest beta v3.2.0

Can you confirm?
Confirmed! Works perfect on my W10 tablet. Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest