I have the same problem, but it happens with or without virtual desktop. It's because of the behaviour of Mac os i think. The problem is every time you switch to Textmate, it checks for files updates/directory reference. When I have a large number of files opened or I am working on a big project with a lot of files, it takes a while. Say I am working with firefox and Textmate. If I switch to Firefox before the files update checking in Textmate is done, first it will switch to Firefox, and then when the update checking is done in Textmate, Mac os somehow turn the focus back to Textmate and bring it to foreground. Which is very annoying.
I think it's more like a bug in Mac os x more than a bug in Textmate?
I think the workaround is not to open so many files, or WAIT till Textmate finishing checking for file/directory updates before switching to another application.
Kelvin
Steve Lianoglou said the following on 2/4/05 5:08 AM:
Hi folks,
I don't know if this makes much sense, so I'm wondering if anyone else has noticed this problem.
I use Desktop Manager (http://wsmanager.sourceforge.net/) for virtual desktops .. so I have TextMate on its own desktop ... let's say I'm in my 'browser' desktop poking around somehwere (or email, or whatever) sometimes TextMate jumps to the foreground and steals the focus away from the current program I'm looking at (The TextMate window is still stuck in its own desktop, but the pain is that if I'm in the middle of typing something, It will litter my textmate document)
I tried quitting Desktop Manager and just poke around as normal, and I don't *think* it happened any more ... though I haven't really done any long extensive testing.
Is anyone else using these two programs together and having/not-having these problems?
Cheers,
-steve ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate