before git stash save (or whatever), focus is in console window. After git stash save, leo takes focus with the 'something has change outside leo' dialog. I'm happy for the dialog to appear, but I'd really rather it did not take focus away from the console window that I'm working in
On Friday, 15 September 2023 at 00:10:02 UTC+12 Edward K. Ream wrote: > On Wednesday, September 13, 2023 at 5:29:14 PM UTC-5 nic cave-lynch wrote: > > doing something like a `git stash` in a console window on a file that's > controlled by Leo causes Leo to show the 'this has changed outside leo' > dialog. That's fine, except the dialog steals focus, which is ... tedious. > I've tried looking through the code to find where that happens, but with > no success. > Any hints would be welcome. > > > Focus issues are notoriously complicated. I usually exit Leo whenever I > am about to change branches. > > Can you describe in detail what the "before" and "after" focuses are? I > can then create a new Leo issue. > > Edward > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/7f2b852e-f65f-432b-8c5c-bf38406cb684n%40googlegroups.com.