Re: GuiProgess

2009-06-14 Thread Pavel Sanda
Peter Kümmel wrote: > The splash screen will only appear when there is a ShowProgress variable > declared > before the call. But we could drop it when nobody likes it. See the diff of > Buffer. havent understood before that splash should appear only after 2s delay, now its behaviour make more se

Re: GuiProgess

2009-06-09 Thread Peter Kümmel
Pavel Sanda wrote: > Pavel Sanda wrote: >> Peter Kuemmel wrote: > Until nobody proves me wrong I assume QProcess is not usable > synchronously. Well I've used these signals successfully both on windows and Linux so I am inclined to think that there might be some problems in your

Re: GuiProgess

2009-06-08 Thread Pavel Sanda
Pavel Sanda wrote: > Peter Kuemmel wrote: > > > > Until nobody proves me wrong I assume QProcess is not usable > > > > synchronously. > > > > > > Well I've used these signals successfully both on windows and Linux so I > > > am inclined to think that there might be some problems in your code.Your

Re: GuiProgess

2009-06-07 Thread Abdelrazak Younes
On 07/06/2009 17:44, Peter Kuemmel wrote: Until nobody proves me wrong I assume QProcess is not usable synchronously. Well I've used these signals successfully both on windows and Linux so I am inclined to think that there might be some problems in your code.Your excessive use of process

Re: GuiProgess

2009-06-07 Thread Peter Kuemmel
And here the patch with some cosmetic for the textoutput in the progress widget. Peter -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 Index: src/frontends/qt4/GuiProgress.cpp ===

Re: GuiProgess

2009-06-07 Thread Pavel Sanda
Peter Kuemmel wrote: > > > Until nobody proves me wrong I assume QProcess is not usable > > > synchronously. > > > > Well I've used these signals successfully both on windows and Linux so I > > am inclined to think that there might be some problems in your code.Your > > excessive use of processE

Re: GuiProgess

2009-06-07 Thread Peter Kuemmel
Original-Nachricht > Datum: Sun, 7 Jun 2009 16:24:22 +0200 > Von: Andre Poenitz > An: Peter Kuemmel > CC: lyx-devel@lists.lyx.org > Betreff: Re: GuiProgess > On Sat, Jun 06, 2009 at 10:36:31PM +0200, Peter Kuemmel wrote: > > > > 1. QProces

Re: GuiProgess

2009-06-07 Thread Peter Kuemmel
> > Until nobody proves me wrong I assume QProcess is not usable > > synchronously. > > Well I've used these signals successfully both on windows and Linux so I > am inclined to think that there might be some problems in your code.Your > excessive use of processEvents might be the root of all th

Re: GuiProgess

2009-06-07 Thread Andre Poenitz
On Sat, Jun 06, 2009 at 10:36:31PM +0200, Peter Kuemmel wrote: > > > 1. QProcess::waitForFinished() sometimes crashes > > > 2. QProcess::waitForFinished() sometimes does not return (splash does > > not disappear) > > > 3. QProcess::started() is emitted twice (see disconnect in patch) > > > > > >

Re: GuiProgess

2009-06-07 Thread Abdelrazak Younes
On 06/06/2009 22:09, Peter Kuemmel wrote: what is your vision howto proceed with those 'other calls'? I've found some errors in my code, but have also the impression QProcess in buggy on Linux (Kubuntu Qt 4.5.1) 1. QProcess::waitForFinished() sometimes crashes 2. QProcess::waitForFinish

Re: GuiProgess

2009-06-06 Thread Pavel Sanda
Peter Kuemmel wrote: > > > > what is your vision howto proceed with those 'other calls'? > > > > I've found some errors in my code, but have also the impression > QProcess in buggy on Linux (Kubuntu Qt 4.5.1) > > 1. QProcess::waitForFinished() sometimes crashes > 2. QProcess::waitForFinished(

Re: GuiProgess

2009-06-06 Thread Pavel Sanda
Peter Kuemmel wrote: > > > I've found some errors in my code, but have also the impression > > > QProcess in buggy on Linux (Kubuntu Qt 4.5.1) > > > > > > 1. QProcess::waitForFinished() sometimes crashes > > > 2. QProcess::waitForFinished() sometimes does not return (splash does > > not disappea

Re: GuiProgess

2009-06-06 Thread Peter Kuemmel
Original-Nachricht > Datum: Sat, 6 Jun 2009 22:20:10 +0200 > Von: Pavel Sanda > An: lyx-devel@lists.lyx.org > Betreff: Re: GuiProgess > Peter Kuemmel wrote: > > > > > > what is your vision howto proceed with those 'other calls'? &

Re: GuiProgess

2009-06-06 Thread Pavel Sanda
Peter Kuemmel wrote: > > > > what is your vision howto proceed with those 'other calls'? > > > > I've found some errors in my code, but have also the impression > QProcess in buggy on Linux (Kubuntu Qt 4.5.1) > > 1. QProcess::waitForFinished() sometimes crashes > 2. QProcess::waitForFinished(

Re: GuiProgess

2009-06-06 Thread Peter Kuemmel
> > what is your vision howto proceed with those 'other calls'? > I've found some errors in my code, but have also the impression QProcess in buggy on Linux (Kubuntu Qt 4.5.1) 1. QProcess::waitForFinished() sometimes crashes 2. QProcess::waitForFinished() sometimes does not return (splash doe

Re: GuiProgess

2009-06-06 Thread Peter Kümmel
Pavel Sanda wrote: > Peter Kuemmel wrote: >>> back to the patch - i didn't get what you intend with this splash? >> For long operations lyx is simply death, and the idea was to show at >> least a bit of information what's going on. > > aha. so at least it should be automatically closed after proce

Re: GuiProgess

2009-06-06 Thread Pavel Sanda
Peter Kuemmel wrote: > > back to the patch - i didn't get what you intend with this splash? > > For long operations lyx is simply death, and the idea was to show at > least a bit of information what's going on. aha. so at least it should be automatically closed after process finished? dont we use

Re: GuiProgess

2009-06-06 Thread Peter Kuemmel
Original-Nachricht > Datum: Sat, 6 Jun 2009 14:33:46 +0200 > Von: Pavel Sanda > An: lyx-devel@lists.lyx.org > Betreff: Re: GuiProgess > Peter Kuemmel wrote: > > > > fixed, it was a QtGui header. > > > > > > don't beat me,

Re: GuiProgess

2009-06-06 Thread Pavel Sanda
Peter Kuemmel wrote: > > > fixed, it was a QtGui header. > > > > don't beat me, i'm innocent :) > > Have you removed the new files (git -f clean) before patching again? removing the new files and adding them back helped indeed. so you can beat me :D back to the patch - i didn't get what you i

Re: GuiProgess

2009-06-06 Thread Peter Kuemmel
Original-Nachricht > Datum: Sat, 6 Jun 2009 13:10:06 +0200 > Von: Pavel Sanda > An: lyx-devel@lists.lyx.org > Betreff: Re: GuiProgess > Peter Kümmel wrote: > > Pavel Sanda wrote: > > > Peter Kuemmel wrote: > > >> Attached a patch which

Re: GuiProgess

2009-06-06 Thread Peter Kümmel
Pavel Sanda wrote: > Peter Kümmel wrote: >> Pavel Sanda wrote: >>> Peter Kuemmel wrote: Attached a patch which makes use of the new QProgress support in Systemcall. >>> Systemcall.cpp:28:24: error: QApplication: No such file or directory >>> Systemcall.cpp: In member function 'int >>> l

Re: GuiProgess

2009-06-06 Thread Pavel Sanda
Peter Kümmel wrote: > Pavel Sanda wrote: > > Peter Kuemmel wrote: > >> Attached a patch which makes use of the new QProgress support in > >> Systemcall. > > > > Systemcall.cpp:28:24: error: QApplication: No such file or directory > > Systemcall.cpp: In member function 'int > > lyx::support::Syst

Re: GuiProgess

2009-06-06 Thread Peter Kümmel
Pavel Sanda wrote: > Peter Kuemmel wrote: >> Attached a patch which makes use of the new QProgress support in Systemcall. > > Systemcall.cpp:28:24: error: QApplication: No such file or directory > Systemcall.cpp: In member function 'int > lyx::support::Systemcall::startscript(lyx::support::System

Re: GuiProgess

2009-06-05 Thread Pavel Sanda
Peter Kuemmel wrote: > Attached a patch which makes use of the new QProgress support in Systemcall. Systemcall.cpp:28:24: error: QApplication: No such file or directory Systemcall.cpp: In member function 'int lyx::support::Systemcall::startscript(lyx::support::Systemcall::Starttype, const std::s