This question is answered.


Permlink Replies: 15 - Pages: 2 [ 1 2 | Next ] - Last Post: 23 Nov 22, 09:05 Last Post By: davidekholm
MarkusD

Posts: 627
Registered: 13-Apr-2006
AutoSaveBeforeCompile missing
Posted: 6 Nov 22, 09:15
 
  Click to reply to this thread Reply
Good morning,

  • Open the Sample Project.
  • Go in to edit Mode for the "Nature" folder.
  • Add a comment.
  • Don't click anywhere else, just press <F9>
  • Watch the resulting comment for the folder "Nature". There is no comment.

This seems to be new since 29.x

Workaround:
  • Change to the next folder in Edit Mode and then press <F9>
RobM

Posts: 3,820
Registered: 4-Aug-2006
Re: AutoSaveBeforeCompile missing
Posted: 6 Nov 22, 11:57   in response to: MarkusD in response to: MarkusD
 
  Click to reply to this thread Reply
Previously did you press the ‘enter’ key, but not this time?
If you don’t press enter or move the focus, by clicking elsewhere within the project, then edits are provisional and discarded.
JeffTucker

Posts: 8,216
Registered: 31-Jan-2006
Re: AutoSaveBeforeCompile missing
Posted: 6 Nov 22, 13:12   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
The behavior is the same in 29.1 as it was in 28.1.5 (just tested it, to make sure).

If you're entering the comment while in edit mode, in the large space below the image, the comment "takes" immediately, without the need to leave the field. But if you're entering the comment (description) in the panel on the right, while you're not truly in edit mode, the entered text doesn't register until you leave the field.
MarkusD

Posts: 627
Registered: 13-Apr-2006
Re: AutoSaveBeforeCompile missing
Posted: 7 Nov 22, 18:22   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
Previously did you press the ‘enter’ key, but not this time?
If you don’t press enter or move the focus, by clicking elsewhere within the project, then edits are provisional and discarded.
Rob, I did what I did for a decade or longer. I manipulate text in the comment field, hit the <F9> key and the last changed text gets right to the finally build album. I never changed focus of the comment field to another field before hitting <F9>.
MarkusD

Posts: 627
Registered: 13-Apr-2006
Re: AutoSaveBeforeCompile missing
Posted: 7 Nov 22, 18:35   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
The behavior is the same in 29.1 as it was in 28.1.5 (just tested it, to make sure).
Very very strange.

If you're entering the comment while in edit mode, in the large space below the image, the comment "takes" immediately, without the need to leave the field. But if you're entering the comment (description) in the panel on the right, while you're not truly in edit mode, the entered text doesn't register until you leave the field.
All I can say is, that I have to leave the comment field to kind of safe the text before I compile. Please look at that video.
https://www.markus-drueck.de/JA/Video_2022-11-07_183019.wmv
JeffTucker

Posts: 8,216
Registered: 31-Jan-2006
Re: AutoSaveBeforeCompile missing
Posted: 7 Nov 22, 19:23   in response to: MarkusD in response to: MarkusD
 
  Click to reply to this thread Reply
If you click Make Album instead of hitting F9, the change is registered immediately. The act of clicking the button effectively moves the focus.

The behavior has, indeed, changed from jAlbum 28.1.5, in which F9 had the same effect as clicking the button.

Perhaps David can shed some light on this.
MarkusD

Posts: 627
Registered: 13-Apr-2006
Re: AutoSaveBeforeCompile missing
Posted: 7 Nov 22, 19:33   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
If you click Make Album instead of hitting F9, the change is registered immediately. The act of clicking the button effectively moves the focus.

The behavior has, indeed, changed from jAlbum 28.1.5, in which F9 had the same effect as clicking the button.

Thanks Jeff for confirming what I tried to say. ;-) I'm sure that most users will never encounter problems with shortcuts because they don't use them. I've seen so many users clicking on "Edit|Copy" with the mouse instead of just using <Ctrl><C>.
davidekholm

Posts: 3,474
Registered: 18-Oct-2002
Re: AutoSaveBeforeCompile missing
Posted: 8 Nov 22, 16:46   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
If you click Make Album instead of hitting F9, the change is registered immediately. The act of clicking the button effectively moves the focus.

The behavior has, indeed, changed from jAlbum 28.1.5, in which F9 had the same effect as clicking the button.

Perhaps David can shed some light on this.


I'm not aware of changing anything in this regard. I assume that the Java update might have changed this behavior. As you've figured out, losing the focus from the comment field will trigger an update. I don't have a clean way figured out on how to ensure that a change is written on a currently edited text field while using a keyboard shortcut to trigger the album build.
JeffTucker

Posts: 8,216
Registered: 31-Jan-2006
Re: AutoSaveBeforeCompile missing
Posted: 8 Nov 22, 16:54   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
This has always been a little "hit or miss," especially when dealing with skin-generated custom UI panels. It's probably a good habit, when fiddling with text fields, to hit TAB before hitting F9. Just one extra keystroke, but it ensures that what you've entered gets "registered."
MarkusD

Posts: 627
Registered: 13-Apr-2006
Re: AutoSaveBeforeCompile missing
Posted: 8 Nov 22, 18:58   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
This has always been a little "hit or miss,"
For me it has worked for longer than a decade. I'm a heavy keyboard user and pressing <F9> is part of my DNA. ;-) I'm doing this in my programming environment the whole day, and I don't have to set focus to any other GUI element to save the text in the edit window. :-)

JeffTucker wrote:
especially when dealing with skin-generated custom UI panels.
I also use Tiger as a skin shortly it was born. :-) So, no, I don't think this is the fault of Tiger.

It's probably a good habit, when fiddling with text fields, to hit TAB before hitting F9. Just one extra keystroke, but it ensures that what you've entered gets "registered."
If this is the "cost" of having a newer Java version, like David wrote above, then this is bad news. It's not about the extra key stroke it is about doing something different that was working for ages.

OK, OK, I'll stop whimpering already. :-))
MarkusD

Posts: 627
Registered: 13-Apr-2006
Re: AutoSaveBeforeCompile missing
Posted: 20 Nov 22, 18:45   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
davidekholm wrote:
JeffTucker wrote:
If you click Make Album instead of hitting F9, the change is registered immediately. The act of clicking the button effectively moves the focus.

The behavior has, indeed, changed from jAlbum 28.1.5, in which F9 had the same effect as clicking the button.

Perhaps David can shed some light on this.

I'm not aware of changing anything in this regard. I assume that the Java update might have changed this behavior. As you've figured out, losing the focus from the comment field will trigger an update. I don't have a clean way figured out on how to ensure that a change is written on a currently edited text field while using a keyboard shortcut to trigger the album build.

David, in the past days I'm constantly running into this trap that I edit text in the comment field, press <F9> and that change did not make it into the compiled page. This is really frustrating. Curing this issue would be very cool. Thanks in advance.
RobM

Posts: 3,820
Registered: 4-Aug-2006
Re: AutoSaveBeforeCompile missing
Posted: 20 Nov 22, 20:23   in response to: MarkusD in response to: MarkusD
 
  Click to reply to this thread Reply
MarkusD wrote:
David, in the past days I'm constantly running into this trap that I edit text in the comment field, press <F9> and that change did not make it into the compiled page. This is really frustrating. Curing this issue would be very cool. Thanks in advance.
Could you not create a macro to perform TAB then F9, then assign a keyboard shortcut to it?
What about a AutoHotkey, or something similar if that makes it easier to do (Only know of it, no idea about how safe it is).

Just thinking of things that might avoid the frustration of muscle memory.
MarkusD

Posts: 627
Registered: 13-Apr-2006
Re: AutoSaveBeforeCompile missing
Posted: 21 Nov 22, 20:23   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
MarkusD wrote:
David, in the past days I'm constantly running into this trap that I edit text in the comment field, press <F9> and that change did not make it into the compiled page. This is really frustrating. Curing this issue would be very cool. Thanks in advance.
Could you not create a macro to perform TAB then F9, then assign a keyboard shortcut to it?
What about a AutoHotkey, or something similar if that makes it easier to do (Only know of it, no idea about how safe it is).

Just thinking of things that might avoid the frustration of muscle memory.

Not really, deep in my DNA <F9> stands for "compile", in jAlbum and in the IDEs I use for three decades. :-) I still count on David to make this wonderful shortcut work again. :-)
davidekholm

Posts: 3,474
Registered: 18-Oct-2002
Re: AutoSaveBeforeCompile missing
Posted: 22 Nov 22, 14:18   in response to: MarkusD in response to: MarkusD
Correct
  Click to reply to this thread Reply
I believe I have this working now. Just do a core update to v29.1.12
(Tools->External tools->jAlbum core update)
MarkusD

Posts: 627
Registered: 13-Apr-2006
Re: AutoSaveBeforeCompile missing
Posted: 22 Nov 22, 19:35   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
davidekholm wrote:
I believe I have this working now. Just do a core update to v29.1.12
(Tools->External tools->jAlbum core update)
David, <F9> now works again as it used to be. Thanks a million times. :-)
Legend
Forum admins
Helpful Answer
Correct Answer

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