<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 11:53:31 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MC-1159] Mouse wrongly positioned in fullscreen</title>
                <link>https://bugs.mojang.com/browse/MC-1159</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;When opening an interface (eg crafting menu) while the game is in fullscreen, the mouse is not placed at the center of the screen, but rather in the bottom left quadrant of the screen.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What I expected to happen was...:&lt;/b&gt;&lt;br/&gt;
Opening an interface and the mouse being in the center of the screen.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;What actually happened was...:&lt;/b&gt;&lt;br/&gt;
The mouse was in the bottom left quadrant of the screen&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;br/&gt;
1. Open any game in minecraft and put the game in fullscreen (either through menu option or F11)&lt;br/&gt;
2. Open an interface, such as inventory, but don&apos;t move the mouse&lt;br/&gt;
3. Notice mouse is not centered.&lt;/p&gt;</description>
                <environment>Windows 7 64bit, Windows XP 32 bit, Linux 64 bit, Linux 32 bit. Java 7.09</environment>
        <key id="12468">MC-1159</key>
            <summary>Mouse wrongly positioned in fullscreen</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="dinnerbone">[Mojang] Nathan Adams</assignee>
                                    <reporter username="cubethethird">[Mod] CubeTheThird</reporter>
                        <labels>
                            <label>center</label>
                            <label>interface</label>
                            <label>menu</label>
                            <label>mouse</label>
                            <label>position</label>
                    </labels>
                <created>Mon, 29 Oct 2012 15:14:04 +0100</created>
                <updated>Thu, 7 May 2015 12:45:52 +0200</updated>
                            <resolved>Thu, 12 Sep 2013 16:47:50 +0200</resolved>
                                    <version>Minecraft 1.4.2</version>
                    <version>Minecraft 1.4.3</version>
                    <version>Minecraft 1.4.4</version>
                    <version>Minecraft 1.4.5</version>
                    <version>Snapshot 12w50b</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Snapshot 13w02b</version>
                    <version>Snapshot 13w03a</version>
                    <version>Snapshot 13w04a</version>
                    <version>Snapshot 13w05b</version>
                    <version>Snapshot 13w06a</version>
                    <version>Minecraft 1.6.2</version>
                                    <fixVersion>Minecraft 1.6.1</fixVersion>
                                                        <votes>19</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="102540" author="cubethethird" created="Thu, 12 Sep 2013 16:47:51 +0200"  >&lt;p&gt;Seems to have been fixed as of 1.6.1&lt;/p&gt;</comment>
                            <comment id="98144" author="grave" created="Sun, 11 Aug 2013 08:03:36 +0200"  >&lt;p&gt;Still an issue as of this post.&lt;/p&gt;</comment>
                            <comment id="65205" author="cubethethird" created="Mon, 6 May 2013 03:47:57 +0200"  >&lt;p&gt;@Evan, could you please clarify?&lt;/p&gt;</comment>
                            <comment id="65130" author="evoogd20" created="Sun, 5 May 2013 18:34:09 +0200"  >&lt;p&gt;Can you add an Attachment?&lt;/p&gt;</comment>
                            <comment id="50521" author="cubethethird" created="Wed, 6 Mar 2013 22:52:34 +0100"  >&lt;p&gt;@Uku, jonathan2520: I am simply stating that the current behaviour follows that of a bug (an inconsistent behaviour of sorts), and needs to be corrected. The proposition of changing said behaviour, regardless of the change, diverging from the original and apparent intended behaviour is considered that of a feature request, which is why I recommend putting it on the forums. I am not stating that this proposed fix is wrong/invalid, but rather this may not be the best place to bring attention to it.&lt;/p&gt;</comment>
                            <comment id="50510" author="jonathan2520" created="Wed, 6 Mar 2013 22:32:39 +0100"  >&lt;p&gt;Hey, wow. Apparently LWJGL has had all the plumbing in place for a few years. Apply Uku&apos;s fix right nao!&lt;/p&gt;

&lt;p&gt;CubeTheThird: I think this is a bug for practical purposes. Its supposed status as feature of some sort is contested, at least.&lt;/p&gt;</comment>
                            <comment id="50506" author="cubethethird" created="Wed, 6 Mar 2013 22:19:17 +0100"  >&lt;p&gt;If you want to request that as a feature, I would recommend posting it on the MC forums &lt;a href=&quot;http://goo.gl/7qGlN&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="50498" author="kukusnoukkis" created="Wed, 6 Mar 2013 22:05:45 +0100"  >&lt;p&gt;I&apos;d have to agree with jonathan2520 &amp;amp; adam giraudet.&lt;br/&gt;
Please just remove the centering feature and let it remember the position. It&apos;s very frustrating. On my own computer I always run a personal mod that removes the line &quot;Mouse.setCursorPosition(...)&quot; from MouseHelper.ungrabMouseCursor(). Actual production code would likely need some additional checks if the window size changes, but shouldn&apos;t be too complicated.&lt;/p&gt;</comment>
                            <comment id="47242" author="monestic" created="Sat, 23 Feb 2013 19:17:24 +0100"  >&lt;p&gt;Worked for me in 1.4.7 release?&lt;/p&gt;</comment>
                            <comment id="44682" author="cubethethird" created="Sat, 9 Feb 2013 07:11:20 +0100"  >&lt;p&gt;I will assume you mean 13w06a.&lt;/p&gt;</comment>
                            <comment id="44676" author="ian5133" created="Sat, 9 Feb 2013 06:08:16 +0100"  >&lt;p&gt;Bug is still present in 13w06a&lt;br/&gt;
Windows 7 64 bit 1920x1080 resolution&lt;/p&gt;</comment>
                            <comment id="39506" author="johnboy769" created="Thu, 24 Jan 2013 21:59:21 +0100"  >&lt;p&gt;Issue is still apparent in the newest update, 13w04a, is present in 13w03a, as well as 13w02b for Environments Windows 8 x64,  Java 7 Update 9, J Just so everyone is aware. If I wanted to fix it, I just had to maximize my window before going fullscreen. &lt;/p&gt;</comment>
                            <comment id="37761" author="code.vtek" created="Fri, 18 Jan 2013 04:14:38 +0100"  >&lt;p&gt;Issue still occurs in Update 1.4.7 Re-log is required to reset. Hopefully issue is addressed. &lt;/p&gt;</comment>
                            <comment id="36373" author="cooldud655" created="Sun, 13 Jan 2013 11:25:22 +0100"  >&lt;p&gt;ah sry I went from maximized into fullscreen not windowed into fullscreen. It appears into the 1st slot of the hotbar. Also all minecraft would have to do is recenter the pointer. This it what happens in the web version (it also causes that flickering mouse thing in the web version (maybe if it only recentered after fullscreening)) also I fail to see how this could REALLY effect how you play minecraft. Also remembering where the mouse was would be nice &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="36340" author="kumasasa" created="Sun, 13 Jan 2013 09:13:21 +0100"  >&lt;p&gt;not fixed for Win7, Java 7 U 9&lt;/p&gt;</comment>
                            <comment id="36338" author="jonathan2520" created="Sun, 13 Jan 2013 08:20:05 +0100"  >&lt;p&gt;13w02b: Not fixed for 13w02b/OS X 10.6.8. Fullscreen just uses the would-be center of the last window size, which is fortunately pretty close if you maximized the window before going fullscreen.&lt;/p&gt;

&lt;p&gt;Wouldn&apos;t it be nice if Minecraft remembered the last pointer position? When doing a lot of inventory work it feels pretty awkward to have it reset to the same place every time, even if that place is the center. Better to place it where it was when I last closed an inventory (or menu or the like), I&apos;d say. If I leave the pointer somewhere, I want it to stay there as in any other application.&lt;/p&gt;</comment>
                            <comment id="36281" author="mid_kid" created="Sun, 13 Jan 2013 01:04:54 +0100"  >&lt;p&gt;not fixed for me (linux 64 bit, java JDK 7 update 10, minecraft 13w12b)&lt;/p&gt;</comment>
                            <comment id="36279" author="cooldud655" created="Sun, 13 Jan 2013 00:56:04 +0100"  >&lt;p&gt;attempt to reproduce failed (13w02b) maybe fixed?&lt;/p&gt;</comment>
                            <comment id="31877" author="austinj" created="Tue, 1 Jan 2013 05:05:56 +0100"  >&lt;p&gt;Issue still occurs in 1.4.6 release. It is cause by pushing F11 from a non-maximized window. Screen Resolution: 1920x1080&lt;/p&gt;</comment>
                            <comment id="29165" author="kumasasa" created="Mon, 17 Dec 2012 22:54:50 +0100"  >&lt;p&gt;Can confirm on a monitor 1680 x 1050.&lt;br/&gt;
This issue is half fixed:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;If the game starts in fullscreen mode: &lt;b&gt;Works not&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;If the game starts in windowed mode: &lt;b&gt;Works&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;If the game starts in windowed mode and is fullscreened by F11: &lt;b&gt;Works not&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;If the game starts in windowed mode and mode is maximized (but still windowed): &lt;b&gt;Works&lt;/b&gt;&lt;/li&gt;
	&lt;li&gt;If the windowed, maximised mode is fullscreened by F11: &lt;b&gt;Still Works !&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="29160" author="otsel7" created="Mon, 17 Dec 2012 22:41:21 +0100"  >&lt;p&gt;I am still getting this issue on 1.4.6 pre-release. I am using a 16:10 screen with a resolution of 1680x1050 if that helps.&lt;/p&gt;</comment>
                            <comment id="28552" author="minecrafter302" created="Sat, 15 Dec 2012 06:47:44 +0100"  >&lt;p&gt;I can confirm this for Mac. Still occurs in snapshot 12w50b&lt;/p&gt;</comment>
                            <comment id="21743" author="cubethethird" created="Thu, 15 Nov 2012 13:45:58 +0100"  >&lt;p&gt;Updated. Still occurs on 1.4.4.&lt;/p&gt;</comment>
                            <comment id="19274" author="kumasasa" created="Wed, 7 Nov 2012 22:23:41 +0100"  >&lt;p&gt;Confirmed&lt;/p&gt;</comment>
                            <comment id="17721" author="selbram" created="Sat, 3 Nov 2012 18:28:58 +0100"  >&lt;p&gt;I have tested this and can confirm. If you use F11 to go fullscreen and then open the inventory, the mouse is not in the center where I expect it to be. It appears in the bottom left quadrant centered.&lt;/p&gt;</comment>
                            <comment id="15158" author="chalmes" created="Mon, 29 Oct 2012 20:38:00 +0100"  >&lt;p&gt;Confirmed.&lt;/p&gt;

&lt;p&gt;When playing MC in a window, the mouse cursor defaults to the centre.&lt;/p&gt;

&lt;p&gt;When playing MC fullscreen, the size of the window in windowed mode is used to determine where the cursor is placed.&lt;/p&gt;

&lt;p&gt;So if you make your MC window really small, then switch to fullscreen and open your inventory, the cursor will be right down the bottom left.&lt;br/&gt;
If you then go back to windowed, make the window almost fit the screen, switch back and open inventory, the cursor will almost be in the correct place.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="20567">MC-7757</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13449">MC-2057</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 15 Nov 2012 13:45:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0mpnb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>