This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Pages: 1 - Last Post: 11 Dec 24, 20:41 Last Post By: RobM Threads: [ Previous | Next ]
RobM

Posts: 4,005
Registered: 4-Aug-2006
Cancelling a make album fails
Posted: 10 Dec 24, 22:51
 
  Click to reply to this thread Reply
If you perform a make album then cancel it by clicking on the 'x' at the right hand side of the status bar, the album is made anyway. The left hand of the status bar though shows a spinner and eventually '<project name> (make) aborted'.

discovered this anomaly from this thread https://jalbum.net/forum/thread.jspa?threadID=60038&tstart=0
davidekholm

Posts: 3,625
Registered: 18-Oct-2002
Re: Cancelling a make album fails
Posted: 11 Dec 24, 13:48   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Really odd. This background processing in spite of hitting the abort button seems to happen on v36.1 beta only (for me), but I cannot see what change I could possibly have done. I haven't been poking with the core in v36.1. The problem also appears if you run jAlbum on Java 14, so it isn't that we've moved to Java 23.

Anyway, I've adjusted the code to abort better. Now it seems to behave. Test by replacing your lib/jalbum-core.jar with this one: https://jalbum.net/download/beta/jalbum-core.jar
davidekholm

Posts: 3,625
Registered: 18-Oct-2002
Re: Cancelling a make album fails
Posted: 11 Dec 24, 13:49   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
One more note: You may see a few more images being processed even if you hit abort. This happens on multi core settings: jAlbum will finish processing images it's started processing on each core before aborting.
RobM

Posts: 4,005
Registered: 4-Aug-2006
Re: Cancelling a make album fails
Posted: 11 Dec 24, 20:41   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
That's fixed it, thanks.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums