<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 15:26:19 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>[MCPE-20243] Inventory Items Disappear While Trading with Villager</title>
                <link>https://bugs.mojang.com/browse/MCPE-20243</link>
                <project id="10200" key="MCPE">Minecraft (Bedrock codebase)</project>
                    <description>&lt;p&gt;I noticed some of my primary inventory items had disappeared on day one of 1.0.4.1 after a long session of testing trading.&lt;br/&gt;
As there are several long standing bugs causing loss of items in one way or other (definately NOT &lt;a href=&quot;https://bugs.mojang.com/browse/MCPE-15010&quot; title=&quot;Sometimes the player randomly drops an item out of the hotbar&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MCPE-15010&quot;&gt;MCPE-15010&lt;/a&gt; happening here!!), I didn&apos;t report until I got time to recreate it with meaningful info.&lt;/p&gt;

&lt;p&gt;Recreation:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Using PE GUI&lt;/li&gt;
	&lt;li&gt;In a single session without exiting the villager trading GUI.&lt;/li&gt;
	&lt;li&gt;Librarian offering 1 emerald at cost of 25 paper.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Shot1 Inventory before trading: Note slots 1, 2 and 3.&lt;/p&gt;

&lt;p&gt;I cant be sure of the exact additions and trades order as I was fiddling&lt;br/&gt;
and watching how the gui behaved but essentially I was just stuffing the&lt;br/&gt;
input with as much paper as I could, to 64 obviously, then trading as much&lt;br/&gt;
as possible, then topping the input up again by long pressing a full stack&lt;br/&gt;
to refill the input slot. Kept trading until the villager locked out the offer.&lt;/p&gt;

&lt;p&gt;Shot2 Inventory after trading.&lt;br/&gt;
Note that contents of slot 1, 2 and 3 have been overwritten with paper contents.&lt;br/&gt;
The original content of Cooked Pork, Steak and Mutton have disappeared.&lt;/p&gt;

&lt;p&gt;Observations:&lt;br/&gt;
I noticed the following, if for example..&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;I loaded the 43 part stack of paper into the input slot.&lt;/li&gt;
	&lt;li&gt;Trade one emerald.&lt;/li&gt;
	&lt;li&gt;I have 18 paper in the input slot (offer is 25)&lt;/li&gt;
	&lt;li&gt;Long pressed a full stack in invetory to fill input slot to 64 (46 transfer to input slot, then input slot stops incrementing at 64)&lt;/li&gt;
	&lt;li&gt;Release the long press.
	&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
		&lt;li&gt;At this point the GUI animates a movement from the long pressed slot to some slot towards slot 1.&lt;/li&gt;
		&lt;li&gt;As I was TopUp/Trading repeatedly this happened on each top up so several times in total over the trading session.&lt;/li&gt;
		&lt;li&gt;This correlates with the number of inventory slots overwritten and items lost.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I think the overwrite/loss is happening here while reshuffling the remainder of the long pressed slot back into inventory once the slot is filled and the long press subsequently released. &lt;/p&gt;

&lt;p&gt;Other Info:&lt;br/&gt;
Villager Spawn Versions..&lt;br/&gt;
Not sure if this is a factor..&lt;br/&gt;
I&apos;m not sure on what version all of the villagers were spawned some may have been as far back as 0.14.&lt;br/&gt;
Many of them were &quot;born&quot; and raised on 1.0.4/1.0.4.1 as I have been breeding and selectively culling the villagers to shape the professions of the population and improve randomized elements of the offers.&lt;br/&gt;
I can post villager NBT data From MCPEViz logs if it helps debug.&lt;/p&gt;</description>
            <key id="164835">MCPE-20243</key>
            <summary>Inventory Items Disappear While Trading with Villager</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="3">Duplicate</resolution>
                                            <reporter username="Smeo00">Mr Smeo</reporter>
                        <labels>
                            <label>inventory</label>
                            <label>trading</label>
                            <label>villager</label>
                    </labels>
                <created>Sun, 5 Mar 2017 17:24:05 +0100</created>
                <updated>Sat, 29 Jul 2017 03:51:44 +0200</updated>
                            <resolved>Tue, 4 Apr 2017 11:09:44 +0200</resolved>
                                    <version>1.0.4.1</version>
                    <version>1.0.4.11</version>
                    <version>1.1.0.0</version>
                                                                        <votes>9</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="396089" author="lt taz" created="Sat, 29 Jul 2017 03:51:44 +0200"  >&lt;p&gt;Happens with enchanted tools and weapons. Seems random but the higher the enchantment the more likely it will disappear. &lt;/p&gt;</comment>
                            <comment id="396079" author="true delirious" created="Sat, 29 Jul 2017 03:06:48 +0200"  >&lt;p&gt;This still happing to me now it&apos;s really frustrating spend ages at a zombie spawner to get an awesome sword and then when I went to trade all the rotten flesh my sword dissapeared &lt;/p&gt;</comment>
                            <comment id="381568" author="hackerhal" created="Fri, 5 May 2017 16:35:18 +0200"  >&lt;p&gt;I play win10 in pocket mode. I switch between classic and pocket. This seems to trigger the disappearing of items from inventory. Just a thought. &lt;/p&gt;</comment>
                            <comment id="375992" author="mega_spud" created="Tue, 4 Apr 2017 11:09:44 +0200"  >&lt;p&gt;&lt;b&gt;Thank you for your report!&lt;/b&gt;&lt;br/&gt;
However, this issue has been closed as a &lt;b&gt;&lt;font color=&quot;#FF5722&quot;&gt;Duplicate&lt;/font&gt;&lt;/b&gt; of &lt;b&gt;&lt;a href=&quot;https://bugs.mojang.com/browse/MCPE-18617&quot; title=&quot;Inventory items disappear while interacting with GUI&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MCPE-18617&quot;&gt;&lt;del&gt;MCPE-18617&lt;/del&gt;&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;If you could add any additional information to that ticket it would be appreciated, as we are trying to get to the bottom of these inventory/ui bugs!&lt;/p&gt;


&lt;p&gt;&lt;b&gt;Quick Links&lt;/b&gt;:&lt;br/&gt;
&#128211; &lt;a href=&quot;http://help.mojang.com/customer/portal/articles/801354-writing-helpful-bug-reports-for-minecraft&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Issue Guidelines&lt;/a&gt; &amp;#8211; &#128172; &lt;a href=&quot;https://www.reddit.com/r/MCPE/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Community Support&lt;/a&gt; &amp;#8211; &#128231; &lt;a href=&quot;https://feedback.minecraft.net/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Feedback&lt;/a&gt; &amp;#8211; &#128214; &lt;a href=&quot;http://minecraft.gamepedia.com/Minecraft_Wiki&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Game Wiki&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="375818" author="fred la poignee" created="Mon, 3 Apr 2017 15:35:22 +0200"  >&lt;p&gt;Still happening to me after the last update (1.05) on my Ipad, exactly as Mr Smeo has described it; very annoying, I have to go trading with almost nothing in my inventory if I don&apos;t want to lose valuable items (losing an enchanted diamond sword is extremely annoying as you can guess)! I thought this was fixed, but it is not, please do something&lt;/p&gt;

&lt;p&gt;edit: this is also happening on villagers born after 1.05 in survival mode&lt;/p&gt;</comment>
                            <comment id="375701" author="smeo00" created="Mon, 3 Apr 2017 00:21:49 +0200"  >&lt;p&gt;Heh heh, cheers Zeb, aye was just having a wee chuckle &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="375697" author="zebulanstanphill@gmail.com" created="Sun, 2 Apr 2017 23:52:55 +0200"  >&lt;p&gt;&lt;a href=&quot;https://bugs.mojang.com/secure/ViewProfile.jspa?name=Smeo00&quot; class=&quot;user-hover&quot; rel=&quot;Smeo00&quot;&gt;Smeo00&lt;/a&gt;, yeah, that happens whenever a new version is added to the tracker but the admin adding it forgets to mark it as &quot;released&quot;.&lt;/p&gt;</comment>
                            <comment id="375524" author="smeo00" created="Sun, 2 Apr 2017 11:21:23 +0200"  >&lt;p&gt;@&lt;span class=&quot;error&quot;&gt;&amp;#91;Bot&amp;#93;&lt;/span&gt; Arisa,&lt;br/&gt;
What?????&lt;br/&gt;
Oh but I DO have access to 1.1.0.0 thank you very much!&lt;br/&gt;
The Bot is malfunctioning &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="375450" author="mustek2" created="Sat, 1 Apr 2017 23:08:09 +0200"  >&lt;p&gt;Please &lt;b&gt;do not&lt;/b&gt; mark &lt;em&gt;unreleased versions&lt;/em&gt; as affected.&lt;br/&gt;
You don&apos;t have access to them yet.&lt;/p&gt;</comment>
                            <comment id="375379" author="smeo00" created="Sat, 1 Apr 2017 17:27:54 +0200"  >&lt;p&gt;Affects 1.0.6&lt;/p&gt;</comment>
                            <comment id="375378" author="smeo00" created="Sat, 1 Apr 2017 17:24:11 +0200"  >&lt;p&gt;Please see &lt;a href=&quot;https://bugs.mojang.com/browse/MCPE-19511&quot; title=&quot;Random inventory items disappearing&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MCPE-19511&quot;&gt;&lt;del&gt;MCPE-19511&lt;/del&gt;&lt;/a&gt; for the comment from &quot;&lt;span class=&quot;error&quot;&gt;&amp;#91;MCPE Mod&amp;#93;&lt;/span&gt; elite041802 (Kaleb Wasmuth)&quot; which prompted adding more detailed steps to recreate this bug.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://bugs.mojang.com/browse/MCPE-20243&quot; title=&quot;Inventory Items Disappear While Trading with Villager&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MCPE-20243&quot;&gt;&lt;del&gt;MCPE-20243&lt;/del&gt;&lt;/a&gt; Villager Trading Case&lt;/p&gt;

&lt;p&gt;Setup:&lt;/p&gt;

&lt;p&gt;1. Items in inventory - Case2-1.png&lt;br/&gt;
2. Open a Farmers Trading GUI, goto Potato page - Case2-2.png&lt;/p&gt;

&lt;p&gt;3. Load Input slot with 64 Potatos from slot 3 on left hand side&lt;br/&gt;
4. Trade 15 Potato for 1 Emerald, leaving 49 Potatos in Input slot - Case2-3.png&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Up to this point all is as expected, pay close attention to next actions.&lt;/li&gt;
	&lt;li&gt;So now I want to top up the Input Slot, from slot 2 on the left.&lt;/li&gt;
	&lt;li&gt;(Obviously I cannot capture this action in a screenshot)&lt;/li&gt;
	&lt;li&gt;This is done by long pressing from a stack on the left until the Input slot is topped up.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;*&lt;b&gt;IMPORTANT BIT START&lt;/b&gt;*&lt;/p&gt;

&lt;p&gt;5. Long press slot 2 on left hand side.&lt;br/&gt;
6. Wait until the input slot refills to 64.&lt;/p&gt;

&lt;p&gt;*&lt;b&gt;NEXT STEP IS WHERE THE BUG HAPPENS&lt;/b&gt;*&lt;/p&gt;

&lt;p&gt;7. Release the long press.&lt;/p&gt;

&lt;p&gt;So, now the Input slot is filled back up to 64, from the stack of potatos in slot 2 on&lt;br/&gt;
left hand side of the Trading GUI and &lt;br/&gt;
*&lt;b&gt;the remaining 49 potatoes are returned to the Inventory&lt;/b&gt;*&lt;br/&gt;
(Confusing why it ended up with 50 in slot1 and 63 in slot2?) - Case2-4.png&lt;/p&gt;

&lt;p&gt;8. Exit Trading GUI&lt;br/&gt;
9. Open Inventory - Case2-5.png&lt;/p&gt;

&lt;p&gt;*&lt;b&gt;Obvserve that&lt;/b&gt;*&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;64 potatos have moved from the original stacks position&lt;/li&gt;
	&lt;li&gt;in slot 35, to slot 1&lt;br/&gt;
*&lt;b&gt;OVERWRITING THE ORIGINAL CONTENTS OF SLOT1, namely Glass&lt;/b&gt;*&lt;br/&gt;
^^^^^^^^^^^^^^^^^&lt;sup&gt;&lt;b&gt;THE BUG&lt;/b&gt;&lt;/sup&gt;^^^^^^^^^^^^^^^^&lt;/li&gt;
&lt;/ul&gt;

</comment>
                            <comment id="373463" author="jazak" created="Thu, 23 Mar 2017 06:28:59 +0100"  >&lt;p&gt;Can also confirm. Lost whatever is in slot 1 while trading with a Villager. &lt;/p&gt;</comment>
                            <comment id="371887" author="fred la poignee" created="Tue, 14 Mar 2017 01:18:43 +0100"  >&lt;p&gt;Same here, lost one  enchanted sword in my first inventory slot (replaced by the extra carrots that the villager didn&apos;t want because he received enough of them) while trading ; happened twice the same way.&lt;/p&gt;</comment>
                            <comment id="371354" author="fingerpickinric" created="Fri, 10 Mar 2017 11:18:35 +0100"  >&lt;p&gt;I can confirm this issue. Pick, Sword, Stack of iron bars all lost during trading.&lt;br/&gt;
This happened in a Realms world&lt;/p&gt;</comment>
                            <comment id="370824" author="smeo00" created="Sun, 5 Mar 2017 19:18:43 +0100"  >&lt;p&gt;Relates to: &lt;a href=&quot;https://bugs.mojang.com/browse/MCPE-18617&quot; title=&quot;Inventory items disappear while interacting with GUI&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MCPE-18617&quot;&gt;&lt;del&gt;MCPE-18617&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="156076">MCPE-18617</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="159171">MCPE-19511</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="136187" name="Case2-1.png" size="186587" author="Smeo00" created="Sat, 1 Apr 2017 17:24:29 +0200"/>
                            <attachment id="136188" name="Case2-2.png" size="55217" author="Smeo00" created="Sat, 1 Apr 2017 17:24:28 +0200"/>
                            <attachment id="136189" name="Case2-3.png" size="58989" author="Smeo00" created="Sat, 1 Apr 2017 17:24:28 +0200"/>
                            <attachment id="136190" name="Case2-4.png" size="59514" author="Smeo00" created="Sat, 1 Apr 2017 17:24:28 +0200"/>
                            <attachment id="136191" name="Case2-5.png" size="183752" author="Smeo00" created="Sat, 1 Apr 2017 17:24:29 +0200"/>
                            <attachment id="134760" name="Shot1.png" size="205375" author="Smeo00" created="Sun, 5 Mar 2017 17:24:05 +0100"/>
                            <attachment id="134761" name="Shot2.png" size="199123" author="Smeo00" created="Sun, 5 Mar 2017 17:24:05 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 15 Mar 2017 19:21:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10302"><![CDATA[Community Consensus]]></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_11300" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>Operating System Version</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Android 6.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10402" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Platform</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10710"><![CDATA[Phone - Android - HTC One]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0ecuf:</customfieldvalue>

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