Yes, had the same? Issue.
Clipboard okay on Chrome not on IE
But worked on IE from a different workstation. Both IE 11, slightly different versions,
Worth a try and worth patching IE 11.
I haven't troubleshot further. Hope this helps.
Adrian.
-----Original Message-----
From: Alex Fadeev [mailto:alexfdv@gmail.com]
Sent: 05 February 2018 15:00
To: user@guacamole.apache.org
Subject: Inifinite loop in IE of clipboard check.
Hello guys,
Just faced with the next issue: in IE (for other browsers everything is ok) for some reason
a java script enters to the infinite loop just after the connection is established.
/$window.addEventListener('focus', function focusGained(e) {
// Only recheck clipboard if it's the window itself that gained focus
if (e.target === $window)
checkClipboard();
}, true);/
It goes to the function:
/
service.getLocalClipboard = function getLocalClipboard() { ...
$window.setTimeout(function deferredClipboardRead() {
...
// Clean up event listener and selection once the paste attempt has
// completed
deferred.promise['finally'](function cleanupReadAttempt() {
// Do not use future changes in focus
clipboardContent.removeEventListener('focus', performPaste);
// Unfocus the clipboard DOM event to avoid mobile keyboard opening,
// restoring whichever element was originally focused
* clipboardContent.blur();
originalElement.focus();*
popSelection();
// No read is pending any longer
pendingRead = null;
});
// Ensure clipboard element is blurred (and that the "focus"
event
// will fire)
*clipboardContent.blur();*
clipboardContent.addEventListener('focus', performPaste);
}
...
}/
The 'focus' callback is called all the time. If I remove '.focus()' and '.blur' calls (in
bold), then there is no loop, but clipboard stops working Also if I do some kind of 'reconnect',
then loop disappears as well.
*There is also "Programmatic clipboard acces" should be "Allowed" or
"Promted".*
I am just wondering may be somebody have the same issue.
P.S. Actually the problem that it takes focus all the time from the fields in my custom form.
Thank you for answer in advance
--
Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
|