Thread Locked This thread is locked - replies are not allowed.



Permlink Replies: 114 - Pages: 8 [ Previous | 1 2 3 4 5 6 | Next ] - Last Post: 27 Jun 24, 16:25 Last Post By: davidekholm
JeffTucker

Posts: 8,182
Registered: 31-Jan-2006
Re: jAlbum 35 beta for testing
Posted: 1 Jun 24, 23:09   in response to: davidekholm in response to: davidekholm
davidekholm wrote:
JeffTucker wrote:
There doesn't seem to be any way to sort the project groups. They're shown in the order in which they were created. BTW, where is this info being stored?

It's stored using Java's Preferences mechanism, i.e. under the Registry on Windows and under special files on Mac+Linux. I found the use of the Preferences mechanism very neat.


I suspected as much. That eliminates any chance of manually altering it, unlike the recent projects list, which I occasionally open in a text editor (it's sometimes easier to change the location of things that way than dealing with the projects one at a time).

I think, however, that it's completely predictable that users will want to control the display order - alphabetically, by date, or in a purely arbitrary order by clicking and dragging. I'll assign a keyboard shortcut to the phrase, "I told you so." ;)
RobM

Posts: 3,790
Registered: 4-Aug-2006
Re: jAlbum 35 beta for testing
Posted: 1 Jun 24, 23:11   in response to: davidekholm in response to: davidekholm
This version is defaulting to my home directory, not My Albums. Was that intentional?
davidekholm

Posts: 3,445
Registered: 18-Oct-2002
Re: jAlbum 35 beta for testing
Posted: 1 Jun 24, 23:51   in response to: RobM in response to: RobM
RobM wrote:
This version is defaulting to my home directory, not My Albums. Was that intentional?

Yes, newly created groups are then created next to My Albums. You can also create sub-groups under My Albums by right-clicking that group and selecting New group
JeffTucker

Posts: 8,182
Registered: 31-Jan-2006
Re: jAlbum 35 beta for testing
Posted: 2 Jun 24, 04:13   in response to: davidekholm in response to: davidekholm
I can't find a way to remove a project from a group, short of deleting the entire project.
davidekholm

Posts: 3,445
Registered: 18-Oct-2002
Re: jAlbum 35 beta for testing
Posted: 2 Jun 24, 11:04   in response to: JeffTucker in response to: JeffTucker
JeffTucker wrote:
I can't find a way to remove a project from a group, short of deleting the entire project.

You drag and drop it from the group to another group - My Albums for instance.
phil44

Posts: 80
Registered: 18-Jun-2010
Re: jAlbum 35 beta for testing
Posted: 2 Jun 24, 11:09   in response to: JeffTucker in response to: JeffTucker
I don't like settings stored in the registry very much :-( Why?

  • Like Jeff, you sometimes need to look at JAlbum settings, or even modify them manually. This cannot be done for settings stored in the registry.
  • I regularly make backups of my data, particularly my albums and the JAlbum configuration folder. If any settings are stored in the registry, they cannot be saved.
  • We all know that it's inevitable to have to change your PC at some point (or restore a backup). In this case, I copy the albums folder and the configuration folder from the old PC to the new one, and expect to have a working JAlbum with the same configuration as before. This will not be the case if settings are stored in the registry.

Additionally, as a former developer, it seems to me that you can store preferences in a file (see this Stack Overflow post)
davidekholm

Posts: 3,445
Registered: 18-Oct-2002
Re: jAlbum 35 beta for testing
Posted: 2 Jun 24, 11:45   in response to: phil44 in response to: phil44
Thanks for your feedback guys. I'm not particularly fond of the Registry either, but the Preferences API is neat. Modifying it to use a custom xml file is however more involved than that example shows. Yes, it shows how to export and import to/from an xml file, but the API still persists data in a platform specific way. One can create ones own PreferencesFactory, but you have to implement pretty much custom code to use it.

IF you create sub groups of "My Albums", then these are not stored using the Preferences API. They are mere sub folders of My Albums with brackets around the name (this hints jAlbum that it's a Project Group). Doing it this way will ensure that you can backup and restore everything without any registry fiddling.
davidekholm

Posts: 3,445
Registered: 18-Oct-2002
Re: jAlbum 35 beta for testing
Posted: 2 Jun 24, 11:49   in response to: davidekholm in response to: davidekholm
b5 is now available at https://jalbum.net/download/beta/jalbum-core.jar
This one orders project groups alphabetically (after reload operation or restart of jAlbum)
RobM

Posts: 3,790
Registered: 4-Aug-2006
Re: jAlbum 35 beta for testing
Posted: 2 Jun 24, 11:53   in response to: davidekholm in response to: davidekholm
davidekholm wrote:
RobM wrote:
This version is defaulting to my home directory, not My Albums. Was that intentional?

Yes, newly created groups are then created next to My Albums. You can also create sub-groups under My Albums by right-clicking that group and selecting New group

I don't really like the idea of having my project files outside of 'My Albums', which this encourages. For users that backup jAlbum, rather than backing up the whole machine, it will make locating all their project files harder to do. Yes, you can choose to put it in 'My albums' but that requires more steps than is necessary.
RobM

Posts: 3,790
Registered: 4-Aug-2006
Re: jAlbum 35 beta for testing
Posted: 2 Jun 24, 11:57   in response to: davidekholm in response to: davidekholm
Attachment Sample Albums.png (71.8 KB)
Minor glitch: If you add a project set of the same name as an existing one the 'new' set is apparently created and listed. Only after restarting is the duplicate removed. See attached screen grab.
davidekholm

Posts: 3,445
Registered: 18-Oct-2002
Re: jAlbum 35 beta for testing
Posted: 2 Jun 24, 12:03   in response to: RobM in response to: RobM
RobM wrote:

I don't really like the idea of having my project files outside of 'My Albums', which this encourages. For users that backup jAlbum, rather than backing up the whole machine, it will make locating all their project files harder to do. Yes, you can choose to put it in 'My albums' but that requires more steps than is necessary.

I buy your reasoning. It now defaults to suggesting to putting it under "My Albums"
RobM

Posts: 3,790
Registered: 4-Aug-2006
Re: jAlbum 35 beta for testing
Posted: 2 Jun 24, 12:18   in response to: davidekholm in response to: davidekholm
davidekholm wrote:
RobM wrote:

I don't really like the idea of having my project files outside of 'My Albums', which this encourages. For users that backup jAlbum, rather than backing up the whole machine, it will make locating all their project files harder to do. Yes, you can choose to put it in 'My albums' but that requires more steps than is necessary.

I buy your reasoning. It now defaults to suggesting to putting it under "My Albums"

Thanks.

I'd expect the 'My Albums' set to show all projects within the 'My Albums' folder regardless of them being in sets or not. As it is, 'My Albums' only shows projects not in sets.
davidekholm

Posts: 3,445
Registered: 18-Oct-2002
Re: jAlbum 35 beta for testing
Posted: 2 Jun 24, 12:22   in response to: RobM in response to: RobM
RobM wrote:
Minor glitch: If you add a project set of the same name as an existing one the 'new' set is apparently created and listed. Only after restarting is the duplicate removed. See attached screen grab.

Ok, fixed in b6 :-)
davidekholm

Posts: 3,445
Registered: 18-Oct-2002
Re: jAlbum 35 beta for testing
Posted: 2 Jun 24, 12:25   in response to: RobM in response to: RobM
RobM wrote:
I'd expect the 'My Albums' set to show all projects within the 'My Albums' folder regardless of them being in sets or not. As it is, 'My Albums' only shows projects not in sets.

It only shows projects directly under the "My Albums" folder. If you don't know where you've put a project, use the search bar. It searches the entire project group tree.
JeffTucker

Posts: 8,182
Registered: 31-Jan-2006
Re: jAlbum 35 beta for testing
Posted: 2 Jun 24, 12:49   in response to: phil44 in response to: phil44
phil44 wrote:
I don't like settings stored in the registry very much :-( Why?

And guess what happens if you install Java JRE 8u411 (released in April)? It's always been true that jAlbum treats you like a new user following a Java update, but that's just a minor irritant, since it self-corrects pretty quickly. But now, this also wipes out your project groups entirely, with no way to recover them.

I don't care how "elegant" the API is. From a usability perspective, this is unacceptable.
Legend
Forum admins
Helpful Answer
Correct Answer

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