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

Items and cursor turn invisible when trying to re-order items in inventory #336

Open
pprotas opened this issue Sep 30, 2022 · 3 comments
Open

Comments

@pprotas
Copy link

pprotas commented Sep 30, 2022

Platform:
macos 12.6 ARM64 (M1 chip)
Minecraft version:
1.19 and 1.19.2 tested
Forge version:
1.19 and 1.19.2
Controllable version:
0.16.5-1.19. and 0.16.5-1.19.2

Everything seems to work fine except this. When I open up my inventory and try to move my items around, they turn invisible. My cursor also turns invisible, so I can not see where I am placing the item. Placing items in a different place works fine, but I just can not see the cursor. This means I have no idea where I will be dropping the item, since it's hard to keep track of where the cursor is.

I tested 1.19 and 1.19.2. Tried turning off "Virtual Mouse", but turning off that feature makes this mod unusable. I can not navigate the menus & my inventory at all if I disable this option.

I don't have Optifine installed.

@bfuchs
Copy link

bfuchs commented Nov 4, 2022

I have the same problem on macOS 11.5. In my case the icon of the item is offset way to the right. So if I move my cursor all the way to the left of the screen I can see the icon. But it is impossible to use the inventory because the offset is like half the screen size.

@bfuchs
Copy link

bfuchs commented Nov 4, 2022

I figured out a workaround. I changed the setting "Fullscreen Resolution" in the "Video Settings" menu to exactly half of my screen resolution and set "Fullscreen" to "ON". The hover icon is now not offset anymore.

Native display resolution: 2560 x 1600
Fullscreen Resolution setting: 1280 x 800

@em843
Copy link

em843 commented Dec 9, 2022

@bfuchs Thanks so much, that worked for me. It took me a bit to realize that Fullscreen - ON was a setting within Minecraft.

michaeltyson added a commit to michaeltyson/Controllable that referenced this issue Sep 8, 2023
…entory

The mouse cursor coordinate conversion was using “getScreenWidth()” rather than “getWidth()” (i.e. using the screen size, rather than the window size), which was resulting in an incorrect scaling factor. This fixes it, in all the places it’s used.

This should fix:

MrCrayfish#440 - Inventory Items are far off screen to the right when selected
MrCrayfish#425 - Inventory Movement Issues
MrCrayfish#336 - Items and cursor turn invisible when trying to re-order items in inventory
MrCrayfish#214 - MacOS Distortion [Unplayable] on ALL Mod Versions
MrCrayfish#37 - Bug: Mouse icon moves to other Minecraft screen, or vanishes when in inventory

This issue is a show-stopper on macOS, and possibly on Windows with a Hi-DPI display, so I believe it’s quite high priority.
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

3 participants