question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Function enterfullscreen brokes app on MacOS

See original GitHub issue

NWJS Version : 0.42.5 and 0.42.6 Operating System : MacOS X 10.14.6 NodeJS: v11.6.0 and v13.1.0

Expected behavior

Window.enterFullscreen()

Should set the app to fullscreen mode

Actual behavior

The app closes

Error log:

nwjs Helper (GPU)[23487:233334] PLClientLogging: unknown permission type 2
2019-12-03 16:52:39.303 nwjs Helper (GPU)[23487:233334] PLClientLogging: unknown permission type 2
2019-12-03 16:53:15.873 nwjs[23482:233278] *** Assertion failure in -[NativeWidgetMacNSWindow titlebarAccessoryViewControllers], /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1671.60.109/AppKit.subproj/NSWindow.m:3439
Received signal 4 <unknown> 7fff373ec867
 [0x00010bd973f9]
 [0x00010bcb9553]
 [0x00010bd97311]
 [0x7fff65b58b5d]
 [0x000000001d82]
 [0x7fff373ec748]
 [0x7fff374ad0d1]
 [0x7fff39b1ca69]
 [0x7fff641a1edd]
 [0x7fff62bfa19e]
 [0x7fff62bedc7e]
 [0x7fff6419fe35]
 [0x7fff3702099a]
 [0x7fff37554a75]
 [0x7fff3797ceb5]
 [0x7fff37555fac]
 [0x7fff37acc63d]
 [0x00010df33ea2]
 [0x00010ee3a001]
 [0x00010ecdbb41]
 [0x00010e72d6f5]
 [0x000109cf2a54]
 [0x000109cf4b65]
 [0x000109cf52c6]
 [0x000109d1a6d1]
 [0x000109d1a5c6]
 [0x00010e757c5d]
 [0x000109a684ff]
 [0x000109704b12]
 [0x00010c951931]
 [0x00010bd2fbaf]
 [0x00010bd45551]
 [0x00010bd45a79]
 [0x00010bcde1b3]
 [0x00010bccfc5a]
 [0x00010bcdd99f]
 [0x7fff39a0ede3]
 [0x7fff39a0ed89]
 [0x7fff399f274b]
 [0x7fff399f1d15]
 [0x7fff399f161e]
 [0x7fff38c501ab]
 [0x7fff38c4fee5]
 [0x7fff38c4fc76]
 [0x7fff36fe877d]
 [0x7fff36fe746b]
 [0x00010b820e70]
 [0x00010bccfc5a]
 [0x00010b820da4]
 [0x7fff36fe1588]
 [0x00010bcdedac]
 [0x00010bcdd308]
 [0x00010bd45e68]
 [0x00010bd0d527]
 [0x00010b8260a7]
 [0x00010955f77b]
 [0x000109561372]
 [0x00010955c847]
 [0x00010b619212]
 [0x00010b618e40]
 [0x00010e5c1b6b]
 [0x00010b618074]
 [0x00010845e89b]
 [0x00010838a984]
 [0x7fff6596d3d5]
 [0x000000000002]
[end of stack trace]
[1203/165315.882722:WARNING:process_memory_mac.cc(93)] mach_vm_read(0x7ffee7875000, 0x2000): (os/kern) invalid address (1)
[1203/165315.993692:WARNING:system_snapshot_mac.cc(42)] sysctlbyname kern.nx: No such file or directory (2)

How to reproduce

Window.enterFullscreen()

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rogerwangcommented, Dec 4, 2019

I’ll reopen this since it’s just a workaround.

1reaction
rogerwangcommented, Dec 4, 2019

Does --disable-features=nw2 make any difference there?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use two Mac apps side by side in Split View - Apple Support
Hold your pointer over the full-screen button in the upper-left corner of a window. Or click and hold the button.
Read more >
Swipe between full-screen apps did NOT function properly ...
Swipe between full-screen apps did NOT function properly (macOS Monterey 12.1 beta 3 ) ... I bought it a while ago to add...
Read more >
Broken "Windowed (Fullscreen)" mode and limited resolution ...
The current implementation of "Windowed (Fullscreen)" mode on macOS is broken, and does not function the way it's supposed to.
Read more >
Get out of custom fullscreen app - Super User
If you have an Apple keyboard, you could try using one of the function keys that brings up Mission Control or shows the...
Read more >
Animating a window to fullscreen on the Mac - Cocoa with Love
Many Mac OS X applications animate their regular application windows to fullscreen but since there's no dedicated method for the task, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found