-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Weird popup in custom URL protocol #4746
Comments
Could you please change the system locale to English and make another On Wed, Apr 20, 2016 at 1:51 PM sand123 [email protected] wrote:
|
@rogerwang: Below is a translated version (from Looks like most locale bundles except Russian (ru-RU) ~/dev/test/nwjs-v0.14.1-win-x64 $ grep -lri "пожаловать" # part of "welcome"
locales/ru.pak French (fr-CA) ~/dev/test/nwjs-v0.14.1-win-x64 $ grep -lri "extraterrestre" # "alien"
locales/ca.pak |
Looks like the resource string is wrongly mapped to the default names given to a newly created profile: https://github.com/nwjs/chromium.src/blob/nw14/chrome/app/generated_resources.grd#L10695 Will fix it soon. |
@rdtsc thanks for screen. I've used URL scheme successfully in 0.13.x branch - with requesting permission on first launch and appropriate alert |
@sand123 could you please provide a sample app? |
@rogerwang sample.zip |
@rogerwang: Based on @sand123's sample app, the following behavior is observed when testing against v0.14.1 x64: SDK build is on the left, non-SDK (dist) build is on the right. Both instances were launched via: nw.exe --lang=en-GB Looks like all locales other than Further, copying the |
Thanks for the sample & the testing. It's very helpful to the fix. |
The root cause is that there is old locale files on the buid slave for the normal win build. The locale files built and shipped in normal build are supposed to be only en-US.pak. Developers are supposed to copy locale files they want from SDK build. The old locale files were packaged with the new build. For now the workaround is just replacing the pak files from SDK build. After deleting them in the build slave, the next nightly build should be fine. |
I implemented custom URL scheme myapp:// to handle internal links. When you click on such link for the first time, usually browser asks permission to handle custom link protocol. But in NW In 0.14.1 I've got this
Is it chromium or what?
The text was updated successfully, but these errors were encountered: