Skip to content

Splash screen in v5 seems to be broken #280

Open
@WolfWalter

Description

@WolfWalter

Describe the bug
After updating to 5.0.1 the splash screen is nearly blank. But after taking a closer look the splash.png is in the upper left corner, but super tiny.

To Reproduce
Steps to reproduce the behavior:

  1. update to v5
  2. config a splash screen
  3. yarn cap open @capacitor-community/electron

Expected behavior
Show the spash.png filling the view.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version 23.10

Additional context

I guess this change is leading to this behaviour: https://github.com/capacitor-community/electron/blame/f7ce86454469e967b41c1db8f51ddb942d278ca9/src/electron-platform/ElectronSplashScreen.ts#L48

I also played around with the before and after html snippets an ran in the same issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions