Closed uwebenner closed 4 years ago
Thanks for the report.
I am not sure if that is the same bug (as I never saw that stacktrace before), but following your description I managed to reproduce the Enter key triggering a nullpointer exception in exactly that table).
If you want to execute action on a table via keyboard, press 'M' key (and I just realized that is not mentioned in the documentation). Every table that supports extra actions will popup a context menu (same as right mouse click)
Wow. That was quick! :D
It seams that all changing events crash the application (add/edit/delete task). The Ok and Delete buttons work fine though.
I've written my own terminal based time tracker and I'm here for inspiration and maybe to steal a feature or two, and I must say I really like your app. Keep it up! 👍
Can you be a bit more specific, which add/edit/delete task. Does that happen in an overview dialog (when editing tables) or some place else?
In the "Add Task" and "Edit Task" Windows. Which seam to be the same windows, since Add Task has the Delete button as well. :)
So I did upload the patch (v1.4.4) that fixes the previously mentioned nullpointer exception which you may try, but I am not sure if it fixes this MacOs specific problem.
I've testet the new version and it is still the same problem.
I was able to reproduce this issue and this seems like a bug in the JavaFx framework. It only happens if ENTER+META or ENTER+CTRL are clicked. If I change the dialog confirm action to ENTER+ALT (Option key on Mac) this exception is not triggered and the app does not crash.
I'll try to report the bug to the framework maintainers. In the meantime I can only provide a patch for MacOs that will trigger dialog apply event via ENTER+ALT/Option key instead of ENTER+CTRL.
I have reported a bug in the toolkit and provided a temporary workaround (already uploaded as v1.4.4). The dialog confirm actions in MacOs could now be triggered with the ENTER+ALT/Option key (which shouldn't crash the application).
It's a bit inconvenient, but that is the only thing I can do right now.
Thank you. I have testet it and it does not work. I totally forgot that the Alt/Option (and Alt + Shift) Key is used to modify the keypress like the shift key does. E.g. alt + t gives the character †. Might be the reason Alt + Enter didn't work.
Well it didn't work because I forgot to upload a jar (I have only uploaded .dmg). Please try again.
Yes ALT tends to do that, but only if you press a character. ALT+Enter works as expected, at least on my machine.
Ahh, now it's working.
Great to hear, closing.
Environment
Steps to reproduce
I could not run the dmg file, so I loaded the jar file.
java -jar SlothTracker-1.4.3.jar
research@time
Expected behavior
(I've read the docs now) The last step should have closed the window or done nothing.
Actual behavior
The whole application crashed. Luckily it was printing stuff in the terminal window:
Screenshots
No screenshots needed.