Bug description
While an application that I created with nativefier is open, I cannot use the Option + Arrow Left/Right key combination in any application. Closing the application again makes the shortcut work again.
Other application don't get to see this key combination even if the nativefier application is in the background. (For example when you try to configure an iTerm2 shortcut, it does not register the combination until you close the nativefier app).
nativefier --help and https://github.com/jiahaog/nativefier/blob/master/docs/api.mdSteps to reproduce
https://outlook.office365.com/owa/)Context
While an application that I created with nativefier is open, I cannot use the Option + Arrow Left/Right key combination in any application. Closing the application again makes the shortcut work again.
Other application don't get to see this key combination even if the nativefier application is in the background. (For example when you try to configure an iTerm2 shortcut, it does not register the combination until you close the nativefier app).
@NiklasRosenstein thanks for the feedback. Are you sure you're talking about Option (a.k.a. Alt) + Arrows? I'd find this surprising, as I think Option + arrows is entirely unused by Nativefier.
Also, can you try with an older Electron? Try passing flag -e 6.1.9
Hey @ronjouch,
Yes I am talking about this key:
in combination with the left or right arrow key. This combination is used in many text editing applications to jump between words.
As far as I can see, only the combinations Option + <- or Option + -> are affected. I can still add Shift to the combination and select + jump between words.
Per your suggestion I tried
$ nativefier https://outlook.office365.com/owa/ --name 'Outlook Web' -e 6.1.9
Unfortunately it is still the same. As soon as I open the application, the key combinations don't work anymore (that is system-wide, not just in the Nativefier application) and it works again when I close it.
@NiklasRosenstein okay, thanks for looking and confirming. Weird, I don't know. I'm only doing minimal maintenance and don't even run macOS, so don't expect a quick fix. If you have the time to dig, PR very welcome 馃檪.
This is happening for me as well. If you have a Nativefier app open, the Option + Left/Right combo is overwritten. Which is a bummer because it's a shortcut you use to navigate text quite a lot.
I have the same issue with:
Nativefier: 8.0.4
Node.js: 10.19.0
Npm: 6.13.4
OS: MacOs Mojave 10.14.6
Thanks for investigation!
I had the same issue with nativefier 8.0.4 (node 13.11.0, npm 6.14.4, mac 10.14.6). Rolling back to nativefier 7.7.1 solved it for me.
While I didn't test the versions in between, I'm guessing that the problem was created by "Add common Alt+Left/Right for previous/next navigation.", introduced in 8.0.0. Within nativefier, using Alt+Left/Right for previous/next navigation is working in 8.0.4, for me.
Personally, I prefer using Alt+Left/Right for jumping between words (default behaviour) over using them for previous/next navigation, so I'd be happy with a fix that entirely disabled Alt+Left/Right for navigation, on mac. The standard shortcut for going to the previous/next webpage on mac is Cmd+Left/Right, anyway.
Thanks folks 馃檪, fixed. Pushing in a release soon.
Released in 8.0.6 now on npm!
Works great!
Works for me, thank you very much!
Most helpful comment
Works great!