startup delay
Herbert Thoma
herbert.thoma at iis.fraunhofer.de
Fri Aug 3 05:18:07 EDT 2007
Dan Widyono schrieb:
> Hi! Very nice. One question: I only see in the patch that you removed
> several gnc_destroy_splash_screen() calls. I have not read the full code, so
> I am assuming there is a call to gnc_destroy_splash_screen() somewhere else
> that will get called once all the reports are rendered?
Yes, the splash screen gets destroyed in the function inner_main()
in src/bin/gnucash-bin.c
Herbert.
> Dan W.
>
> On Thu, Aug 02, 2007 at 04:09:13PM +0200, Herbert Thoma wrote:
>> Herbert Thoma schrieb:
>>> Derek Atkins schrieb:
>> <...>
>>>> Hmm, that's a good point.. The reason this change got made was
>>>> because it was visually unappealing to have the window show up
>>>> before it's fully drawn. It winds up resizing itself multiple
>>>> times and then relocates itself. So the idea was to delay the
>>>> visibility until it's done, and the splash screen would show you
>>>> that something is happening.
>>> The problem is that the splash screen disappears after about 10 seconds but the
>>> main window only appears a lot later. So a solution would be to really show the
>>> splash screen until the main window shows up (and displaying something like
>>> "rendering report <report name>" in the status line of the splash screen).
>> OK, this itch was sufficiently annoying to scratch (and the scratching
>> was easy enough to do).
>>
>> I attached a patch to bug #457944
>> http://bugzilla.gnome.org/show_bug.cgi?id=457944
>> http://bugzilla.gnome.org/attachment.cgi?id=92921&action=view
>>
>> keep splash screen during file loading
>> - do not destroy the splash screen during file loading
>> - display which reports are rendered in the progress field of the splash screen
>>
>> Please review.
>>
>> Herbert.
>> --
>> Herbert Thoma
>> Head of Video Group
>> Multimedia Realtime Systems Department
>> Fraunhofer IIS
>> Am Wolfsmantel 33, 91058 Erlangen, Germany
>> Phone: +49-9131-776-323
>> Fax: +49-9131-776-399
>> email: tma at iis.fhg.de
>> www: http://www.iis.fhg.de/
>> _______________________________________________
>> gnucash-devel mailing list
>> gnucash-devel at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
--
Herbert Thoma
Head of Video Group
Multimedia Realtime Systems Department
Fraunhofer IIS
Am Wolfsmantel 33, 91058 Erlangen, Germany
Phone: +49-9131-776-323
Fax: +49-9131-776-399
email: tma at iis.fhg.de
www: http://www.iis.fhg.de/
More information about the gnucash-devel
mailing list