Looks like this is where the focus op fails, will need to spend time investigating this in the win32 API docs.
@LGUG2Z commented on GitHub (Jun 12, 2022):
https://github.com/LGUG2Z/komorebi/blob/master/komorebi/src/window.rs#L202
Looks like this is where the focus op fails, will need to spend time investigating this in the win32 API docs.
The AttachThreadInput function fails if either of the specified threads does not have a message queue. The system creates a thread's message queue when the thread makes its first call to one of the USER or GDI functions. The AttachThreadInput function also fails if a journal record hook is installed. Journal record hooks attach all input queues together.
@LGUG2Z commented on GitHub (Jun 12, 2022):
> The AttachThreadInput function fails if either of the specified threads does not have a message queue. The system creates a thread's message queue when the thread makes its first call to one of the USER or GDI functions. The AttachThreadInput function also fails if a journal record hook is installed. Journal record hooks attach all input queues together.
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-attachthreadinput
This has been tested and fixed on the master branch and will be included in the next release (no timeframe yet). For now you can either build the latest version from source, or download the prebuilt binaries from here once the build is finished.
@LGUG2Z commented on GitHub (Jun 12, 2022):
This has been tested and fixed on the master branch and will be included in the next release (no timeframe yet). For now you can either build the latest version from source, or download the prebuilt binaries from [here](https://github.com/LGUG2Z/komorebi/actions/runs/2482078253) once the build is finished.
This has been tested and fixed on the master branch and will be included in the next release (no timeframe yet). For now you can either build the latest version from source, or download the prebuilt binaries from here once the build is finished.
Awesome! Thank you
@calendulish commented on GitHub (Jun 12, 2022):
> This has been tested and fixed on the master branch and will be included in the next release (no timeframe yet). For now you can either build the latest version from source, or download the prebuilt binaries from [here](https://github.com/LGUG2Z/komorebi/actions/runs/2482078253) once the build is finished.
Awesome! Thank you
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @calendulish on GitHub (Jun 11, 2022).
When I try to focus Whatsapp Beta UWP app it's throwing "Access Denied" error.
The app can be download here:
https://www.microsoft.com/store/productId/9NBDXK71NK08
komorebic state
komorebic.log
@LGUG2Z commented on GitHub (Jun 12, 2022):
I am also able to reproduce this on my machine. Will look into this when I get a bit more time. 🙏
@LGUG2Z commented on GitHub (Jun 12, 2022):
https://github.com/LGUG2Z/komorebi/blob/master/komorebi/src/window.rs#L202
Looks like this is where the focus op fails, will need to spend time investigating this in the win32 API docs.
@LGUG2Z commented on GitHub (Jun 12, 2022):
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-attachthreadinput
@LGUG2Z commented on GitHub (Jun 12, 2022):
This has been tested and fixed on the master branch and will be included in the next release (no timeframe yet). For now you can either build the latest version from source, or download the prebuilt binaries from here once the build is finished.
@calendulish commented on GitHub (Jun 12, 2022):
Awesome! Thank you