An alternative could be a button labeled "2" that saves photos in another directory. The original problem I'm trying to solve is to avoid throw away photos filling up my backups and folders of "important" photos.
Screenshot
Draft: Button to take temporary photos
Remove temporary photos after 2 weeks
Button for taking temporary photos
You are correct, running the jar you provided using my system's Java also gets rid of the bug. I guess this is the version you want? $ java -version openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2) OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2, mixed mode, sharing)
You are correct, running jar you provided using my system's Java also gets rid of the bug. I guess this is the version you want? $ java -version openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2) OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2, mixed mode, sharing)
You are current, running jar you provided using my system's Java also gets rid of the bug. I guess this is the version you want? $ java -version openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2) OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2, mixed mode, sharing)