Repository navigation
OpenLogi actions not functioning in certain active applications/windows #2583
Replies: 2 comments
|
Those windows are most likely running as administrator, and Windows blocks a normal process from injecting input into an elevated one. Process Lasso, Geek Uninstaller and an installer's reboot prompt usually run elevated. You can check in Task Manager: Details tab, right-click a column header, add Elevated. OpenLogi runs at normal level unless you start it as admin (the installer is per user with no elevation, OpenLogi.wxs, and your diagnostics show a source build, which runs at whatever level you launched it). Its clicks, shortcuts, keys and scrolls on Windows all go out through Your hover test suggests the block only applies while the elevated window is the active one. I haven't confirmed that part on Windows. The simple fix is to run those tools without admin when you don't need it. If you do need them elevated, OpenLogi would have to run at the same level, which the per-user installer doesn't do today. Since you run a source build, starting the agent as admin is a quick way to confirm it. |
|
Thank you, makes sense as Logi Options+ does run as admin. In a test,
OpenLogi ran as admin does allow full functionality.
…On Tue, Nov 17, 2026 at 11:43 AM Dylan Pulver ***@***.***> wrote:
Those windows are most likely running as administrator, and Windows blocks
a normal process from injecting input into an elevated one. Process Lasso,
Geek Uninstaller and an installer's reboot prompt usually run elevated. You
can check in Task Manager: Details tab, right-click a column header, add
*Elevated*.
OpenLogi runs at normal level unless you start it as admin (the installer
is per user with no elevation, OpenLogi.wxs
<https://github.com/AprilNEA/OpenLogi/blob/v0.9.0/packaging/windows/OpenLogi.wxs#L7-L8>,
and your diagnostics show a source build, which runs at whatever level you
launched it). Its clicks, shortcuts, keys and scrolls on Windows all go out
through SendInput (inject/windows.rs
<https://github.com/AprilNEA/OpenLogi/blob/v0.9.0/crates/openlogi-inject/src/inject/windows.rs#L174-L191>,
send_inputs
<https://github.com/AprilNEA/OpenLogi/blob/v0.9.0/crates/openlogi-inject/src/inject/windows.rs#L447-L468>).
That includes plain scrolling: a wheel event the agent reshapes (smoothing,
sensitivity, the thumb wheel) is suppressed and replayed through SendInput
(scroll_direction.rs
<https://github.com/AprilNEA/OpenLogi/blob/v0.9.0/crates/openlogi-hook/src/windows/scroll_direction.rs#L4-L6>).
Microsoft's docs for SendInput say it is subject to UIPI and may only
inject into processes at an equal or lower integrity level, and that a UIPI
block shows up in neither the return value nor GetLastError (SendInput
remarks
<https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-sendinput#remarks>).
So the replayed input is dropped silently, which is why both scroll and
button actions die together.
Your hover test suggests the block only applies while the elevated window
is the active one. I haven't confirmed that part on Windows.
The simple fix is to run those tools without admin when you don't need it.
If you do need them elevated, OpenLogi would have to run at the same level,
which the per-user installer doesn't do today. Since you run a source
build, starting the agent as admin is a quick way to confirm it.
—
Reply to this email directly, view it on GitHub
<#2583?email_source=notifications&email_token=ABKRN76KWIXSBXN233TGSOL5ZSE5HA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJWHA3DQMZRUZZGKYLTN5XKMYLVORUG64VFMV3GK3TUVRTG633UMVZF6Y3MNFRWW#discussioncomment-19686831>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKRN7ZFFIXG4SSMY2O6H535ZSE5HAVCNFSNUABJKJSXA33TNF2G64TZHMYTENBYGE4TINZSGM5UI2LTMN2XG43JN5XDWMJRGMZTENJVG6QXMAQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Uh oh!
There was an error while loading. Please reload this page.
Pre-flight checklist
Question
OpenLogi actions (mouse nor keyboard) do not function when certain applications/windows are active (see screenshot of a few). Interestingly enough, if I'm active in another app/window, I can hover over these and scroll. Otherwise, I cannot scroll or use any OpenLogi-created button actions when they're active. Why might this be?
Operating system
Windows
OpenLogi version
0.9.0
Device and connection
MX Master 3
Diagnostics report
All reactions