Permlink Replies: 3 - Pages: 1 - Last Post: 15 Apr 24, 22:42 Last Post By: JeffTucker Threads: [ Previous | Next ]
davidekholm

Posts: 3,625
Registered: 18-Oct-2002
Double file entries appearing in v34.3 on Mac
Posted: 15 Apr 24, 17:28
  Click to reply to this thread Reply
We received a report from a Mac user that he got double file entries in his projects since updating to v34.3. This has been identified to be caused by https://bugs.openjdk.org/browse/JDK-8289689 that was made in Java 20. As a quick resolution we've downgraded the Mac version to Java 19, but we've kept JavaFX 22.

We think the change Oracle has made is unfortunate as it opens up for files with visually the same name having their names encoded differently depending on what software wrote the file. Historically, a file named "åäö" would be 3 characters in length, but not so anymore on Mac. since Java 20. That file would be 6 "characters" in length: "a°a¨o¨" to be specific, if created outside of jAlbum.

Future jAlbum versions will likely use Java 22 again, but now we need to "normalize" file names manually.

If you're a Mac users and use accented characters in file names, re-download v34.3 again. This gives you v34.3.1 that runs on a combination of Java 19 and JavaFX 22 and doesn't have this problem.
JeffTucker

Posts: 8,438
Registered: 31-Jan-2006
Re: Double file entries appearing in v34.3 on Mac
Posted: 15 Apr 24, 17:32   in response to: davidekholm in response to: davidekholm
  Click to reply to this thread Reply
davidekholm wrote:
If you... use accented characters in file names....

This has always been a bad idea, and a prescription for trouble, which is why I've always advised against it. Stick to simple names for files and folders - a-z, A-Z, 0-9 - and use jAlbum titles and comments to provide readable text in your language.
davidekholm

Posts: 3,625
Registered: 18-Oct-2002
Re: Double file entries appearing in v34.3 on Mac
Posted: 15 Apr 24, 19:30   in response to: JeffTucker in response to: JeffTucker
  Click to reply to this thread Reply
JeffTucker wrote:
davidekholm wrote:
If you... use accented characters in file names....

This has always been a bad idea, and a prescription for trouble, which is why I've always advised against it. Stick to simple names for files and folders - a-z, A-Z, 0-9 - and use jAlbum titles and comments to provide readable text in your language.


I expected that comment ;-). I just think it's a shame that the computer industry still discriminates against other characters than a-z.
JeffTucker

Posts: 8,438
Registered: 31-Jan-2006
Re: Double file entries appearing in v34.3 on Mac
Posted: 15 Apr 24, 22:42   in response to: davidekholm in response to: davidekholm
  Click to reply to this thread Reply
davidekholm wrote:
I just think it's a shame that the computer industry still discriminates against other characters than a-z.

It's not discrimination. It's just that the people who use those characters are obviously troglodytes.
Legend
Forum admins
Helpful Answer
Correct Answer

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