banji-project / ring-issues

Old issues before it was moved to kde.org
0 stars 0 forks source link

show "welcome splash" for 3-4 seconds when loading the ring-kde client (then continue to show the client if an account exists or continue with the wizard page if no account exists yet) #3

Closed star-buck closed 6 years ago

star-buck commented 7 years ago

as an example, here is how skype on linux welcome screen always starts in the center, same size, even if you move it: https://www.dropbox.com/s/gw7i9e1lsw4wnm1/skype-startscreen.mkv?dl=0

The splash screen could also displayed as the "About Ring-KDE". So the splash doesnt carry any other method like login, it stays as is as a frontscreen to the login+accounts window when starting up. Then when the account wizard is started from WITHIN the client, it doesnt need the local login, so it all creates too much wiggle at this point)

Implementation for now: Simply show the welcome splash screen for 3-4 seconds that then

Elv13 commented 7 years ago

Hello, just a little detail.

Please pick one of the possible solutions.

Conceptual issues

There is 3 different concepts here.

Splash screen

A splash screen is a concept from the 80's to display a static pixmap (with or without a progressbar) while the application load. This is mostly out of style as applications now load fast enough. Only a few application still uses one.

Most application that start faster stopped using this concept. Qt still supports it[1]. This is the concept that is usually auto-hidden once the loading is complete.

A wizard / modal dialog

Something you run on the first run and help setup the application. It is usually not the same thing as a login dialog, even if they can/could share the same window. A wizard is a QDialog or QWindow::setType(dialog) objects. Those type of window are not expected (neither by the WM or by the user) to be auto hidden.

A mandatory login page

Used to protect access to assets. Cannot be bypassed. Can have a little welcome page for a few seconds.

Possible solutions

Integrate the welcome page into the main window

This would avoid the popup and focus stealing events that comes with it. It would fill the call canvas until the user take action (click on it or press any key).

Delay the introduction of this feature until the login is implemented

Given the video feature is progressing well and the original stated goal of the wizard are close to completion, this login feature, if you really wish to have it, could be the next feature on the list. The welcome page and login page would then make more sense than a focus stealing modal dialog used as a splash screen.

[1] http://doc.qt.io/qt-5/qsplashscreen.html

Elv13 commented 7 years ago

Here's a basic splash screen. I can add more details (copyright, authors, version, etc...). Of course the image should change eventually, but this is about the feature itself.

pick11

star-buck commented 7 years ago

The function is almost correct, but we simply should take the same welcome frontpage as startup screen that is already used when no account has been setup (the ones before the wizard page): screenshot_20170421_164906

So ring-kde always starts with this initial welcome screen and then either when PRESSED or after 3-4 seconds it continues either with the client or continues like it does now already with the wizard screen if no account has been setup yet.

Elv13 commented 7 years ago

Done