Subject: Re: [Witch Talk] Cycling between most recently active windows does not work as expected

From: Rob Griffiths <[email-masked]>
Date: Fri, 30 Dec 2016 08:39:44 -0800

On Dec 30, 2016, at 8:33 AM, Lasse Doe <[email-masked]> wrote:

> It seems Contexts https://contexts.co/ is able to do switching as I described.
> (I have no affiliation to Contexts, just trying out different applications.)

Yea, we've seen Contexts. The two apps work very differently, and the mechanism that Witch uses to do some of what it does can't get the same info that Contexts can get. We're trying to find a solution.

-rob.

---

From: Lasse Doe <[email-masked]>
Date: Fri, 30 Dec 2016 08:33:40 -0800 (PST)

It seems Contexts https://contexts.co/ is able to do switching as I 
described.

On Friday, December 30, 2016 at 6:02:39 PM UTC+2, Many Tricks wrote:
>
> On Dec 30, 2016, at 5:26 AM, Lasse Doe <[email-masked] <javascript:>> 
> wrote: 
>
> > It seems that when I switch from App B -> App A window 1, App A window 2 
> is shown for a split second, which I guess is "activating" the window even 
> though I never activate it myself. 
>
> I think what you're seeing is, unfortunately, unavoidable: Apple makes it 
> nearly impossible for developers to work with Spaces. And to get even what 
> we have now, we have to fake a window activation somewhere. But let me 
> confirm for certain with Peter (our founder/programmer) and I'll get back 
> to you. 
>
> regards; 
> -rob.

---

From: Rob Griffiths <[email-masked]>
Date: Fri, 30 Dec 2016 08:02:42 -0800

On Dec 30, 2016, at 5:26 AM, Lasse Doe <[email-masked]> wrote:

> It seems that when I switch from App B -> App A window 1, App A window 2 is shown for a split second, which I guess is "activating" the window even though I never activate it myself.

I think what you're seeing is, unfortunately, unavoidable: Apple makes it nearly impossible for developers to work with Spaces. And to get even what we have now, we have to fake a window activation somewhere. But let me confirm for certain with Peter (our founder/programmer) and I'll get back to you.

regards;
-rob.

---

From: Lasse Doe <[email-masked]>
Date: Fri, 30 Dec 2016 05:26:34 -0800 (PST)

Hi,

I'm running Witch 4.0 Beta (3324) on macOS 10.12.2.

With spaces/windows arranged like this:

Space I
- App A window 1

Space II
- App A window 2
- App B

With a "Cycle windows" action configured to "Sort by Window Activity 
orientation ->".

When App A window 1 is open and the keyboard shorcut is pressed in 
succession this is what happens:

   - use Witch to switch to App B -> App B is active
   - press the shortcut once -> App A window 1 is active
   - press the shortcut once -> App A window 2 is active

What I would hope to happen when initially App A window 1 is open:

   - use Witch to switch to App B -> App B is active
   - press the shortcut once -> App A window 1 is active
   - press the shortcut once -> App B is active

It seems that when I switch from App B -> App A window 1, App A window 2 is 
shown for a split second, which I guess is "activating" the window even 
though I never activate it myself.

-- 
Lasse