<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap:break-word"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">This continues to happen to me a few times a day, exclusively in TextMate. Some days are worse, maybe better after a reboot, but thats not for sure.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Some more theories for you Ed, and anyone else :)</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Do you …</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">1: have more than a few TextMate windows or tabs open?</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">2: have a customized window bar title?</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">3: have expensive to render documents?</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">4: SCM integration?</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">Here’s what I’m thinking _might_ be happening for each of these. Hopefully one of these sparkles for someone.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">1) TM is confused about what tab / window should have focus, and fails to pick one.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">2) I have a pretty complex stack of replacements to build my window title, perhaps one of these replacements has a edge case that causes an error</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">3) TM may be selecting the right tab, but the selection doesn’t happen in a reasonable time and aborts</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">4) The timing between focus and TM failing to select a tab seems related to when the title bar updates when SCM is working</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">I’ve been experimenting with disabling plugins and add ons. Today I’m going to try disabling the SCM plugin :( </div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">If that doesn’t work I guess I’ll build TM and see what I can find. Short of building it, there’s not a way better debug this issue, is there?</div> <br> <div id="bloop_sign_1486765449141481984" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">Thanks,</div><div style="font-family:helvetica,arial;font-size:13px"><br>Graham Heath<br><br></div></div> <br><p class="airmail_on">On February 1, 2017 at 7:05:23 AM, Ed Wong (<a href="mailto:scampy@me.com">scampy@me.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div style="word-wrap:break-word" class=""><div></div><div>



<title></title>


Hi Graham,
<div class=""><br class=""></div>
<div class="">My TM setup is pretty basic. No plug-ins, Shell
Support installed, Git support sometimes depending on the
project. </div>
<div class=""><br class=""></div>
<div class="">I think Allan may be right though as I’ve seen this
behaviour with Safari and Finder as well so it could be an general
OS issue.</div>
<div class=""><br class=""></div>
<div class="">Ed</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jan 31, 2017, at 10:23 PM, Graham Heath
<<a href="mailto:graham.p.heath@gmail.com" class="">graham.p.heath@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px" class="">Allan, I’m sorry to say, that this is behavior that I
associate with TextMate, not the os at large. I will keep an eye
out for it and let you know if I change my mind. But, as you’ll see
below, I don’t really blame your code either, I’m just wondering
whats causing it. Its so erratic that its probably not something
simple.</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px" class=""><br class=""></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px" class="">Jacob, Ed, and others; Do you have any plugins? I haven’t
done the full reset, but I have disabled things that I feel might
be offending. Its too early to say, but I wonder if a plugin might
be triggering when the app gets focus, but something isn’t going
quite right.</div>
<div style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><br class=""></div>
<div style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">Tossing this on the pile; I’m using a early 2013 mbp that
does seem to have issues with apps hanging or freezing fairly
often, so maybe whatever’s causing that, is causing this.</div>
<br style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">
<div id="bloop_sign_1485919061840937216" class="bloop_sign" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="font-family:helvetica,arial;font-size:13px" class="">Thanks,</div>
<div style="font-family:helvetica,arial;font-size:13px" class=""><br class="">
Graham Heath<br class="">
<br class=""></div>
</div>
<br style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">
<p class="airmail_on" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
On January 14, 2017 at 11:44:42 PM, Allan Odgaard (<a href="mailto:mailinglist@textmate.org" class="">mailinglist@textmate.org</a>) wrote:</p>
<blockquote type="cite" class="clean_bq" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div class="">
<div class=""></div>
<div class=""><span class="">On 14 Jan 2017, at 5:54, Graham Heath
wrote:<br class="">
<br class="">
> I’m regularly experiencing a bug where TextMate seems to
receive<span class="Apple-converted-space"> </span><br class="">
> partial<br class="">
> focus. The title bar will appear to be selected, but the tabs
never<span class="Apple-converted-space"> </span><br class="">
> come<br class="">
> into focus […]<br class="">
<br class="">
This issue has existed with macOS for as long as I can remember,
and I<span class="Apple-converted-space"> </span><br class="">
have seen it for other apps as well, though it is visually much
more<span class="Apple-converted-space"> </span><br class="">
obvious with TextMate because of the tabs bleeding into the title
bar.<br class="">
<br class="">
I do not think the issue is with any of my code, since window
management<span class="Apple-converted-space"> </span><br class="">
is not the responsibility of the individual app and I am not aware
of<span class="Apple-converted-space"> </span><br class="">
code in TextMate that could affect this.<br class="">
<br class="">
_______________________________________________<br class="">
textmate mailing list<br class="">
<a href="mailto:textmate@lists.macromates.com" class="">textmate@lists.macromates.com</a><br class="">
<a href="http://lists.macromates.com/listinfo/textmate" class="">http://lists.macromates.com/listinfo/textmate</a></span></div>
</div>
</blockquote>
<br style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">
<span style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important" class="">_______________________________________________</span><br style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">
<span style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important" class="">textmate mailing list</span><br style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">
<a href="mailto:textmate@lists.macromates.com" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">textmate@lists.macromates.com</a><br style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">
<a href="http://lists.macromates.com/listinfo/textmate" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">http://lists.macromates.com/listinfo/textmate</a></div>
</blockquote>
</div>
<br class=""></div>



<br>_______________________________________________
<br>textmate mailing list
<br><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a>
<br><a href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a></div></div></span></blockquote></body></html>