Re: [Jack-Devel] JackSession - feedback
On 05/29/2011 01:56 PM, Rui Nuno Capela wrote:
> On 05/29/2011 12:02 PM, rosea.grammostola wrote:
>> On 05/19/2011 01:19 PM, Rui Nuno Capela wrote:
>>> On Thu, 19 May 2011 09:45:33 +0200, Adrian Knoth
>>> <[hidden]> wrote:
>>>> On Wed, May 18, 2011 at 11:10:26PM +0100, Rui Nuno Capela wrote:
>>>>
>>>>>> Qjackctl:
>>>>>>
>>>>>> * I find it a bit strange that there is no option to quit the
>>>>>> session,
>>>>>> like you have in jacksmtray. It's only possible to 'save and quit'.
>>>>>
>>>>> yes, that's been deliberate: qjackctl does not implement the
>>>>> just-quit
>>>>> jack-session option. what's the use case of it anyway, may i ask?
>>>>
>>>> From somebody who has never used jack-session:
>>>>
>>>> 1. Load an existing session
>>>> 2. Modify something
>>>> 3. Decide you want to discard all changes
>>>>
>>>> Isn't "quit-without-save" exactly this? If quitting always means
>>>> "overwrite my settings", how would you implement a rollback? (without
>>>> revision control in the file system?)
>>>>
>>>> Needless to say that many programs out there have separate "save" and
>>>> "quit" buttons. "You have unsaved changes. Do you really want to
>>>> quit?"
>>>>
>>>
>>> pardon me, i must had my mind in another dimension when suggested
>>> there's jack-session "just-quit" option. my bad.
>>>
>>> fact is, there's no "just-quit" option in the jack-session protocol
>>> whatsoever--how pyjacksm implements it is beyond my comprehension and,
>>> if confirmed, sure is crossing some "undefined behavior" border or
>>> else :)
>> Did you have time to figure out how pyjacksm does this? Would be nice if
>> qjackctl has that stop session (without saving) option also.
>>
>
> no. as said, there's no "quit" whatsoever, just "save_and_quit". maybe
> pyjacksm is ditching the saved data, but i doubt that's a good thing
> to do.
>
> anyway, this is all torbenh's call, isn't it?
>
> otoh, i'm the least interested into reading python code anyway :)
>
> i wonder, just a guess, aren't you confusing this "quit" command as a
> simple pyjacksm's exit() and not as a full-fledged "quit session" at all?
No it's 'Quit Session' which stops the session an keeps jacksmtray running.
Best,
\r
1306672816.6665_0.ltw:2,a <4DE23EA4.5050804 at gmail dot com>