-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Lag when changing to File/Tools tab on macOS #7924
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
Comments
I'm experiencing the exact same issues. I'm using MacOS 10.12.6 |
Random question - Are you using Teensy, or have you run the Teensyduino installer on this copy of Arduino 1.8.6? There may be a bug in Teensyduino which adds lag to some of the menus. I'm investigating... Just want to confirm these are the Arduino IDE without Teensy's modifications. Wouldn't want to bother the Arduino devs with something that might be my fault. |
my menu is really laggy and slow without teensyduino installed. I ended up going back to 1.8.5 because it might take half a minute for the boards menu to respond. Instant spinning ball.. |
Hiya, here to say I am not using Teensy. |
I have the same problem huge lags, slow down even restarting itself my Mac and after restart, kernel panic alert. |
Bisecting right now, I'll notify you when I get something 😉 |
Found the culprit, it's Java (again) 😡 The slowdown exists even if I revert a2b5f66 and companion commits or compile IDE 1.8.4, so the bug lies somewhere else. As a workaround while we investigate, I'd revert jre to u151 on nighlty builds (even if it's EOL) since it doesn't look like there are super important bugfixes between 151 and 181. |
Profiling shows something interesting
If anyone's deeply into Java it would be nice to get some help to find the root cause and create a proper bug report |
Fixes arduino#7924 JRE 8u161 made JMenu.insert() MUCH slower on OSX. This exposed a bug lurking there for years; in fact the menu entries were rebuilt every time since JMenu.getComponent() returns an empty list. The correct function is JMenu.getMenuComponents(). In the meantime, also remove sketchbookMenu and examplesMenu being deleted on board change; only their content needs to be updated, not the container itself.
I just downloaded and tested it. Works fine for me now! 👍🏻 |
Yeah I can lead test, just I need reading about changes which I need to do or send me please steps tips how to, and I can start quickly.
Send from iPhone
… Wiadomość napisana przez Martino Facchin ***@***.***> w dniu 27.08.2018, o godz. 15:31:
@DrDiodac @45gfg9 @MCUdude would you mind testing the build that is being produced by #7935 ? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thanks! |
Thank you! Now it works as normal. No more lags. 🎉 |
At first glance seems that slow down problems is solved! I do more testing but I see is better than before. Teensy 3.2 tested.
Thank you!!
Send from iPhone
… Wiadomość napisana przez per1234 ***@***.***> w dniu 28.08.2018, o godz. 00:21:
@DrDiodac
Download http://downloads.arduino.cc/javaide/pull_requests/arduino-PR-7935-BUILD-760-macosx.zip
Use the downloaded test version of the Arduino IDE just as you would the production IDE release (more info)
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
#7935 Fixes this issue. |
Ok, so now I think I can close this issue. Thank you all! |
OS: macOS 10.13.6

IDE: 1.8.6
When changing between tabs, File tab causes lag.
When changing from other tabs to File tab, it will lag about a second.
Changing to Tools tab also causes lag, but it's much shorter, about 0.1 sec.
Other tabs Edit/Sketch/Help tabs work fine.
The text was updated successfully, but these errors were encountered: