Skip to content

Ready Event fires when Electron is not ready (transparency feature) #16809

@doom-fr

Description

@doom-fr
  • Electron Version (output of node_modules/.bin/electron --version):
    • 4.0.4
  • Operating System (Platform and Version):
    • Debian Jessie
  • Last known working Electron version (if applicable):
    • ?

Expected Behavior

From docs, Ready event is 'Emitted when Electron has finished initializing'

Actual behavior

When ready event is fired. Electron is not really ready has transparency does not work.
We should add delay to make app working :
app.on('ready', () => setTimeout(onAppReady, 400));

Ready event should be fixed.
Or another event should be fired when transparency is ready (prefered solution)

To Reproduce

Play with this repo and change the delay.

Screenshots

_

Additional Information

You can check this related issue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions