I’d really like to fix that myself. But I’m still not able to!
Is, perhaps, the following code what does the application hiding when
switching? (it’s NSWorkspace_BLTRExtensions.m)
- (void)hideOtherApplications:(NSArray *)theApps{
>
> NSDictionary *theApp=[theApps lastObject];
> int count=[theApps count];
> int i;
> ProcessSerialNumber psn[count];
> for (i=0;i<count;i++)
> [self PSN:psn+i forApplication:[theApps objectAtIndex:i]];
> [self switchToApplication:theApp frontWindowOnly:YES];
>
> ProcessSerialNumber thisPSN;
> thisPSN.highLongOfPSN = kNoProcess;
> thisPSN.lowLongOfPSN = 0;
> Boolean show;
> while(GetNextProcess ( &thisPSN ) == noErr){
> for (i=0;i<[theApps count];i++){
> SameProcess(&thisPSN,psn+i,&show);
> if (show) break;
> }
> // QSLog(@"same %d",show);
> ShowHideProcess(&thisPSN,show);
>
> }
> }
On Sun, Nov 27, 2011 at 1:49 AM, Daniel Schmidt da Silva <
[email protected]> wrote:
> For me when "hide other applications when switching” is on I have the
> following trouble:
>
> After a while the mac application switcher gets confused. It changes the
> active app with the on the right in the switcher, so I cant’t do one normal
> cmd+tab. I have to cmd+tab and cmd+shift+tab to switch to the next
> application.
> (It’s not with all apps. It messes it up when I have safari next to sys.
> prefs., for example. Or safari and iTunes)
>
> Further ado: LiteSwitch and Witch work fine… QS just messes with the mac
> app switcher!
>
>
> Anyone having the same issue?
>
> I’m running ß63.
>