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

Splash Screen Disappearing on Click #357

Closed
koraycrk opened this issue Dec 18, 2019 · 11 comments
Closed

Splash Screen Disappearing on Click #357

koraycrk opened this issue Dec 18, 2019 · 11 comments
Assignees
Milestone

Comments

@koraycrk
Copy link

Hi,
I configured my splash screen in electron.manifest.json file like this in my .net core web application:

"splashscreen": {
"imageFile": "/wwwroot/assets/img/about@2x.png"
}

After running my application, splashscreen appears on the screen perfectly. But when I click on splashscreen image or anywhere on the screen, splash screen immediately disappears and my application stops. How can I turn this behavior off ?

Thank you.

@srameh
Copy link

srameh commented Dec 28, 2019

I am facing the same problem.

@NathanialSopko
Copy link

NathanialSopko commented Jan 24, 2020

This is also happening to me.

Info:
ElectronNET.CLI version: 5.22.14
ElectronNET.API version: 5.22.14
.Net Core version: 2.2

Thanks

Edit:
It seems like it only happens if you click off of the app and then back on to the splash screen. If after launching you only click on the splash screen it doesn't close it.

@GregorBiswanger GregorBiswanger self-assigned this Jan 24, 2020
@bhush80
Copy link

bhush80 commented Mar 6, 2020

I am facing same type of issue.

I want to disappear splash screen after 5 Sec, but it doesn't disappear until I click on it.

info:
ElectronNET.API version: 7.30.2
.Net Core version: 3.1

Thanks

@zenith6495
Copy link

@GregorBiswanger I'm having the same issue, appreciate if you could fix this issue and let us know

@GregorBiswanger
Copy link
Member

I fixed it in Version 8.31.1.

@singh7sarb
Copy link

singh7sarb commented Oct 19, 2020

@GregorBiswanger
I am using ElectronNet.API version 9.31.2 with .net core 3.1,
This is the letest stable version but i still getting this issue .. can you please check once..
Steps:

  1. start application,
  2. splash screen shows, switch focus to other application,
  3. than click on splash screen again. now you will se application closes again

@rajeshs-logicmatter
Copy link

I am also getting the same issue in the 9.31.2 version.
Thank you.

@KimTooFlex
Copy link

Still experiencing the same issue. Any fix so far?

@singh7sarb
Copy link

singh7sarb commented Dec 1, 2020 via email

indiemini added a commit to indiemini/Electron.NET that referenced this issue Feb 17, 2021
…ent ghost drag, fix resizable splash screen. Resolves ElectronNET#539, ElectronNET#357

Using the browser-window-focus event would cause the splashScreen to be destroyed early (since regular mouse-focus events would cause the event to be fired).

Using the browser-window-created event produces the correct behavior.
@indiemini
Copy link
Contributor

Wanted to echo that I can still reproduce this issue on 11.5.1, but that I've proposed a fix in #540 😄

@tub5
Copy link
Contributor

tub5 commented Feb 18, 2021

Wanted to echo that I can still reproduce this issue on 11.5.1, but that I've proposed a fix in #540 😄

That's fantastic. Can we get this in a hot patch please? It would be of great help

GregorBiswanger added a commit that referenced this issue Jul 1, 2021
Resolve #539, #357 - Fix splash screen interaction causing crashes, ghost dragging, and resizable behavior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests