Resolving issue #1319 - Serial port is not visible on some Windows versions #1415
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue #1319 reported serial port is not visible on Windows with some languages (notably Korean).
I found the issue is resolved by downgrading the nw.js version from the current 0.50.3 to the version 0.42.2 used in 2.x.
I further tested various nw.js versions, as follow:
nw.js ver / Chrome vers / Working
0.49.2 / 86.0.4240.111 / FALSE
0.47.3 / 84.0.4147.125 / FALSE
0.46.4 / 83.0.4103.116 / FALSE
0.45.6 / 81.0.4044.138 / TRUE
I suspect that Chrome messed up serial.getDevice() for some versions after 81.
The latest nw.js version worked is 0.45.6, on Windows 10 Pro (20H2), language set to Korean.
This trick worked for all INAV 3.x and 4.0 versions.
Unless INAV configurator has an explicit reason for bumping up the nw.js version, I'd like to recommend using v0.45.6, which will prevent the further occasion of this issue.