mojira.dev

Hamish Arblaster

Assigned

No issues.

Reported

MC-255800 (MacOS) Holding Control and pressing left click does a right click on macOS Duplicate MCPE-44604 1 character seeds generate randomly instead of using the input Fixed MCPE-35523 Minecraft doesn't open on Samsung Galaxy Note 3 with LOS 14.1 Duplicate MCPE-32634 I cannot middle click items to duplicate them in the Windows 10 Edition or its equivalent on Xbox Cannot Reproduce MC-87968 Looking At Enderman Crashes Minecraft Duplicate MC-83592 You Cannot Enchant Bows Duplicate MCPE-8245 You do not catch on fire from mobs which are on fire. Fixed MCPE-8244 Rottten Flesh Does Nothing Works As Intended MCPE-8243 delete item glitch Duplicate MCPE-8242 Boats Dont Always Spawn Invalid MCPE-8241 Infinite Items and fly on survival Duplicate MCPE-8240 edit world screen dosnt work Duplicate MCPE-8239 Go Through Any Block Invalid

Comments

Can confirm it's fixed for me

I will also note that my mod (https://github.com/hamarb123/MCMacOSInputFixes) works on all of 1.14-1.20, and supports some customisation settings to control precisely what behaviour you want 🙂.

@timofey_s, you can also use my mod which is much easier to do since it's just a fabric mod and doesn't require installing apps & setting up permissions (https://www.curseforge.com/minecraft/mc-mods/macos-input-fixes), but it's 1.14+ currently only though. You can also make the function keys the function buttons in macOS settings if you want - this will change it system wide, but you can change it back later if you want - it just swaps when you need to press fn / not press fn for the keys (system preferences / keyboard settings, somewhere in there I think (I've got a touchbar so they're slightly different settings, but an equivalent set of options also exists for me)).

Hi, there is a page for issues in my mod: https://github.com/hamarb123/MCMacOSInputFixes/issues. The scroll swapping on the hotbar was intentional and actually makes it consistent with how the rest of macOS scrolls (it can also be inverted by the natural scrolling direction option in macOS itself but this will change all of the scrolling obviously), note that Minecraft actually swaps specifically hotbar scrolling intentionally hence why I did this to make it what it 'should be', but I've had a few people comment about it, so I was planning to add an option to change the hotbar scrolling back. I've created a Github issue for it, feel free to add notifications to it so you can see when it gets released https://github.com/hamarb123/MCMacOSInputFixes/issues/1.

Modified copy of what I put in my duplicate issue MC-255800

This is not done by LWJGL at all (it may have been in older versions, but definitely isn't in 1.19 - I suspect not since 1.13).

This should be resolved as works as intended instead. I had a look at the input code for this and discovered that it was actually done by Minecraft in the input code. I think this is bad since it makes using the default controls basically not playable on a real mouse. This should be (imo) removed or an option, since it makes it impossible to sprint and left click on a normal mouse, but can be somewhat useful on a trackpad (not useful enough imo to make the game substantially worse on macOS when using a mouse compared to other platforms).
Fabric function name that implements this - Mouse.onMouseButton

This should be resolved as works as intended instead. I had a look at the input code for this and discovered that it was actually done by Minecraft in the input code. I think this is bad since, as I said, this makes using the default controls basically not playable on a real mouse. This should be (imo) removed or an option, since it makes it impossible to sprint and left click on a normal mouse, but can be somewhat useful on a trackpad (not useful enough imo to make the game substantially worse on macOS when using a mouse compared to other platforms).
Edit: fabric function name that implements this - Mouse.onMouseButton

Edit 2: I am copying this message to the one I'm apparently a duplicate of.

Thanks for you reply,

If this is caused by LWJGL (which is my suspicion), this (or one of the others) should still be left open as it is a serious flaw in the input in Minecraft. It means that by sprinting you can no longer left click, which is ridiculous - is that not a bug?

I've created an example app that just detects scrolling in a way that is consistent when shift is pressed and when the user scrolls horizontally or vertically. See here: https://github.com/hamarb123/mc-121772-examplefix. I hope that these are integrated into Minecraft, but I plan to possibly make a modified glfw that will do this correctly (it can also easily be implemented in Java using objective c bridges and the addLocalMonitorForEventsMatchingMask:handler: api or overriding the appropriate methods like I did in my example).

It also fixes other issues (such as my new issue MC-255800 - I couldn't find an open one for this, which is where holding control and then left clicking does a right click instead). See the link earlier for all the issues it fixes. Some are included here:

  • Can detect Mouse Buttons other than left, right, and middle to an effectively arbitrary degree

  • Make trackpad scrolling not scroll a rediculous number of items at once

  • Fixing momentum scrolling (which is where macOS changes the scroll value depending on how quickly you are scrolling, making it difficult to aim for the correct item)

  • Stops scrolling on trackpad when fingers aren't on trackpad

I think that a reasonable solution would be to add invert vertical and horizontal mouse wheel options to the menu screens.

I will look into whether there are any APIs that can solve all of our input issues on macOS.

That's incorrect, firstly it was introduced in 1.13 (ie. If you play <=1.12 you still don't experience it). Secondly, being able to scroll sideways is not a bug and shouldn't even be able to be turned off, it is a feature on every modern OS. I believe it's one of the libraries that minecraft uses that causes the issue.

Where do I get this updated version? macOS packages OpenAL with it, and I've already tried Soft OpenAL's latest version and it didn't fix it.

Edit: Thank you so much! I build https://github.com/kcat/openal-soft myself and it works now!

Hi, I have this issue too. Please show that you care about macOS, you've ignored many macOS-only bugs that make the game unusable eg. MC-121772.

Hi, I have this issue too. Please show that you care about macOS, this bug makes the game unusable and it's existed since 1.13. It is not hard to fix since the mod https://github.com/andyvanee/hscroll works for versions up to 1.16 (it's not updated to 1.17 yet), which is a 76-line code fix, I shouldn't have to mod the game to make it work.

Hi, I have this issue too. Please show that you care about macOS, you've ignored many macOS-only bugs that make the game unusable eg. MC-121772.

@unknown I have updated the google doc, and also note, you do not need to artificially create those seeds as you can do it with seeds from my doc (even -1!). I also added the newer versions.

@unknown I see what you did there, clever

@unknown Try a seed from the document I've added.

This has been fixed in the 1.6 update for Samsung Galaxy Note 3

Â