<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:16:48 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-8141] Chat Macro Error</title>
                <link>https://bugs.mojang.com/browse/MC-8141</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;specifically this issue occurs when i use chat macros (typing very-fast/instantly)&lt;/p&gt;

&lt;p&gt;Expected behavior: minecraft detects &apos;t&apos; has been pushed then immediately puts whatever text is in the input buffer(i assume this is how it works) into the chat/command line&lt;/p&gt;

&lt;p&gt;Actual behavior: minecraft detects &apos;t&apos; has been press and opens chat, but fails to input other pressed keys into the chat&lt;/p&gt;

&lt;p&gt;Possible reason for bug: minecraft detects &apos;t&apos; has been pressed and opens chat, but does not start inputting text until next frame/tick, discarding all text entered before that point.&lt;/p&gt;

&lt;p&gt;To reproduce:&lt;/p&gt;

&lt;p&gt;1. Get some macro software or a macro supporting gaming keyboard&lt;br/&gt;
2. record a macro for pressing &apos;t&apos;, typing something, then pressing enter&lt;br/&gt;
3. run macro in-game in minecraft&lt;br/&gt;
4. note how the chat opens, but no text is entered&lt;/p&gt;

&lt;p&gt;(Workaround - add delay into macro of about 50ms between pressing &apos;t&apos; and typing text, may not be supported by all software, and is annoying to do instead of &apos;quick macros&apos; which are recorded on-the-fly in-game)&lt;/p&gt;</description>
                <environment>java 7 Update 11, windows 7 x64 SP1</environment>
        <key id="21012">MC-8141</key>
            <summary>Chat Macro Error</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="4">Incomplete</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jack1197">Jack Wilkie</reporter>
                        <labels>
                            <label>chatbox</label>
                            <label>delay</label>
                            <label>lost</label>
                            <label>text</label>
                    </labels>
                <created>Wed, 23 Jan 2013 02:59:04 +0100</created>
                <updated>Tue, 14 Feb 2017 16:08:41 +0100</updated>
                            <resolved>Tue, 14 Feb 2017 16:08:41 +0100</resolved>
                                    <version>Minecraft 1.4.6</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Snapshot 13w03a</version>
                    <version>Snapshot 13w07a</version>
                    <version>Snapshot 13w09a</version>
                    <version>Minecraft 1.5</version>
                    <version>Snapshot 13w11a</version>
                    <version>Minecraft 1.5.1</version>
                    <version>Minecraft 1.5.2</version>
                    <version>Snapshot 13w23b</version>
                    <version>Minecraft 1.7.2</version>
                    <version>Minecraft 1.7.4</version>
                    <version>Minecraft 14w28b</version>
                                                                        <votes>3</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="366032" author="JIRAUSER71590" created="Tue, 14 Feb 2017 16:08:41 +0100"  >&lt;p&gt;Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.&lt;/p&gt;</comment>
                            <comment id="266170" author="kumasasa" created="Wed, 18 Nov 2015 23:10:06 +0100"  >&lt;p&gt;Is this still an issue in the current Minecraft Snapshot &lt;b&gt;15w47a&lt;/b&gt; or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="174416" author="jack1197" created="Mon, 14 Jul 2014 22:56:53 +0200"  >&lt;p&gt;ok, sorry if i was a bit hostile, im just a bit annoyed with having to update this issue even when i dont play the game anymore&lt;/p&gt;

&lt;p&gt;I will add this, the issue seems to be somewhat improved in recent versions, sometimes only loosing a few letters, and occasionally working properly, however it is clearly not completly fixed&lt;/p&gt;</comment>
                            <comment id="174337" author="torabi" created="Mon, 14 Jul 2014 16:38:30 +0200"  >&lt;p&gt;Many parts of the game have gone through massive rewrites over the last few major revisions, and it&apos;s expected that many bugs will have been fixed as a result, without the developers having set out to specifically fix those bugs. Thus, we ask the people most familiar with the bug and how to reproduce it to check if it still exists when the game has been updated. There have been cases where we didn&apos;t quite understand the reproduction steps (or accurate ones weren&apos;t provided), tested for the bug, and believed it had been fixed when we could not reproduce it.&lt;/p&gt;

&lt;p&gt;Since &lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=dinnerbone&quot; class=&quot;user-hover&quot; rel=&quot;dinnerbone&quot;&gt;dinnerbone&lt;/a&gt;&apos;s rewrite of the chat system apparently didn&apos;t catch this, I&apos;ll bring it to his attention.&lt;/p&gt;</comment>
                            <comment id="173789" author="jack1197" created="Sat, 12 Jul 2014 23:49:22 +0200"  >&lt;p&gt;It is still an issue with the latest snapshot&lt;/p&gt;

&lt;p&gt;Me not replying in a reasonable time is complete bullshit, this is 1 and a half years old, i have updated it several times due to being requested to, absolutely no action has been taken, it wont be fixed unless someone fixes it. I even fixed it myself some time ago with mcp. I haven&apos;t even actively played minecraft in over a year. If you keep treating issues like this then quite a few will never be resolved due to people getting annoyed with your bullshit, just fix the issue already. this isnt exactly a critical bug, but its still annoying, i almost gave up on it, and probably will next time.&lt;/p&gt;</comment>
                            <comment id="143305" author="ezekielelin" created="Wed, 26 Feb 2014 23:39:49 +0100"  >&lt;p&gt;Is this still a concern in the latest Minecraft version &lt;b&gt;14w08a&lt;/b&gt;? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="128991" author="jack1197" created="Sat, 4 Jan 2014 23:08:42 +0100"  >&lt;p&gt;yes, it is still valid(updated), please just fix this now/soon, otherwise the version will have to be updated again, which i will forget, resulting in yet another message like this one, and the issue not being resolved&lt;/p&gt;</comment>
                            <comment id="121463" author="talven81" created="Tue, 26 Nov 2013 22:00:41 +0100"  >&lt;p&gt;Is this still a concern in the &lt;em&gt;current Minecraft version&lt;/em&gt; &lt;b&gt;1.7.2&lt;/b&gt; / Launcher version &lt;b&gt;1.3.4&lt;/b&gt; ? If so, please &lt;em&gt;update the affected versions&lt;/em&gt; in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="69109" author="jack1197" created="Mon, 27 May 2013 06:03:41 +0200"  >&lt;p&gt;can someone comment, or do anything to this, it has been months since the last activity, and i would like this bug fixed in vanilla&lt;/p&gt;</comment>
                            <comment id="54970" author="jack1197" created="Mon, 18 Mar 2013 07:47:04 +0100"  >&lt;p&gt;renamed to chat macro error&lt;/p&gt;</comment>
                            <comment id="54969" author="jack1197" created="Mon, 18 Mar 2013 07:46:02 +0100"  >&lt;p&gt;yes it is, updated with steps to reproduce&lt;/p&gt;</comment>
                            <comment id="39223" author="jack1197" created="Wed, 23 Jan 2013 06:44:12 +0100"  >&lt;p&gt;i have found a fix using MCP, so it wont look exactly the same to the source code at mojang, but it should be similar enough to showcase what has been changed&lt;/p&gt;

&lt;p&gt;in Minecraft.java, where keyboard events are handled, just before the handling of mouse events, change this:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-style: solid;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-style: solid;&quot;&gt;&lt;b&gt;Minecraft.java&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;                                }
				var8 = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.gameSettings.chatVisibility != 2;

				&lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.gameSettings.keyBindInventory.isPressed()) {
					&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.displayGuiScreen(&lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; GuiInventory(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.thePlayer));
				}

				&lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.gameSettings.keyBindDrop.isPressed()) {
					&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.thePlayer.dropOneItem(GuiScreen.isCtrlKeyDown());
				}

				&lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.gameSettings.keyBindChat.isPressed() &amp;amp;&amp;amp; var8) {
					&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.displayGuiScreen(&lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; GuiChat());
				}

				&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.currentScreen == &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt; &amp;amp;&amp;amp; &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.gameSettings.keyBindCommand.isPressed() &amp;amp;&amp;amp; var8) {
					&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.displayGuiScreen(&lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; GuiChat(&lt;span class=&quot;code-quote&quot;&gt;&quot;/&quot;&lt;/span&gt;));
				}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;to this&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-style: solid;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-style: solid;&quot;&gt;&lt;b&gt;Minecraft.java&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
				var8 = &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.gameSettings.chatVisibility != 2;

				&lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.gameSettings.keyBindInventory.isPressed()) {
					&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.displayGuiScreen(&lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; GuiInventory(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.thePlayer));
				}

				&lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.gameSettings.keyBindDrop.isPressed()) {
					&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.thePlayer.dropOneItem(GuiScreen.isCtrlKeyDown());
				}

				&lt;span class=&quot;code-keyword&quot;&gt;while&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.gameSettings.keyBindChat.isPressed() &amp;amp;&amp;amp; var8) {
					GuiChat guiChat = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; GuiChat();
					&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.displayGuiScreen(guiChat);
					guiChat.handleInput();
				}

				&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.currentScreen == &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt; &amp;amp;&amp;amp; &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.gameSettings.keyBindCommand.isPressed() &amp;amp;&amp;amp; var8) {
					GuiChat guiChat = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; GuiChat(&lt;span class=&quot;code-quote&quot;&gt;&quot;/&quot;&lt;/span&gt;);
					&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.displayGuiScreen(guiChat);
					guiChat.handleInput();
				}
			}

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;it basicly tells the chatGui to handle input after it is created&lt;/p&gt;

&lt;p&gt;also make sure to move that semi-colon from the top of the snippet to the bottom so that all of that code is included in the while(Keyboard.next()){} loop&lt;/p&gt;

&lt;p&gt;I have tested this and it fixes the issue perfectly, however i do not understand what all of the code does perfectly, so i suggest not using this fix immediately and instead, see what changed and fix that&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="92405">MC-64947</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></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_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0gnin:</customfieldvalue>

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