r0x0r / pywebview

Build GUI for your Python program with JavaScript, HTML, and CSS
https://pywebview.flowrl.com
BSD 3-Clause "New" or "Revised" License
4.63k stars 537 forks source link

native splash screen before loading a page completely #1438

Closed bin-san closed 3 days ago

bin-san commented 1 month ago

Specification

Description

Is there a way to achieve "native" splashscreen or loading screen before the page completely loads? I know there exists a solution from html side that obviously would not work for websites that are not modified that way...

Thats it. no control over html. Still want to show splashscreen before the page loads completely.

I have seen in discussions 7years ago about implementing this native feature... Is it complete?or discarded?

Practicalities

bin-san commented 1 month ago

Is there any window.events.loading like there is a window.events.loaded? This would help when the window starting to change its url

r0x0r commented 1 month ago

There are no plans to add a splash screen support. While I have nothing against it, the implementation looks like a feature creep. Different image formats, animations support (for loading spinners), videos etc.

There is no loading event, but it could be added.

github-actions[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 3 days ago

The message to post on the issue when closing it. If none provided, will not comment when closing an issue.