Skip to content
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

window.print() not working in neutralino windows when mode is window. #4

Open
Blatman opened this issue Oct 9, 2021 · 0 comments
Open

Comments

@Blatman
Copy link

Blatman commented Oct 9, 2021

MacOS: 10.13.6 NS: 2.8.0 CL: 1.5.0

Finding that window.print() does not function in window. The print dialog does not open as expected.

If I setup an express server in a neu app and use Safari to browse to the the page on the specified port then the window.print() will work OK with the standard Safari print dialog dropping down.

I tried the workrounds suggested in neutralinojs/neutralinojs#402 and neutralinojs/neutralinojs#206 and they don't work in the neu windows but are OK in the Safari setup.

If I change the mode in config from window to browser then the window.print() works when the Safari browser opens the page.

Does this suggest that window.print() needs to be included as an option in the Native API when mode=window is used?

@shalithasuranga shalithasuranga transferred this issue from neutralinojs/neutralinojs Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant