I'm seeing two different behaviors with LO, but I'm not sure if these behaviors are consistent:
1) LO closes automatically when it's tabbed
2) LO doesn't close automatically when it's untabbed
What is the behavior by design?
When it comes to closing LO automatically via LO API along with CafeTran exit, the behaviour is not consistent across various operating systems. For example, it freezes CafeTran on Mac with M1 chip. So the automatic LO closing is disabled for now. I keep an eye on this function in LibreOffice updates.
For what it's worth: I have this simple macro with only one active action: