Skip to content

Codex/fix cursor plane lock#460

Open
thomcuddihy wants to merge 10 commits into
mgth:masterfrom
thomcuddihy:codex/fix-cursor-plane-lock
Open

Codex/fix cursor plane lock#460
thomcuddihy wants to merge 10 commits into
mgth:masterfrom
thomcuddihy:codex/fix-cursor-plane-lock

Conversation

@thomcuddihy

Copy link
Copy Markdown

No description provided.

@mezotaken

mezotaken commented Jun 17, 2026

Copy link
Copy Markdown

Oh, i see you've updated the submodule to avoid building bug i've hit while trying to build the repo following the wiki
TY, i can use this buildable version now to fix another thing

@mezotaken

Copy link
Copy Markdown

Nope, this is incorrect. There is no such commit in the HLab.Avalonia repo, so this still won't build

PS C:\Users\mezotaken\Desktop\wtf\LittleBigMouse> git submodule update --init --recursive
Submodule 'HLab.Avalonia' (https://github.com/mgth/HLab.Avalonia.git) registered for path 'HLab.Avalonia'
Submodule 'HLab.Core' (https://github.com/mgth/HLab.Core.git) registered for path 'HLab.Core'
Cloning into 'C:/Users/mezotaken/Desktop/wtf/LittleBigMouse/HLab.Avalonia'...
Cloning into 'C:/Users/mezotaken/Desktop/wtf/LittleBigMouse/HLab.Core'...
fatal: remote error: upload-pack: not our ref fa652f2428d68fc6632d231dcf4ff995a8fdd998
fatal: Fetched in submodule path 'HLab.Avalonia', but it did not contain fa652f2428d68fc6632d231dcf4ff995a8fdd998. Direct fetching of that commit failed.

@thomcuddihy

thomcuddihy commented Jun 17, 2026

Copy link
Copy Markdown
Author

@mezotaken sorry, thought the enumerable thing was just me. Commit is in this PR: mgth/HLab.Avalonia#1

If you can't wait for merge, you can edit .gitsubmodules from:

[submodule "HLab.Avalonia"]
	path = HLab.Avalonia
        url = https://github.com/mgth/HLab.Avalonia.git

to:

[submodule "HLab.Avalonia"]
	path = HLab.Avalonia
        url = https://github.com/thomcuddihy/HLab.Avalonia.git
        branch = codex/fix-iconservice-build

@mezotaken

mezotaken commented Jun 19, 2026

Copy link
Copy Markdown

@thomcuddihy
yeah, that's something to do with the language version being set to preview in the project and not fixed. So it changed over time, and the code for enumerables became obsolete.
it builds after the submodule override, but i have a few issues and i wonder if your build has them as well

  1. When it launches, if you open the UI, it opens the window twice
  2. There are two debug buttons for exporting/importing config, which weren't there in the distributed version (i've targeted release for my build)
  3. I've built the hook and placed it accordingly (LittleBigMouse.Hook.exe near ui .exe file) , but it doesn't launch automatically, the app starts working as expected only after i run the hook manually.
    i'm pretty sure that 1 is a code/distributive mismatch because it's stated in the 5.2.3.0 release that the double launch issue was fixed, but it's still there when you build from the source. I think it wasn't commited? And 2,3 are some misconfigurations on my side most likely

@thomcuddihy

thomcuddihy commented Jun 19, 2026 via email

Copy link
Copy Markdown
Author

@mezotaken

mezotaken commented Jun 19, 2026

Copy link
Copy Markdown

i did the build in github actions, so the output is an artifact
https://github.com/mezotaken/LittleBigMouse/actions/runs/27796372888
you can see the workflow there too

win11 pro too, i don't think there's any issues here

i just don't get how it used to work in the first place? like in the version which is attached to releases. there must be some trick to it. Somehow the hook launch is automated in it already.

@mezotaken

mezotaken commented Jun 19, 2026

Copy link
Copy Markdown
image

i mean this button. it's not there in the regular version

@mezotaken

mezotaken commented Jun 19, 2026

Copy link
Copy Markdown

So the repo version is just slightly different. There are issues, i found out why hook wasn't starting, the AppData\Local\Mgth\LittleBigMouse\Excluded.txt file was created as a folder and that messed up initialization.
i stopped trying to fix all the issues, it turned out that i only needed to change the hook itself, and it worked when i copypasted new hook inside the properly installed 5.2.3.0 version. UI still runs twice now, i have no idea why, doesnt matter, i've fixed the main issue - LBM now pauses automatically whenever there's a process which captures mouse (like a game)
that's it, i'll make a draft PR but i don't really want to figure out why the source built version behaves in a different manner from the latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants