Good news everyone! On a google excursion I stumbled on the solution for the side mouse buttons (button 4/5) either not working, or causing the settings menu to pop up.
The problem is caused by JRE7 with older versions of LWJGL. Some change in JRE7's handling of the mouse inputs added natural support for the extra mouse buttons (JRE6 was limited to 3 buttons without native code). With the added support, button events are detected by the app, but doesn't know how to handle it. This is causing the cursor to exit the frame (same as ESC does) and bring up the menu. That feature might be an emergency pause built into MC in case the user switched windows by accident, but thats just speculation on my part.
To solve this, you need to update the LWJGL resources to the current version (2.8.4), which literally came out this month, adding 5 button mouse support in the system. Not only does it stop the side buttons from dropping the cursor out of the frame, it makes them fully mappable in game.
Heres what you need:
1. First download the latest stable version of LWJGL. http://www.lwjgl.org/download.php
2. Open the file using any zip supported program
3. Copy and overwrite the following files to the following directories
From- \lwjgl-2.8.4.zip\lwjgl-2.8.4\native\windows
To- %appdata%\.minecraft\bin\natives
(all the DLL files)
4. Start Minecraft like normal
5. Enjoy not having weird mouse button issues.
NOTE: This has only been tested on Windows7. Linux and OSX doesn't appear to have the menu issue, but this upgrade should still add additional button support. (remember to use the correct Natives)
I know this is an old topic but I had been searching for a good hour now untill I found this. Many for you good sir and saving me from having to play on JRE6
I am having this exact problem but I don't have more than three buttons on my mouse. BUT I am having this exact problem. I'll keep looking through the site but any assistance would be helpfull. I've done the above step and also removed the "jre1.7.0_05_x64" folder from whereever it was locallow/sun/java. Correction I've replaced the folder and it still does not work
I just tried this w/a Logitech G90 (I don't believe the model matters, but if you want to know) and mouse4 no longer opens the menu, but it does stop you from moving if you were/are at the time of the mouse4 press. :\
good news - bad news. (minecraft crouch problem, sneak problem, place block stops sneak, mouse click stops sneak)
XP, 32 bit, java 1.7.0_02, minecraft 1.4.2
Installing lwjgl-2.8.5.zip as instructed above fixed the problem with my side mouse buttons. HOWEVER -- now whenever I use the mouse, it freezes/stops whatever keyboard button I'm currently pressing until I let up on it.
ex: If I'm running forward (holding down w) and I press a mouse button -- I stop. I can still move in other directions - however I cannot run forward until I LET GO of w and press it again. Effectively pressing a mouse button RELEASES all keyboard buttons, despite the fact that I'm holding them down.
The above is tolerable compared to one serious problem that makes this lwjgl workaround unusable. You cannot "sneak" and build along edges. Sneaking involves holding down the shift key, and the moment I place a block with the mouse, the shift key "releases" and WHOOPS over the edge I go.
Uninstalling lwjgl-2.8.5 and going back to what came with minecraft resolves this problem (but of course puts me back to not having mouse 4 or 5, which I like for multiplayer voice chat).
Dag nab it, the only reason I upgraded java was to try and solve crash problems, and it turns out the crash problems are (apparently) due to java or lwjgl problems with far render distances on 32 bit systems. The latter is actually *not* acceptable -- there is no acceptable circumstance that should cause a hard crash in a program -- render glitches and caught exceptions meaning it stops rendering something, etc, fine. But there's no reason java itself should ever DIE. That means there's some horrible uncaught problem in lwjgl or java itself.
I am NOT buying a new motherboard and throwing $150 more at Microsoft for Win7 just to play Minecraft.
So -- medium viewdistance and a downgrade to java 1.6.x so I can use mouse5 for teamspeak and still use crouch/sneak and the mouse at the same time? Maybe break down and map a keyboard key to teamspeak instead of mouse 4/5.
edit: oh for... this is exactly what Kreychek was saying above. So that's two of us.
Those having problems with the mouse buttons releasing keyboard buttons like Kreychek and ckMiner, The problem is LWJGL-2.8.5. LWJGL-2.8.4 works perfectly, and you can download it here.
OK im having a really anoying problem and i need help now
When im in my minecraft inventory and i click on any item, it acts though as if its a shift click. IM not holding shift or anything. So i would anything in my inventory and i want to mave it to my hot bar i click the item i want to use and it diectly moves to the hot bar. And this is all in "survival". Can someone help me with this annoying automatis shift clicking!!!!!!!
Glad to know I am not the only one having these issues. get louder!! These are minor issues with larger implications to ease of gameplay we just gotta get them known.
Yeah, this fixed the menu problem on my side buttons, But Now I have an even worse problem.
Whenever I click ANY button on my mouse while Im moving I stop moving!
Its sooo annoying.
Did this with 2.9.0 and works great with no movement problems so far. I have windows xp and a microsoft wireless mobile mouse 6000. Only just installed so if any other problems come about will edit.
The problem is caused by JRE7 with older versions of LWJGL. Some change in JRE7's handling of the mouse inputs added natural support for the extra mouse buttons (JRE6 was limited to 3 buttons without native code). With the added support, button events are detected by the app, but doesn't know how to handle it. This is causing the cursor to exit the frame (same as ESC does) and bring up the menu. That feature might be an emergency pause built into MC in case the user switched windows by accident, but thats just speculation on my part.
To solve this, you need to update the LWJGL resources to the current version (2.8.4), which literally came out this month, adding 5 button mouse support in the system. Not only does it stop the side buttons from dropping the cursor out of the frame, it makes them fully mappable in game.
Heres what you need:
1. First download the latest stable version of LWJGL. http://www.lwjgl.org/download.php
2. Open the file using any zip supported program
3. Copy and overwrite the following files to the following directories
From- lwjgl-2.8.4.zip\lwjgl-2.8.4\jar\
To- %appdata%\.minecraft\bin\
jinput.jar
lwjgl.jar
lwjgl_util.jar
From- \lwjgl-2.8.4.zip\lwjgl-2.8.4\native\windows
To- %appdata%\.minecraft\bin\natives
(all the DLL files)
4. Start Minecraft like normal
5. Enjoy not having weird mouse button issues.
NOTE: This has only been tested on Windows7. Linux and OSX doesn't appear to have the menu issue, but this upgrade should still add additional button support. (remember to use the correct Natives)
But I never mentioned deleting any folders.... all your doing is overwritting some files in .minecraft\bin. You sure your in the right thread?
Windows 7, latest Java 7 at the time of writing.
XP, 32 bit, java 1.7.0_02, minecraft 1.4.2
Installing lwjgl-2.8.5.zip as instructed above fixed the problem with my side mouse buttons. HOWEVER -- now whenever I use the mouse, it freezes/stops whatever keyboard button I'm currently pressing until I let up on it.
ex: If I'm running forward (holding down w) and I press a mouse button -- I stop. I can still move in other directions - however I cannot run forward until I LET GO of w and press it again. Effectively pressing a mouse button RELEASES all keyboard buttons, despite the fact that I'm holding them down.
The above is tolerable compared to one serious problem that makes this lwjgl workaround unusable. You cannot "sneak" and build along edges. Sneaking involves holding down the shift key, and the moment I place a block with the mouse, the shift key "releases" and WHOOPS over the edge I go.
Uninstalling lwjgl-2.8.5 and going back to what came with minecraft resolves this problem (but of course puts me back to not having mouse 4 or 5, which I like for multiplayer voice chat).
Dag nab it, the only reason I upgraded java was to try and solve crash problems, and it turns out the crash problems are (apparently) due to java or lwjgl problems with far render distances on 32 bit systems. The latter is actually *not* acceptable -- there is no acceptable circumstance that should cause a hard crash in a program -- render glitches and caught exceptions meaning it stops rendering something, etc, fine. But there's no reason java itself should ever DIE. That means there's some horrible uncaught problem in lwjgl or java itself.
I am NOT buying a new motherboard and throwing $150 more at Microsoft for Win7 just to play Minecraft.
So -- medium viewdistance and a downgrade to java 1.6.x so I can use mouse5 for teamspeak and still use crouch/sneak and the mouse at the same time? Maybe break down and map a keyboard key to teamspeak instead of mouse 4/5.
edit: oh for... this is exactly what Kreychek was saying above. So that's two of us.
It works just fine for me.
Thanks for the posts guys. This issue was really bothering me.
When im in my minecraft inventory and i click on any item, it acts though as if its a shift click. IM not holding shift or anything. So i would anything in my inventory and i want to mave it to my hot bar i click the item i want to use and it diectly moves to the hot bar. And this is all in "survival". Can someone help me with this annoying automatis shift clicking!!!!!!!
Whenever I click ANY button on my mouse while Im moving I stop moving!
Its sooo annoying.