Focus issue in Chrome since version 2021.2.X when RDM is opened inside RDP session
Hi there, since the upgrade to version 2021.2.X I experience a disturbing focus issue in Chrome. Every update I'm hoping that it would be solved, but it isn't until now. At this moment, I have a bit more time to spent on solving this so that's why I didn't start this topic earlier. After reading another topic (https://forum.devolutions.net/topics/35873/unable-to-regain-focus-and-need-to-kill-rdm-fairly-often) I decided to create my own topic since the other user was experiencing a certain issue already in version 2021.1.X. For me, it's very easy to reproduce it within 60 seconds.
Tested versions
Setup
Reproduce
I have tried to use the profiler on level 8192 but when the lock occurs, nothing seems to happen.
When I try to regain focus for about 1 minute (by continuously selecting the icon on the taskbar) it finally unfreezes.
My workaround is to set Edge as browser in the "Web Browser" object but then I'm unable to ignore certificate errors.
Hello,
Thank you for contacting us on that matter!
I will attempt to replicate this behavior on my side to report it to our engineering team.
As soon as new development is made on the case, I will make sure to let you know!
Best regards,
Gabriel Degrandpré
Dennis,
Good work narrowing it down to 60 second reproduction! The key to solving any bug is being able to reproduce it at will...
I'm going to say that using TeamViewer instead of RDP is also likely exacerbating the issue.
Can you please try checking "Disable loading messages" on your Web (Chrome) sessions to see if it changes anything?
You can do them manually if you only have a few or you can us the Edit > Edit (Special Actions) > Custom PowerShell Command to modify all you Web (Chrome) sessions.
if ($connection.ConnectionSubType -eq "GoogleChrome")
{
$connection.Web.DisableLoadingMessages = $true;
$RDM.Save();
}
Best regards
Stéfane Lavergne
Hi Stéfane,
Today I've tested it several times with several websites, but unfortunately the DisableLoadingMessages option does not make any difference.
Dennis
Dennis,
I'm assuming you are still getting this error.
We currently have another customer, via email support, with the same issue and have yet to find why it's happening and how to get around the issue.
Can you please try the following? It wasn't helpful for them but you never know. File > Options > Advanced > check "Disable system event handlers" and restart RDM.
We will keep you posted when we find something.
Best regards,
Stéfane Lavergne
Hi Stéfane,
I still experience this issue indeed. After the server (where I run RDM client on) was restarted last weekend, it worked quite well on Monday morning. Monday afternoon the problem returned unfortunately. Still no clue what triggers this issue.
Disabling system event handler didn't make a difference here as well.
Have you considered adding the 'ignore certificate errors' for Edge? That would be a helpful workaround since Edge is running Chromium as well.
Dennis
Hi Stéfane,
I have another workaround. Before getting my focus out of the RDP session with RDM running, I need to minimize the RDM window where the Chrome tab is opened. As soon as I return, I maximize and can directly resume working.
Dennis
Hi Dennis,
We are still trying to figure out what is going on with Embedded Chrome but we are also looking for alternatives.
One such alternative are the new features available to the Embedded Edge of the latest beta release (v2022.1.x).
We've added support for:
Correct, the two main reasons why people use Embedded Chrome extensively in RDM are now also supported with the Embedded Edge session.
Give it a try to see if it resolves your freeze issue.
NOTE: The beta release requires a database upgrade. Make sure you have proper backup before doing the upgrade or test it on a copy/staging environment.
Best regards,
Stéfane Lavergne
Thank you for improving Embedded Edge, that helped!
I suddenly thought about this problem and how I managed to fix it using Chrome. I removed the Devolutions folder from 'C:\Users\<username>\AppData\Local\'. Unfortunately that included all my preferences, but after the removal the problem was gone. Still using Embedded Chrome on a daily basis.