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


Permlink Replies: 19 - Pages: 2 [ 1 2 | Next ] - Last Post: 1 Dec 25, 19:27 Last Post By: davidekholm Threads: [ Previous | Next ]
JeffTucker

Posts: 8,046
Registered: 31-Jan-2006
Lockup while editing skin files
Posted: 20 Nov 25, 17:42
 
  Click to reply to this thread Reply
Attachment thread-dump-2.txt (24.6 KB)
Using 38.1.3 (I'll try 38.1.4 shortly) on an M2 Macbook Air, latest OS. Open the skin files for editing - SHIFT-CMD-E. So far, so good. But now CMD-O and try to open another file (in one of the skin's subfolders, in this case). Spinning wheel, followed by a thread dump, attached.
JeffTucker

Posts: 8,046
Registered: 31-Jan-2006
Re: Lockup while editing skin files
Posted: 20 Nov 25, 17:51   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
In fact, if I just launch jAlbum then invoke the textpad editor, CMD-E, then try to open a .inc file, it hangs. It even hangs if I try to open a .txt file.
JeffTucker

Posts: 8,046
Registered: 31-Jan-2006
Re: Lockup while editing skin files
Posted: 20 Nov 25, 22:41   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
I'm back in business on my Windows desktop (having flooring replace in my condo, so I've been a gypsy for a few days). No similar problem there at all, so this is purely a MacThing.
RobM

Posts: 3,948
Registered: 4-Aug-2006
Re: Lockup while editing skin files
Posted: 21 Nov 25, 00:18   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
On my Mac when I open the skin files for editing the window is very, very small. Once it has been expanded and closed, it opens ok. But I do get a hang when trying to open another file.
davidekholm

Posts: 3,823
Registered: 18-Oct-2002
Re: Lockup while editing skin files
Posted: 21 Nov 25, 09:50   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
On my Mac when I open the skin files for editing the window is very, very small. Once it has been expanded and closed, it opens ok. But I do get a hang when trying to open another file.

I've seen this a few times. Will see if I can pinpoint what causes it.
As for the hanging: I take it you've both updated to the last Mac OS, right? I think the hanging is related to that.
RobM

Posts: 3,948
Registered: 4-Aug-2006
Re: Lockup while editing skin files
Posted: 21 Nov 25, 10:05   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
davidekholm wrote:
As for the hanging: I take it you've both updated to the last Mac OS, right? I think the hanging is related to that.
Yes, updated a few days ago.
JeffTucker

Posts: 8,046
Registered: 31-Jan-2006
Re: Lockup while editing skin files
Posted: 21 Nov 25, 14:07   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Yes, same here - Tahoe 26.1.
davidekholm

Posts: 3,823
Registered: 18-Oct-2002
Re: Lockup while editing skin files
Posted: 21 Nov 25, 16:01   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
Yes, same here - Tahoe 26.1.

Ok. I need to put myself in your shoes and update to Tahoe.
JeffTucker

Posts: 8,046
Registered: 31-Jan-2006
Re: Lockup while editing skin files
Posted: 21 Nov 25, 16:05   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Hell, we faithfully install your betas, and even some of your alphas! Surely you can trust the Cretins of Cupertino™ enough to install their final releases.
ronvanrossum

Posts: 66
Registered: 16-Jul-2014
Re: Lockup while editing skin files
Posted: 22 Nov 25, 08:37   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Attachment thread-dump.txt (23.8 KB)
I can confirm this lock-up (beach ball). After about twenty seconds, the file that was opened is displayed in the editor. A thread dump has also been created and is attached here.
davidekholm

Posts: 3,823
Registered: 18-Oct-2002
Re: Lockup while editing skin files
Posted: 24 Nov 25, 12:53   in response to: ronvanrossum in response to: ronvanrossum
 
  Click to reply to this thread Reply
ronvanrossum wrote:
I can confirm this lock-up (beach ball). After about twenty seconds, the file that was opened is displayed in the editor. A thread dump has also been created and is attached here.

Thanks. I know it crashes when interfacing with native code
davidekholm

Posts: 3,823
Registered: 18-Oct-2002
Re: Lockup while editing skin files
Posted: 30 Nov 25, 15:34   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
I've now updated to the ugly Tahoe version (horrible rounded corners).

Here's the fix: https://jalbum.net/download/JTextPad.jar
Put it inside jAlbum's "ext" folder.

(The fix was to use a background thread when launching the file chooser. We do that for the main file chooser as well)
JeffTucker

Posts: 8,046
Registered: 31-Jan-2006
Re: Lockup while editing skin files
Posted: 30 Nov 25, 15:57   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Yes, it's much happier now. :)

Of course, there are probably only two users in the world, outside of jAlbum World HQ, who were affected by this bug, developers who at least sometimes edit files on a Mac, and we both know who they are. ;)



BTW, one persistent annoyance in the editor is that a search doesn't loop. If you search one document or all documents for some text, and it reaches the "end of file," it doesn't start at the beginning again. You often have to switch to searching up as well as down to make sure you're finding all occurrences of the target text.
davidekholm

Posts: 3,823
Registered: 18-Oct-2002
Re: Lockup while editing skin files
Posted: 1 Dec 25, 10:39   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
Yes, it's much happier now. :)

Great

BTW, one persistent annoyance in the editor is that a search doesn't loop. If you search one document or all documents for some text, and it reaches the "end of file," it doesn't start at the beginning again. You often have to switch to searching up as well as down to make sure you're finding all occurrences of the target text.

Good point. I've updated the JTextPad.jar file to do wrapping now. This version however requires the latest https://jalbum.net/download/beta/jalbum-core.jar as I've moved the background thread logic to where it belongs (in that file). If you don't also update the beta, you'll get hangs when selecting files.
davidekholm

Posts: 3,823
Registered: 18-Oct-2002
Re: Lockup while editing skin files
Posted: 1 Dec 25, 10:45   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Turns out that activating looped/wrapped search broke multi document search. I'll work a bit more on it
Legend
Forum admins
Helpful Answer
Correct Answer

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