How does the "Drag Button" works exactly?

60 views
Skip to first unread message

Denis Lochman

unread,
Jun 4, 2018, 8:27:33 AM6/4/18
to noVNC
Hello,
I noticed, that when I'm using noVNC on mobile, the drag button is disabled (greyed out). I tried looking at the code and if I understood it correctly, the button is disabled, when the "Clip to window" option is not checked? But the "Clip to window" option is also disabled. What are the conditions for the drag button to be enabled?

Thanks.

sam...@cendio.com

unread,
Jun 4, 2018, 3:45:42 PM6/4/18
to noVNC
Hi Denis,

I understand your confusion. The idea is that the "clip to window" setting should be forced ON for touch devices since scroll bars are usually not very user friendly in our case. However I see now that this has been lost somewhere along the way. I have now pushed a fix to noVNC master. You will need to clear your web storage for your noVNC page in order for the fix to have an effect (the old setting is saved in web storage).

The conditions for view drag are:

1. "clip to window" enabled
2. remote desktop size is larger than browser viewport

Denis Lochman

unread,
Jun 6, 2018, 9:58:28 AM6/6/18
to noVNC
Thank you. I'll check it out.
Reply all
Reply to author
Forward
0 new messages