Re: Command line options stripped for KUniqueApplication

2011-07-09 Thread Kevin Ottens
On Wednesday 22 June 2011 21:55:23 David Faure wrote: > I would point you to the code, but it's on a laptop in the south west of > France right now :-) Took some time... But I finally completed it enough to go into review board: https://git.reviewboard.kde.org/r/101902/ It's unfinished, there's n

Re: Command line options stripped for KUniqueApplication

2011-06-22 Thread David Faure
On Thursday 02 June 2011, Urban Widmark wrote: > On Fri, May 27, 2011 at 11:54 AM, Aaron J. Seigo wrote: > > one other little "gotcha" is that some unique apps do open a new window > > when launched a second time, just in the same process. it would be > > really nice if such applications could not

Re: Command line options stripped for KUniqueApplication

2011-06-03 Thread Urban Widmark
On Fri, May 27, 2011 at 11:54 AM, Aaron J. Seigo wrote: > one other little "gotcha" is that some unique apps do open a new window when > launched a second time, just in the same process. it would be really nice if > such applications could note that they do so and thus always leave the flags > alo

Re: Command line options stripped for KUniqueApplication

2011-05-27 Thread Aaron J. Seigo
On Thursday, May 26, 2011 21:10:07 Urban Widmark wrote: > The kde (and qt, kuniqueapp) command line options are stripped when > using the KUniqueApplication class (saveAppArgs()/loadAppArgs()). I > believe a KApplication never has them removed. > > Some options are useful for an application to rec

Command line options stripped for KUniqueApplication

2011-05-27 Thread Urban Widmark
The kde (and qt, kuniqueapp) command line options are stripped when using the KUniqueApplication class (saveAppArgs()/loadAppArgs()). I believe a KApplication never has them removed. Some options are useful for an application to receive, even if it already has an initial window. I am looking at th