<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:29:43 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-12074] Textures can&apos;t be overwritten while in-game</title>
                <link>https://bugs.mojang.com/browse/MC-12074</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;Hello!&lt;br/&gt;
I&apos;m making a texture pack, and when i modify my texture(s) using Photoshop,&lt;br/&gt;
i can&apos;t save over the file i&apos;m working on (from time to time).&lt;/p&gt;

&lt;p&gt;Sometimes i can save the image and then tab to minecraft, hold F3 and press T and the texture is updated, but most of the times i get an error prompt saying the &quot;file is already in use&quot;. But if i wait for like 2-5 minutes i can save it again (without closing minecraft)..&lt;br/&gt;
This makes it very tedious for us texture makers, it worked flawlessly with the old terrain.png, though i had this same problem before when editing parts of the GUI etc.&lt;/p&gt;

&lt;p&gt;The only way to solve this right now is to close minecraft, save image, re-open minecraft and log back in, or wait 2-5 minutes.&lt;/p&gt;</description>
                <environment></environment>
        <key id="26807">MC-12074</key>
            <summary>Textures can&apos;t be overwritten while in-game</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="7">Invalid</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="ozo">Robin Fernqvist</reporter>
                        <labels>
                    </labels>
                <created>Sat, 16 Mar 2013 14:28:21 +0100</created>
                <updated>Sun, 27 Apr 2014 19:36:49 +0200</updated>
                            <resolved>Sun, 11 Aug 2013 20:46:45 +0200</resolved>
                                    <version>Minecraft 1.5</version>
                    <version>Snapshot 13w11a</version>
                    <version>Minecraft 1.5.1</version>
                    <version>Minecraft 13w37b</version>
                    <version>Minecraft 13w41b</version>
                                                                        <votes>3</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="98257" author="bljat" created="Sun, 11 Aug 2013 20:46:45 +0200"  >&lt;p&gt;Texture packs are obsolete, if you have issues with resource packs, please let us know &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="67717" author="bljat" created="Tue, 21 May 2013 19:32:22 +0200"  >&lt;p&gt;Is this still a concern in the current Minecraft version? 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="60227" author="bedelato" created="Sun, 14 Apr 2013 03:00:19 +0200"  >&lt;p&gt;Happened to me in 1.5.1. Just started playing around with making a texture pack, and ran into this same issue. It&apos;s not a major project of mine, so this is only a minor bug for me, but yeah.&lt;/p&gt;

&lt;p&gt;Notably, I found that this is still an issue even when the texture pack I&apos;m trying to modify is not the active one. This is obviously a bug, as Minecraft shouldn&apos;t be reading from any pack other than the active one, right...?&lt;/p&gt;

&lt;p&gt;As mrheat and C.J. Wijtmans said, the cause is obvious: Minecraft is forgetting to release a lock on the texture pack zip file, and as a result retains exclusive access to the file when it&apos;s not strictly needed.&lt;br/&gt;
It&apos;s a very common file I/O pitfall, and the fix is trivial - just putting a texturePackZipFileObject.close() after loading the pack should suffice.&lt;/p&gt;</comment>
                            <comment id="54601" author="kaasinees" created="Sun, 17 Mar 2013 17:44:41 +0100"  >&lt;p&gt;i Guess it would be an easy fix then. file.close()&lt;/p&gt;</comment>
                            <comment id="54597" author="JIRAUSER18522" created="Sun, 17 Mar 2013 17:22:56 +0100"  >&lt;p&gt;I guess the files aren&apos;t properly closed in the Java code. Obviously they are closed by the Java garbage collector. This is why it works after a few minutes. So yes, this is a bug.&lt;/p&gt;</comment>
                            <comment id="54282" author="ozo" created="Sun, 17 Mar 2013 00:44:21 +0100"  >&lt;p&gt;Well yes, that&apos;s how they work currently, and if they&apos;re not intended to work this way, it&apos;s a bug.&lt;br/&gt;
If you don&apos;t know for sure that this is how it&apos;s meant to be, your comment just doesn&apos;t make any sense.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="80090">MC-53835</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>Sun, 14 Apr 2013 03:03:00 +0200</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_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0kjzj:</customfieldvalue>

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