Skip to content

Pressing Ctrl+R to Verify/Compile screen goes white with only tool bar and circling dots. #852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
n4idaham opened this issue Feb 21, 2022 · 9 comments · Fixed by #947
Closed
Assignees
Labels
conclusion: resolved Issue was resolved criticality: high Of high impact topic: code Related to content of the project itself topic: theia Related to the Theia IDE framework type: imperfection Perceived defect in any part of project

Comments

@n4idaham
Copy link

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

@n4idaham n4idaham added the type: imperfection Perceived defect in any part of project label Feb 21, 2022
@per1234
Copy link
Contributor

per1234 commented 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.

After IDE is started and you've made a code change

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.

@per1234 per1234 added status: waiting for information More information must be provided before work can proceed topic: code Related to content of the project itself labels Feb 21, 2022
@per1234 per1234 self-assigned this Feb 21, 2022
@n4idaham
Copy link
Author

n4idaham commented Feb 21, 2022 via email

@n4idaham
Copy link
Author

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 per1234 removed the status: waiting for information More information must be provided before work can proceed label Feb 21, 2022
@per1234
Copy link
Contributor

per1234 commented 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


@per1234 per1234 assigned AlbyIanna and unassigned per1234 Feb 22, 2022
@n4idaham
Copy link
Author

n4idaham commented Feb 22, 2022 via email

@KurtE
Copy link

KurtE commented 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
Copy link

To add information. CTR+R also reloads the page since RC 5 on my system.
Debian Buster with Gnome.

@per1234
Copy link
Contributor

per1234 commented 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.

@fstasi fstasi modified the milestones: arduino-ide rc5, arduino-ide rc6 Mar 24, 2022
@fstasi fstasi assigned msujew and unassigned AlbyIanna Apr 1, 2022
@msujew
Copy link
Contributor

msujew commented 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.

@per1234 per1234 added the topic: theia Related to the Theia IDE framework label Apr 4, 2022
@ubidefeo ubidefeo added the criticality: high Of high impact label May 4, 2022
@per1234 per1234 added the conclusion: resolved Issue was resolved label May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved criticality: high Of high impact topic: code Related to content of the project itself topic: theia Related to the Theia IDE framework type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants