electron: Display problem with MacOS High Sierra GM

Hi, i work on an app for windows and mac. On mac os with the High Sierra Golden Master update i’ve display issue:

image

On previous version of macOs all the background was white. In addition I get this new warning when app starts:

2017-09-20 17:11:28.872 Electron[4131:874453] *** WARNING: Textured window <AtomNSWindow: 0x7fbed1c4f0d0> is getting an implicitly transparent titlebar. This will break when linking against newer SDKs. Use NSWindow's -titlebarAppearsTransparent=YES instead.
/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleGVA/AppleGVA-11.1.22.1/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 3
  • Electron version: 1.8.0
  • Operating system: MacOS High Sierra GM

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 11
  • Comments: 16 (4 by maintainers)

Most upvoted comments

Update. If i add app.disableHardwareAcceleration() to the code, the app works fine.

const electron = require('electron');

const { app } = electron;
app.disableHardwareAcceleration();

app.on('ready', () => {
  console.log('App is now ready');
})

console

App is now ready

@codebytere Can you check this, please?

On previous version of Mac OS defaut behavior was white background. This behavior is specific to High Sierra… On Windows default is white background too. So this sould be an issue 😉

My fault, I’ve set up body background to white and it fixes the display issue. Anyway I still have the warning.

If this is still an issue, definitely happy to reopen! We’re just trying to close out issues that haven’t seen activity in some time are and are not on our radars at the moment.

@joevo2 luckily i had already do something similar, so didn’t notice the blinking 😉