[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Making koApplication inherits KUniqueApplication
From:       Thomas Zander <zander () kde ! org>
Date:       2005-10-26 10:04:55
Message-ID: 200510261204.55967.zander () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday 26 October 2005 09:57, Boudewijn Rempt wrote:
> > Hmm, can't you run the lengthy operation in another thread, as long
> > as it doesn't touch the GUI?
>
> That's what I'm trying to do -- but I haven't solved it in a generic
> way yet. Besides, the second view on the same document would still be
> inaccessible when the thread is running.

Are you sure?
Only lengthy processes that run inside the event queue block all the 
windows events.
So any threading solution will not have an effect there.

Besides; the proper way is to show a progress bar in _all_ views and 
change the mouse pointer to a stopwatch in _all_ views.  If you choose to 
do it in the background, then again the same UI locking should be done 
for all views of the same document.

-- 
Thomas Zander

[Attachment #5 (application/pgp-signature)]

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic