tboy58
September 21, 2022, 4:54pm
1
Hi,
I’m using Arduino IDE 2.0 with Windows 10. My program loads images onto a TFT display to animate like a Gif.
The image data is held in a separate file in an array that is held in program memory i.e. const unsigned short PROGMEM sys[][8000] = {{0x0…
The IDE has no problem with the main program, but as soon as the image data is entered, that IDE window essentially freezes. In reality, any actions take minutes to be carried out. I say “that window” as another window with just a normal program in it functions normally.
I get the same results on my desktop and laptop, and I have no problems with this program in Arduino IDE 1.8.15.
Thanks for any ideas in advance.
Hi @tboy58 . I'm happy to tell you that this bug has already been fixed:
arduino:main
← arduino:#1343
opened 03:28PM - 16 Sep 22 UTC
### Motivation
To fix unresponsive IDE2 issue due to tokenizer.
### Chan… ge description
Set the `editor.maxTokenizationLineLength` to `500` characters.
### Other information
Closes #1343.
### Reviewer checklist
* [ ] PR addresses a single concern.
* [ ] The PR has no duplicates (please search among the [Pull Requests](https://github.com/arduino/arduino-ide/pulls) before creating one)
* [ ] PR title and description are properly filled.
* [ ] Docs have been added / updated (for bug fixes / features)
The fix was made after the time of the 2.0.0 release you are using so it is only available from the nightly builds.
The nightly build download links are listed here:
https://www.arduino.cc/en/software/#nightly-builds
Please give the nightly a try and let me know if you have any questions or problems.
tboy58
September 21, 2022, 5:35pm
3
Many thanks for your reply. I’ll try that and let you know.
tboy58
September 21, 2022, 6:39pm
4
Hi @ptillisch
The latest nightly build gets rid of my problem.
Many thanks for your help.
tboy58
September 21, 2022, 6:45pm
5
Hi again @ptillisch ,
Just one more thing.
When I open the nightly build I had a pop up to download 2.0. When is it safe to update?
You are welcome. I'm glad it is working now.
This is a bug being tracked by the developers here:
opened 10:22AM - 15 Sep 22 UTC
closed 12:04PM - 26 Sep 22 UTC
topic: infrastructure
type: imperfection
### Describe the problem
On every startup, the Arduino IDE checks for new ver… sions of the IDE (https://github.com/arduino/arduino-ide/pull/797). If a newer version is available, a notification/dialog is shown offering an update.
"Newer" is determined by comparing the version of the user's IDE to the latest available version on the update channel. This comparison is done according to [semver](https://semver.org/).
In order to facilitate beta testing, builds are generated of the Arduino IDE at the current stage in development. These builds are given an identifying version of the following form:
- `<version>-snapshot-<short hash>` - builds generated for every push and pull request that modifies relevant files
- `<version>-nightly-<YYYYMMDD>` - daily builds of the tip of the default branch
The established project management practices cause the `<version>` component of these to be the version of the most recent release.
During the pre-release phase of the project development, all releases had [a pre-release suffix](https://semver.org/#spec-item-9) (e.g., `2.0.0-rc9.4`). Appending the "snapshot" or "nightly" suffix to that pre-release version caused these builds to have the correct precedence (e.g., `2.0.0-rc9.2.snapshot-20cc34c` > `2.0.0-rc9.2`). This situation has changed now that the project is using production release versions (e.g., `2.0.0-nightly-20220915` < `2.0.0`)
🐛 Users of "snapshot" or "nightly" builds are presented with a spurious update notification on startup.
### To reproduce
#### Setup
Make sure you have the default values of the relevant settings:
```json
{
"arduino.checkForUpdates": true,
"arduino.ide.updateChannel": "stable"
}
```
#### Steps
1. Download the latest nightly build of Arduino IDE 2.x from the links on the "Software" page:
https://www.arduino.cc/en/software#nightly-builds
1. Start the nightly build.
🐛 A spurious IDE update notification dialog appears:
![image](https://user-images.githubusercontent.com/8572152/190379778-28f8d1d1-4f92-4121-9f50-dbc057735cba.png)
### Expected behavior
IDE update notification is only shown when a newer version of the Arduino IDE is available.
### Arduino IDE version
2.0.0-snapshot-5f82577
### Operating system
Windows
### Operating system version
10
### Additional context
I think the solution will be to add a step to the end of the [release procedure](https://github.com/arduino/arduino-ide/blob/main/docs/internal/release-procedure.md) to bump the version metadata after completing a release, following the same procedure as documented under [the "Create the release on GitHub" section of that document](https://github.com/arduino/arduino-ide/blob/main/docs/internal/release-procedure.md#-create-the-release-on-github).
I see two possible approaches:
- Use a pre-release of a patch bump (e.g., the metadata should currently be set to `2.0.1-rc.1`)
- Use a patch bump (e.g., the metadata should currently be set to `2.0.1`)
With the latter approach, the release manager could skip the metadata update step of the release unless the release was determined to be a minor or major version bump (according to the nature of the changes being shipped).
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://github.com/arduino/arduino-ide#nightly-builds)
- [X] My report contains all necessary details
Please just click the "SKIP VERSION " button on the update dialog the next time you see it.
In this case, it would actually be a downgrade since the nightly version you are using is newer than the 2.0.0 release.
If you would like to keep up with the latest development, you can periodically download the nightly build again (a new one is generated daily). Otherwise wait for the 2.0.1 release. You will get another notification when you start the Arduino IDE after 2.0.1 is out.
tboy58
September 21, 2022, 7:12pm
7
@ptillisch , thank you again, much appreciation
system
Closed
March 20, 2023, 7:12pm
8
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.