Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 11 22H2 Cursors being applied to the wrong slots #154

Closed
ShayBox opened this issue Oct 23, 2023 · 7 comments
Closed

Windows 11 22H2 Cursors being applied to the wrong slots #154

ShayBox opened this issue Oct 23, 2023 · 7 comments

Comments

@ShayBox
Copy link

ShayBox commented Oct 23, 2023

I installed all the cursors/pointers using the install.inf file but everyone is in the wrong slot.

image
image
image
image

I'm on Windows 11 22H2 (22621.2428)

This is an unrelated request and I know the old Bee/Rainbow/Zebra cursors are unsupported, but could you fix this issue?, they still work otherwise, and don't need any other changes. I really like the animated cursors and want to use them.

@stanio
Copy link
Contributor

stanio commented Oct 28, 2023

The install.inf appears to have a cursor list in the wrong order:

[Scheme.Reg]
HKCU,"Control Panel\Cursors\Schemes","%SCHEME_NAME%",,"%10%\%CUR_DIR%\%alternate%,%10%\%CUR_DIR%\%busy%,%10%\%CUR_DIR%\%cross%,%10%\%CUR_DIR%\%dgn1%,%10%\%CUR_DIR%\%dgn2%,%10%\%CUR_DIR%\%grabbing%,%10%\%CUR_DIR%\%handwriting%,%10%\%CUR_DIR%\%help%,%10%\%CUR_DIR%\%horz%,%10%\%CUR_DIR%\%link%,%10%\%CUR_DIR%\%move%,%10%\%CUR_DIR%\%pan%,%10%\%CUR_DIR%\%person%,%10%\%CUR_DIR%\%pin%,%10%\%CUR_DIR%\%pointer%,%10%\%CUR_DIR%\%text%,%10%\%CUR_DIR%\%unavailable%,%10%\%CUR_DIR%\%vert%,%10%\%CUR_DIR%\%work%,%10%\%CUR_DIR%\%zoom-in%,%10%\%CUR_DIR%\%zoom-out%"

It appears sorted alphabetically:

%10%\%CUR_DIR%\%alternate%
%10%\%CUR_DIR%\%busy%
%10%\%CUR_DIR%\%cross%
%10%\%CUR_DIR%\%dgn1%
%10%\%CUR_DIR%\%dgn2%
%10%\%CUR_DIR%\%grabbing%
%10%\%CUR_DIR%\%handwriting%
%10%\%CUR_DIR%\%help%
%10%\%CUR_DIR%\%horz%
%10%\%CUR_DIR%\%link%
%10%\%CUR_DIR%\%move%
%10%\%CUR_DIR%\%pan%
%10%\%CUR_DIR%\%person%
%10%\%CUR_DIR%\%pin%
%10%\%CUR_DIR%\%pointer%
%10%\%CUR_DIR%\%text%
%10%\%CUR_DIR%\%unavailable%
%10%\%CUR_DIR%\%vert%
%10%\%CUR_DIR%\%work%
%10%\%CUR_DIR%\%zoom-in%
%10%\%CUR_DIR%\%zoom-out%

While it should be:

HKCU,"Control Panel\Cursors\Schemes","%SCHEME_NAME%",,"%10%\%CUR_DIR%\%pointer%,%10%\%CUR_DIR%\%help%,%10%\%CUR_DIR%\%work%,%10%\%CUR_DIR%\%busy%,%10%\%CUR_DIR%\%cross%,%10%\%CUR_DIR%\%text%,%10%\%CUR_DIR%\%handwriting%,%10%\%CUR_DIR%\%unavailable%,%10%\%CUR_DIR%\%vert%,%10%\%CUR_DIR%\%horz%,%10%\%CUR_DIR%\%dgn1%,%10%\%CUR_DIR%\%dgn2%,%10%\%CUR_DIR%\%move%,%10%\%CUR_DIR%\%alternate%,%10%\%CUR_DIR%\%link%,%10%\%CUR_DIR%\%pin%,%10%\%CUR_DIR%\%person%,%10%\%CUR_DIR%\%pan%,%10%\%CUR_DIR%\%grabbing%,%10%\%CUR_DIR%\%zoom-in%,%10%\%CUR_DIR%\%zoom-out%"

Listed vertically:

%10%\%CUR_DIR%\%pointer%
%10%\%CUR_DIR%\%help%
%10%\%CUR_DIR%\%work%
%10%\%CUR_DIR%\%busy%
%10%\%CUR_DIR%\%cross%
%10%\%CUR_DIR%\%text%
%10%\%CUR_DIR%\%handwriting%
%10%\%CUR_DIR%\%unavailable%
%10%\%CUR_DIR%\%vert%
%10%\%CUR_DIR%\%horz%
%10%\%CUR_DIR%\%dgn1%
%10%\%CUR_DIR%\%dgn2%
%10%\%CUR_DIR%\%move%
%10%\%CUR_DIR%\%alternate%
%10%\%CUR_DIR%\%link%
%10%\%CUR_DIR%\%pin%
%10%\%CUR_DIR%\%person%
%10%\%CUR_DIR%\%pan%
%10%\%CUR_DIR%\%grabbing%
%10%\%CUR_DIR%\%zoom-in%
%10%\%CUR_DIR%\%zoom-out%

A quick online search reveals:

The cursor schemes contain the path to the cursors for the different cursor types as a comma delimited list. Below are the individual pieces.

  • Arrow, Help, AppStarting, Wait, Crosshair, IBeam, NWPen, No, SizeNS, SizeWE, SizeNWSE, SizeNESW, SizeAll, UpArrow, Hand (without the leading spaces)

The given list doesn't include the newer "Pin" and "Person" entries (#133). Not sure about the last four:

%10%\%CUR_DIR%\%pan%
%10%\%CUR_DIR%\%grabbing%
%10%\%CUR_DIR%\%zoom-in%
%10%\%CUR_DIR%\%zoom-out%

They get truncated after being saved to the Registry, at least on Windows 10.

@stanio
Copy link
Contributor

stanio commented Oct 29, 2023

@ShayBox, you may give one of the packages I've attached to #149 (comment) a try.

@ShayBox
Copy link
Author

ShayBox commented Oct 29, 2023

Those worked! 👍 Though they were installed as duplicates because they lack the Cursors suffix like before, without it they match the Classic cursors, but don't match the Bee/Rainbow/Zebra cursors. I just had to delete the old ones manually.

@Ember04
Copy link

Ember04 commented Dec 13, 2023

Any solution for this? I just installed and saw the problem. The order is in a mess

@stanio
Copy link
Contributor

stanio commented Dec 14, 2023

@Ember04, any of:

  • If you're using the Modern variants you could give the packages referenced in Windows 11 22H2 Cursors being applied to the wrong slots #154 (comment) a try;

  • You could try fixing the install.inf as suggested in Windows 11 22H2 Cursors being applied to the wrong slots #154 (comment), before installing:

    --- a\install.inf
    +++ b\install.inf
    @@ -23,7 +23,7 @@
     Scheme.Cur = 10,"%CUR_DIR%"
    
     [Scheme.Reg]
    -HKCU,"Control Panel\Cursors\Schemes","%SCHEME_NAME%",,"%10%\%CUR_DIR%\%alternate%,%10%\%CUR_DIR%\%busy%,%10%\%CUR_DIR%\%cross%,%10%\%CUR_DIR%\%dgn1%,%10%\%CUR_DIR%\%dgn2%,%10%\%CUR_DIR%\%grabbing%,%10%\%CUR_DIR%\%handwriting%,%10%\%CUR_DIR%\%help%,%10%\%CUR_DIR%\%horz%,%10%\%CUR_DIR%\%link%,%10%\%CUR_DIR%\%move%,%10%\%CUR_DIR%\%pan%,%10%\%CUR_DIR%\%person%,%10%\%CUR_DIR%\%pin%,%10%\%CUR_DIR%\%pointer%,%10%\%CUR_DIR%\%text%,%10%\%CUR_DIR%\%unavailable%,%10%\%CUR_DIR%\%vert%,%10%\%CUR_DIR%\%work%,%10%\%CUR_DIR%\%zoom-in%,%10%\%CUR_DIR%\%zoom-out%"
    +HKCU,"Control Panel\Cursors\Schemes","%SCHEME_NAME%",,"%10%\%CUR_DIR%\%pointer%,%10%\%CUR_DIR%\%help%,%10%\%CUR_DIR%\%work%,%10%\%CUR_DIR%\%busy%,%10%\%CUR_DIR%\%cross%,%10%\%CUR_DIR%\%text%,%10%\%CUR_DIR%\%handwriting%,%10%\%CUR_DIR%\%unavailable%,%10%\%CUR_DIR%\%vert%,%10%\%CUR_DIR%\%horz%,%10%\%CUR_DIR%\%dgn1%,%10%\%CUR_DIR%\%dgn2%,%10%\%CUR_DIR%\%move%,%10%\%CUR_DIR%\%alternate%,%10%\%CUR_DIR%\%link%,%10%\%CUR_DIR%\%pin%,%10%\%CUR_DIR%\%person%,%10%\%CUR_DIR%\%pan%,%10%\%CUR_DIR%\%grabbing%,%10%\%CUR_DIR%\%zoom-in%,%10%\%CUR_DIR%\%zoom-out%"
    
     [Wreg]
     HKCU,"Control Panel\Cursors",,0x00020000,"%SCHEME_NAME%"
    @@ -47,7 +47,7 @@
     HKCU,"Control Panel\Cursors",IBeam,0x00020000,"%10%\%CUR_DIR%\%text%"
     HKCU,"Control Panel\Cursors",No,0x00020000,"%10%\%CUR_DIR%\%unavailable%"
     HKCU,"Control Panel\Cursors",SizeNS,0x00020000,"%10%\%CUR_DIR%\%vert%"
    -HKCU,"Control Panel\Cursors",AppStarteng,0x00020000,"%10%\%CUR_DIR%\%work%"
    +HKCU,"Control Panel\Cursors",AppStarting,0x00020000,"%10%\%CUR_DIR%\%work%"
     HKCU,"Control Panel\Cursors",Zoom-in,0x00020000,"%10%\%CUR_DIR%\%zoom-in%"
     HKCU,"Control Panel\Cursors",Zoom-out,0x00020000,"%10%\%CUR_DIR%\%zoom-out%"
     HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Runonce\Setup\","",,"rundll32.exe shell32.dll,Control_RunDLL main.cpl @0,1"
  • You could set up a "Bibata" cursor theme/scheme manually, as suggested in Install under Windows user account doesn't work #137 (comment)

ful1e5 added a commit to ful1e5/clickgen that referenced this issue Dec 21, 2023
ful1e5 added a commit that referenced this issue Dec 26, 2023
@ful1e5
Copy link
Owner

ful1e5 commented Dec 31, 2023

@ShayBox I hope this issue is resolved in v2.0.5.

@ful1e5
Copy link
Owner

ful1e5 commented Jan 12, 2024

Closing due to inactivity. Can reopen later.

@ful1e5 ful1e5 closed this as completed Jan 12, 2024
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

No branches or pull requests

4 participants