Bugs item #3602633, was opened at 2013-01-30 00:01
Message generated for change (Comment added) made by michaudm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3602633&group_id=118054

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General / Other
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: michael michaud (michaudm)
Assigned to: michael michaud (michaudm)
Summary: Cancel button of threaded plugins does not work.

Initial Comment:
Cancel button of threaded plugins does not work.
It should work as window closing

----------------------------------------------------------------------

>Comment By: michael michaud (michaudm)
Date: 2013-03-08 00:17

Message:
I close this report.
Everything is fine for me with 
- the red cross button that interrupts the Thread brurally with interrupts
method
- a way for the developper to stop the process in cleaner way (stepping out
a long loop for ex.) if the user click the Cancel button

----------------------------------------------------------------------

Comment By: ede (edso)
Date: 2013-01-31 01:10

Message:
do TaskManager dialogs sport a close (force cancel) button? users might not
intuitively take the close window cross for that.


..ede


----------------------------------------------------------------------

Comment By: michael michaud (michaudm)
Date: 2013-01-30 13:18

Message:
Hi Stefan,

You're perfectly right.
Many plugin don't implement that, but there is always a way to stop the
thread by closing the task monitor. I thought that close button should have
the same behaviour, but you're probably right, it's up to the plugin
developper to implement the interruption request properly.

Thanks,

Michaƫl

----------------------------------------------------------------------

Comment By: mentaer (mentaer)
Date: 2013-01-30 05:22

Message:
Hi Michael,

are you sure? how do you think it should work?
In general cancel has to be implemented by the programmer, so the process
is canceled at the appropriate time and things are cleaned up.
For that we have 

monitor.allowCancellationRequests();
if(monitor.isCancelRequested()){
...
}

or do you refer to something else?
This, however, will not work for Sextante etc.
stefan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3602633&group_id=118054

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to