Celestia icon indicating copy to clipboard operation
Celestia copied to clipboard

Celestia splash screen

Open SevenSpheres opened this issue 4 years ago • 28 comments

In 2016 Alexell made a new Celestia splash image (last one in this post). Should it be used in version 1.7?

(Added three days later, put here for visibility) Actually, why not add a line like this to celestia.cfg: SplashImage "splash.png" Then the user can choose what splash image they want without having to rename/replace any files. Celestia could even install with multiple images for the user to choose from.

SevenSpheres avatar Oct 08 '19 22:10 SevenSpheres

Qt has longstanding issues with transparent images. It doesn't support 8bit transparency, so in some cases we have solid black colour instead of transparency. If somebody fixes our Qt splashscreen, we'll consider including one of those images.

375gnu avatar Oct 09 '19 09:10 375gnu

The current splash image also has transparency. Are you saying it will need to change?

SevenSpheres avatar Oct 09 '19 21:10 SevenSpheres

@SevenSpheres yes, but the current image has quite small transparent border, while Alexell's one has large regions. So with the current one this issue is not much noticeable.

375gnu avatar Oct 10 '19 09:10 375gnu

I don't see much of a difference in the size of the transparent regions. Doesn't really matter what splash image is used of course.

SevenSpheres avatar Oct 10 '19 22:10 SevenSpheres

I'll check it, I have that issue on my computer.

375gnu avatar Oct 11 '19 09:10 375gnu

We can vote on the forum:) And check Alexell's license for those images.

375gnu avatar Oct 11 '19 09:10 375gnu

@375gnu if necessary, you can use these images. They were made specifically for Celestia.

Alexell avatar Oct 11 '19 16:10 Alexell

@Alexell we need a clear license. I propose the same license we use for the code - GPLv2 or later

375gnu avatar Oct 11 '19 16:10 375gnu

@375gnu ok i agree

Alexell avatar Oct 11 '19 16:10 Alexell

Actually, why not add a line like this to celestia.cfg: SplashImage "splash.png" Then the user can choose what splash image they want without having to rename/replace any files. Celestia could even install with multiple images for the user to choose from.

It would also be nice to be able to put other windows in front of the splash screen.

SevenSpheres avatar Oct 11 '19 21:10 SevenSpheres

On 10/12/19, SevenSpheres [email protected] wrote:

Actually, why not add a line like this to celestia.cfg: SplashImage "splash.png"

Good idea.

It would also be nice to be able to put other windows in front of the splash screen.

Why? The main idea of splash screens is that a user sees that an application is working while it's not ready to interact with a user.

375gnu avatar Oct 12 '19 12:10 375gnu

Why? The main idea of splash screens is that a user sees that an application is working while it's not ready to interact with a user.

Because if you're using Celestia with lots of addons, it takes a long time to load, and since the splash screen is always in front you can't do anything in other windows.

SevenSpheres avatar Oct 12 '19 17:10 SevenSpheres

but it's not ready yet, what will you do?

375gnu avatar Oct 12 '19 18:10 375gnu

Renamed this issue because it's no longer about Alexell's image...

Anyway 6 people (including pirogronian) agree with me that the splash screen shouldn't always be in front. FarGetaNik also notes that the latest 1.7 doesn't display the splash screen at all, but I assume this will be fixed?

SevenSpheres avatar Oct 13 '19 17:10 SevenSpheres

On my machine (Linux) there is no problem: splash screen can be hidden by other windows.

pirogronian avatar Oct 13 '19 19:10 pirogronian

I guess I'll wait until the splash screen is restored in the 1.7 Windows version and then see if this has been fixed. Edit: I see a pull request has been opened

SevenSpheres avatar Oct 13 '19 20:10 SevenSpheres

I'm not really sure what to do with this thread. Here's a checklist of things I've suggested doing; should I split them into other issues instead?

  • [x] Make it possible to override splash in Windows version
  • [x] Restore splash in QT version
  • [ ] Add SplashImage line to celestia.cfg
  • [ ] Add more splash images (e.g., Alexell's)

SevenSpheres avatar Oct 19 '19 17:10 SevenSpheres

in Qt version splash is searched in c:/Program Files (x86)/celestia/share/celestia/splash/splash.png, i.e. where celestia should be installed

375gnu avatar Oct 19 '19 17:10 375gnu

let's keep your suggestions here and reference it from pull requests

375gnu avatar Oct 19 '19 17:10 375gnu

in Qt version splash is searched in c:/Program Files (x86)/celestia/share/celestia/splash/splash.png, i.e. where celestia should be installed

In the QT version the splash screen is not displayed. Also, on Windows the above directory structure does not exist; splash.png is in the main Celestia directory. Should it be in share/celestia/splash instead?

SevenSpheres avatar Oct 19 '19 17:10 SevenSpheres

Should it be in share/celestia/splash instead?

yes

375gnu avatar Oct 19 '19 17:10 375gnu

I created a directory share/celestia/splash and moved splash.png there. There is no change in the 1.7 QT version (i.e., still no splash screen). In the 1.7 Win version the splash screen is gone.

SevenSpheres avatar Oct 19 '19 17:10 SevenSpheres

ok, we'll need to handle it in both frontends

375gnu avatar Oct 19 '19 17:10 375gnu

So in the latest build (Win version) the splash screen can be overridden, but it doesn't work right. When another window is brought in front of the splash, instead of the splash going behind just that one window, it goes all the way to the back, i.e. behind all windows.

SevenSpheres avatar Nov 03 '19 21:11 SevenSpheres

None of us uses windows. See #322 . Don't expect native win frontend to work 100% correctly.

375gnu avatar Nov 03 '19 21:11 375gnu

The splash image appears to have been restored in the Qt version! 👍

SevenSpheres avatar Mar 17 '20 18:03 SevenSpheres

regarding the splashimageoption. the problem is that some interfaces (qt, win32) create splash image before they start loading different data, only gtk first creates CelestiaCore which loads celestia.cfg before creating a splash. personally i'm not eager not rewrite qt ui (it looks like fixing win32 is easy).

375gnu avatar Jun 06 '21 17:06 375gnu