Hard to take 1 leg out with lace up shoes/boots on.
Like many have said from Ayoob on, put in your underwear hammock or someplace else visible and handy that is still in you /in your clothes.. If somebody invades the stall you will need it in hand quickly. In some places it may be best to keep it in hand finger off of trigger. I try to avoid such places but sometimes digestive issues do not give you a choice.
Porta johns: lid close until pants down and gear situated, lid open, do your business/finish paperwork, lid down clothes back up gear up. One of the few advantages of a shoulder holster.