Closed
Description
After IDE is started and you've made a code change you have a choice of mouse clicking Compile/Verify on tool bar
or just pressing the keys Ctrl+R. Pressing the key combination causes screen to go all white except for tool bar at top
and circling dots in the middle of the screen. This persists forever. There is a [ X ] at top right of screen also, and if pressed
the entire IDE exits.
You have to restart IDE to recover. As long as you use the mouse on the tool bar to Verify/Compile there doesn't see to be
a problem.
One more note, on some very rare occasions this does not happen.
Al
Activity
per1234 commentedon Feb 21, 2022
Hi @n4idaham. Thanks for your report.
Please provide the following information, which will be required for us to investigate your report:
Which operating system are you using?
Which version of the Arduino IDE are you using? You can find it by selecting Help > About Arduino IDE from the Arduino IDE menus.
Are these conditions essential to reproduce the bug?
Does it only happen after starting the IDE, or does it happen any time?
Is it required for you to have made a code change, or does the bug happen even if you just compile the sketch that was open when you started the IDE without any modifications?
If we are to effectively investigate and fix this issue, it is essential for us to be able to reproduce the bug. So please make sure to provide detailed instructions I can follow to reliably reproduce the bug.
n4idaham commentedon Feb 21, 2022
n4idaham commentedon Feb 21, 2022
OS - Windows 10 Pro w/latest updates.
IDE - 2.0.0-RC4-nightly-20220220-nightly20220220
You do NOT have to do anything after starting IDE to produce this problem. Simply press Ctrl+R key combination.
This problem seems to happen at any time. throughout your entire time using the IDE.
Like I said above, there was on remote isolated case where it didn't do it, but I would say it fails 98+% of the time.
I just reproduced it several times by simply starting the IDE and doing nothing more that pressing Ctrl + R.
al
per1234 commentedon Feb 22, 2022
OK, thanks for the clarification.
I am able to reproduce it. I see it was introduced in 112153f (does not occur in the build for 69ac1f4).
A couple of observations:
The default keyboard shortcut for the "Reload Window" command is also Ctrl+R. However, the issue still occurs even after I change the shortcut for that command. So the issue isn't simply the collision caused by sloppy default keyboard shortcut allocations.
However, it does appear to be the same mechanism, since I get the identical behavior from the IDE if I trigger the "Reload Window" command via the custom keyboard shortcut or the Command Palette.
The window title changes to "index.html" while the reload is in progress.
This does not happen when I run the "Reload Window" command while using the build at 69ac1f4
n4idaham commentedon Feb 22, 2022
KurtE commentedon Mar 2, 2022
For what it is worth, I was checking to see if it had been reported.
I am seeing it on Windows 10 on the nightly build 0301...
Travelbacon commentedon Mar 12, 2022
To add information. CTR+R also reloads the page since RC 5 on my system.
Debian Buster with Gnome.
per1234 commentedon Mar 19, 2022
As originally reported at https://forum.arduino.cc/t/ctr-f5-goes-to-index-html/970705, a non-configurable F5 keyboard shortcut was also introduced by 112153f
Probably it has the same origin as this Ctrl+R bug.
msujew commentedon Apr 4, 2022
Related to a bug in Theia, see eclipse-theia/theia#10704 and eclipse-theia/theia#10869. Updating Theia should address this issue by itself.