Feature: qrun: allow repeated use for multiple commands

Bug #486373 reported by Martitza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Confirmed
Medium
Unassigned

Bug Description

qrun is very useful. It would be even more useful if I could clear and reuse it more multiple commands(instead of just canceled) after it runs a command. When I use qrun, I usually end up runnign several commands in a row. Having a single instance of qrun would be more convenient than starting an instance for each command. For compatibility with toosl which expect qrun to return, this might be implemented with a switch like qrun --persistent.

Tags: qrun
Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

I agree. I'd a "Reset" button that cleared the fields and put the dialog back into it's initial state.

Changed in qbzr:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 486373] Re: Feature: qrun: allow repeated use for multiple commands

Ian Clatworthy пишет:
> I agree. I'd a "Reset" button that cleared the fields and put the dialog
> back into it's initial state.

We have similar bug report asking for multiple run of qcommit.

So I's like to fix this in universal way (for all qsubprocess-based dialogs).

I'm thinking about adding button instead of Cancel (because it becomes inactive when operation
finished successfully) with the label either Restart or Reset as you say. Maybe Restart will be better?

E.g.

[ Close ] [ Restart ]

And then we using this approach for all q-dialogs.

Revision history for this message
Martitza (martitzam) wrote :

Actually, I just realized that it really does work the way I need. Only the layout could be more intuitive.

Alexander has provided a very good description in the comment right before this one.

Revision history for this message
Ian Clatworthy (ian-clatworthy) wrote :

Alexander Belchenko wrote:

> I'm thinking about adding button instead of Cancel (because it becomes inactive when operation
> finished successfully) with the label either Restart or Reset as you say. Maybe Restart will be better?
>
> E.g.
>
> [ Close ] [ Restart ]
>
> And then we using this approach for all q-dialogs.

That's an awesome idea. I suggested the name "Reset" because it's a
standard button. See
http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qdialogbuttonbox.html#StandardButton-enum.

Ian C.

Revision history for this message
Martitza (martitzam) wrote : Re: [Bug 486373] Re: Feature: qrun: allow repeated use for multiple commands

On Sun, Nov 22, 2009 at 3:54 PM, Ian Clatworthy <
<email address hidden>> wrote:

>
> That's an awesome idea. I suggested the name "Reset" because it's a
> standard button. See
>
> http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qdialogbuttonbox.html#StandardButton-enum
> .
>
> Ian C.
>
>
+1

tags: added: qrun
Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 486373] Re: Feature: qrun: allow repeated use for multiple commands

Martitza пишет:
> On Sun, Nov 22, 2009 at 3:54 PM, Ian Clatworthy <
> <email address hidden>> wrote:
>
>> That's an awesome idea. I suggested the name "Reset" because it's a
>> standard button. See
>>
>> http://www.riverbankcomputing.com/static/Docs/PyQt4/html/qdialogbuttonbox.html#StandardButton-enum
>> .
>>
>> Ian C.
>>
>>
> +1
>

OK, OK, guys. I'm listen and obey.
:-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.