Bug 142469 - splash screen to be the very first thing
Summary: splash screen to be the very first thing
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: ProgressManager-Splashscreen (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-03 18:57 UTC by Daniel Bauer
Modified: 2022-02-05 12:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.9.4
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bauer 2007-03-03 18:57:39 UTC
Version:           0.9.1 svn (using KDE KDE 3.5.6)
Installed from:    SuSE RPMs
OS:                Linux

When starting digikam (both stable and svn versions) it always takes a while until the program gives some feedback to the user that it's about to start.

I'd recommend to display the splash screen as the very first thing digikam does (just as most of all other apps do).

This is nothing important, but especially not-so-experienced users with not-so-fast computers might think the program didn't start when they don't get feedback right after the click.
Comment 1 caulier.gilles 2007-03-03 20:48:13 UTC
Hi Daniel,

Are you enable the "Scan at Startup" option ? Can you take the time
mesurement between the digiKam binary start to run from a console, and the
splash appear on the screen. Can you identify witch operations are done on
the console before to show the splash.

Nota : if you disable the debug compilation option, you will speed-up
digiKam

Gilles


3 Mar 2007 17:57:41 -0000, Daniel Bauer <linux@daniel-bauer.com>:
[bugs.kde.org quoted mail]
<div>Hi Daniel,</div>
<div>&nbsp;</div>
<div>Are you enable&nbsp;the &quot;Scan at Startup&quot; option ? Can you take the time mesurement between the digiKam binary start to run from a console, and&nbsp;the splash&nbsp;appear on the screen.&nbsp;Can you identify witch operations are done on the console before to show the splash.
</div>
<div>&nbsp;</div>
<div>Nota : if you disable the debug compilation option, you will&nbsp;speed-up digiKam</div>
<div>&nbsp;</div>
<div>Gilles&nbsp;<br><br>&nbsp;</div>
<div><span class="gmail_quote">3 Mar 2007 17:57:41 -0000, Daniel Bauer &lt;<a href="mailto:linux@daniel-bauer.com">linux@daniel-bauer.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">------- You are receiving this mail because: -------<br>You are the assignee for the bug, or are watching the assignee.
<br><br><a href="http://bugs.kde.org/show_bug.cgi?id=142469">http://bugs.kde.org/show_bug.cgi?id=142469</a><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Summary: splash screen to be the very first thing<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Product: digikam<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Version: unspecified
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Platform: SuSE RPMs<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OS/Version: Linux<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Status: UNCONFIRMED<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Severity: wishlist<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Priority: NOR<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Component: general<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AssignedTo: digikam-devel kde org
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReportedBy: linux daniel-bauer com<br><br><br>Version:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.9.1 svn (using KDE KDE 3.5.6)<br>Installed from:&nbsp;&nbsp;&nbsp;&nbsp;SuSE RPMs<br>OS:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Linux<br><br>When starting digikam (both stable and svn versions) it always takes a while until the program gives some feedback to the user that it&#39;s about to start.
<br><br>I&#39;d recommend to display the splash screen as the very first thing digikam does (just as most of all other apps do).<br><br>This is nothing important, but especially not-so-experienced users with not-so-fast computers might think the program didn&#39;t start when they don&#39;t get feedback right after the click.
<br>_______________________________________________<br>Digikam-devel mailing list<br><a href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/digikam-devel">https://mail.kde.org/mailman/listinfo/digikam-devel
</a><br></blockquote></div><br>
Comment 2 Daniel Bauer 2007-03-04 16:02:41 UTC
Hi Gilles,

yes I have enabled "Scan at Startup", and the box with the database scan messages appears before the Splash-Screen. I have version 0.9.0 (stable, from suse rpms) and 0.9.1 svn.

I've stopped the times and it seems that the start time until database scan box appears depends on the mood my computer feels :-)

- when I start 0.9.0 for the first time after booting my computer with typing "digikam" into console there are no messages and it takes 50 seconds until the message box appears. There are no messages in console during that time.

- when I then start 0.9.1 svn with the start-digikam.sh script it takes only 5 seconds until that box appears.

- when I start 0.9.0 or 0.9.1 again the message box appears almost immediately.

However, sometimes it takes much longer also with 0.9.1 svn  (probably depending on what else my computer is doing at the same time or what parts are already loaded).

As said in my first post, I don't consider this wish as anything important, just thought it could be possible to move the display of the splash screen right to the beginning of the start routines of digikam - if you have too much time and nothing else to do :-))

But I have no complaints about digikam speed at all. Maybe its really just a matter of how my computer likes to work or not :-)

regards

Daniel 
Comment 3 caulier.gilles 2008-03-19 13:31:59 UTC
Daniel, 

Splashscreen is a non user-interaction window (no button). Scan dialog at startup can be canceled by the user. This is why both are displayed by different way.

For me, there is no reason to change it. digiKam always report progress at startup in all case.

Gilles Caulier
Comment 4 Fabien 2008-03-19 15:54:22 UTC
Hi,

I have to say I agree with Daniel. Starting digikam the first time can take a long time before getting some startup dialog (on a slow computer with around 10'000 pictures, it's more than 30s).
Daniel: once digiKam has be launched a 1st time, it's much faster because linux caches disk access in memory...
If digiKam has been compiled with debug and is run from command line, you can see something, but otherwise you just have to wait.
It could be a problem : I already saw somebody from my family clicking 3 or 4 times because nothing was displayed. And after one minute, you get as many instances :)

IMHO, it would be great to display the splash screen at the very beginning, then you can still show the scan window above the splash screen...
Comment 5 caulier.gilles 2008-03-19 15:57:44 UTC
Marcel,

Any objections ?

Gilles Caulier
Comment 6 Daniel Bauer 2008-03-19 16:22:38 UTC
Hi :-)

I personally don't care... but friends of mine (who do no use digiKam on a daily basis) sometimes think that they haven't started digiKam or not clicked properly and then click again and wonder that nothing happens...

I know, this appears only the first time after boot. I just thought it would be nice if the splash screen appears immediately after clicking the icon. 

For sure it's not important. But if it's a small change in the code, I'd suggest to do it :-)

regards

Daniel
Comment 7 caulier.gilles 2008-03-19 16:23:18 UTC
Ok, i reopen bug. 

Gilles Caulier
Comment 8 caulier.gilles 2008-03-19 16:27:05 UTC
SVN commit 787653 by cgilles:

digiKAm from KDE3 branch : show splashcreen just before to scan whole albums to imediatly give to users program activity.
BUG: 142469


 M  +11 -2     digikamapp.cpp  
 M  +1 -9      main.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=787653
Comment 9 caulier.gilles 2008-03-19 16:30:54 UTC
Fabien, Arnd, Marcel, Mik, Gerhard,

This unsignifiant patch solve this issue. But please check if all work fine on your computer to :

1/ rename temporally your digiKam DB file on your root path and start digiKam, to simulate a first start
2/ close digiKam and restart it to check again.

Note than now the Scan Dialog is displayed over the splashscrenn during all scan albums process. This is fine for you ?

Gilles Caulier
Comment 10 Arnd Baecker 2008-03-19 17:00:52 UTC
All works fine.
However, the Scan Dialog is displayed behind the
splashscreen (and scanning was too fast to bring that window to
the front ...);  I suspect that this depends on the window manager.
Comment 11 Fabien 2008-03-19 18:18:17 UTC
I recompiled everything and did all tests.
It works perfectly. And for me, the scanning dialog is displayed over the splashscreen. It looks good.
Thanks !
Comment 12 Mikolaj Machowski 2008-03-19 20:08:17 UTC
> Note than now the Scan Dialog is displayed over the splashscrenn during
> all scan albums process. This is fine for you ?


Works fine.
Comment 13 caulier.gilles 2008-03-19 21:46:45 UTC
Marcel,

Patch is now backported to KDE4...

It will be nice if later we can merge scan dialog to splashscreen if splashscreen is enable. Else standard scan dialog is used instead.

What do you think about ?

Gilles

Comment 14 Marcel Wiesweg 2008-03-19 22:42:07 UTC
Yes, I dont particularly like the scan dialog.
For example, we could show a progress message "scanning collection" inside the splash screen and only show a scan dialog if the scanning takes longer than a few seconds, then hiding the splash screen for the time, or even creating a scan dialog that is visually similar to the splash screen.
Comment 15 caulier.gilles 2008-03-19 22:50:23 UTC
Yes, but if splash is disable from settings, scan dialog is mandatory to show progress...

There are also anither point with scan dialog : if user close it, scan is stopped as well...

Gilles
Comment 16 caulier.gilles 2008-03-20 22:23:33 UTC
SVN commit 788153 by cgilles:

digiKam from KDE3 branch :
- if Splashscreen is enable at startup, do not show Scan dialog and post progress to Splash
- If Splashscreen is disable, use Scan dialog.
CCBUGS: 142469


 M  +3 -2      albummanager.cpp  
 M  +2 -1      albummanager.h  
 M  +4 -2      digikamapp.cpp  
 M  +12 -6     scanlib.cpp  
 M  +7 -3      scanlib.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=788153
Comment 17 caulier.gilles 2008-03-20 23:15:38 UTC
SVN commit 788171 by cgilles:

backport commit #788153 from KDE3 branch
CCBUGS: 142469


 M  +1 -1      digikamapp.cpp  
 M  +29 -11    scancontroller.cpp  
 M  +4 -3      scancontroller.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=788171