Giter Site home page Giter Site logo

Comments (28)

 avatar commented on May 13, 2024 1

experiencing the same issue on 10.15.3 (19D76)

from alfredswitchwindows.

mandrigin avatar mandrigin commented on May 13, 2024 1

@gbstan hey! I’ve recently upgraded myself and facing the same issue. Right now I’m traveling too much to give it enough attention, but I’ll try to debug it asap (maybe in a week or two).

from alfredswitchwindows.

fow5040 avatar fow5040 commented on May 13, 2024 1

Yep - let me fork really quick

from alfredswitchwindows.

mandrigin avatar mandrigin commented on May 13, 2024 1

Thanks a lot for your help!

from alfredswitchwindows.

mandrigin avatar mandrigin commented on May 13, 2024 1

@ubuntudroid whoops, it didn't upload the first time. fixed now, thanks!

from alfredswitchwindows.

gbstan avatar gbstan commented on May 13, 2024

Launching the core EnumWindows program in the terminal from the workflow folder gives the following:

./EnumWindows --search="Finder"
<items></items>

i.e. other programmes don't return anything for some reason on Catalina

from alfredswitchwindows.

gbstan avatar gbstan commented on May 13, 2024

I have checked and Alfred is added to Accessibility settings too.

from alfredswitchwindows.

mandrigin avatar mandrigin commented on May 13, 2024

@gbstan thanks for your investigation! Unfortunately, I don’t have Catalina right now (can’t install it because it will break some of the software I use for work). I might have access to it early next year and I will try to debug the stuff.

What if you try to add the EnumWindows itself to the accessibility settings?

from alfredswitchwindows.

gbstan avatar gbstan commented on May 13, 2024

Hi @mandrigin: That's a good suggestion. I have tried it but unfortunately it didn't work. Same output in the debugger as well, i.e. only the safari tabs but no other window from any other programme.

from alfredswitchwindows.

zihaojiang avatar zihaojiang commented on May 13, 2024

I have the same problem. Catalina MacOS 10.15

from alfredswitchwindows.

gbstan avatar gbstan commented on May 13, 2024

Hi @mandrigin, is there a way I can help? This is one of my most used workflows and I would love to have it working again on Catalina.

from alfredswitchwindows.

gbstan avatar gbstan commented on May 13, 2024

Amazing!

from alfredswitchwindows.

fow5040 avatar fow5040 commented on May 13, 2024

Hi guys - recently started using this Workflow (solid work, btw!) and non-tab window switching doesn't work for me!

Digging a little closer, it seems like 'kCGWindowName' always returns 'nil' on Catalina 10.15.3 - googling finds other devs running into the same issue. The code that accesses this property is in EnumWindows/Windows.swift.

I've only been playing with this for a while, but it looks like we could either:

  • Reference 'kCGWindowOwnerName' instead of 'kCGWindowName' for the Process name
  • Haven't tested yet, but perhaps there are other ways to explicitly access the window name [similar issue]

I've been able to get the app half working by referencing wi.appName instead of wi.name, but then the Alfred result title isn't as appealing any more.

EDIT: Changing this to kCGWindowOwnerName fixed it for me, though that may be the naive solution

from alfredswitchwindows.

mandrigin avatar mandrigin commented on May 13, 2024

@fow5040 great findings! can you show the code? (feel free to open a PR here)

from alfredswitchwindows.

fow5040 avatar fow5040 commented on May 13, 2024

Submitted!

from alfredswitchwindows.

mandrigin avatar mandrigin commented on May 13, 2024

let me take a look

from alfredswitchwindows.

mandrigin avatar mandrigin commented on May 13, 2024

looks good, let me test it quickly and release

from alfredswitchwindows.

mandrigin avatar mandrigin commented on May 13, 2024

@fow5040 https://github.com/mandrigin/AlfredSwitchWindows/releases/tag/0.3.2

from alfredswitchwindows.

fow5040 avatar fow5040 commented on May 13, 2024

Happy to help!

from alfredswitchwindows.

gbstan avatar gbstan commented on May 13, 2024

I have just installed the latest version (0.3.3) but it still doesn't seem to work.
I have allowed the EnumWindow to work (via the Security & Privacy -> General when it appeared there) too.

Am I missing something?

from alfredswitchwindows.

gbstan avatar gbstan commented on May 13, 2024

It works by typing the name of the app. Then I see a list of all the windows for this app. Unfortunately, the name of each window/tab is the same for all items of this list making it impossible to know which one corresponds to what (contrary to what was possible before when you could literally just search for strings in the titles of the windows/tabs without even knowing which apps they were belonging to/open with)

from alfredswitchwindows.

mandrigin avatar mandrigin commented on May 13, 2024

@gbstan I think I found a way to fix it better.

from alfredswitchwindows.

gbstan avatar gbstan commented on May 13, 2024

from alfredswitchwindows.

mandrigin avatar mandrigin commented on May 13, 2024

@gbstan https://github.com/mandrigin/AlfredSwitchWindows/releases/tag/0.3.4

note that Alfred should be allowed to record screen (Catalina will ask on the first 'w')

from alfredswitchwindows.

mandrigin avatar mandrigin commented on May 13, 2024

updated the readme too

from alfredswitchwindows.

mandrigin avatar mandrigin commented on May 13, 2024

work for me on 10.15.3

from alfredswitchwindows.

ubuntudroid avatar ubuntudroid commented on May 13, 2024

@mandrigin Looks like the latest release does not contain a workflow asset. Is it built and added asynchronously?

from alfredswitchwindows.

gbstan avatar gbstan commented on May 13, 2024

Yes, it is working now.
Thank you!

from alfredswitchwindows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.