Bug 33076 - Asset catalog editor does not detect filename changes
Summary: Asset catalog editor does not detect filename changes
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: master
Assignee: Jeffrey Stedfast
URL:
: 3848 26094 ()
Depends on:
Blocks:
 
Reported: 2015-08-13 16:59 UTC by Mikayla Hutchinson [MSFT]
Modified: 2015-12-16 20:27 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Mikayla Hutchinson [MSFT] 2015-08-13 16:59:29 UTC
The asset catalog editor does not detect changes in the filenames of the assets.

To reproduce:
1. Create iOS project
2. Add icons to the AppIcons icon set
4. Leave asset catalog editor open
5. Rename one of the icon files using the solution pad

Actual result:
* The asset catalog editor still displays the icon

Expected Result:
* Simple option: asset catalog editor displays a "missing image" icon/message
* Complex option: IDE automatically fixes the content.json to use the new name
Comment 1 Jeffrey Stedfast 2015-08-13 17:07:04 UTC
It just seems to me that expecting the editor to detect filename changes that you do behind its back to be a bit... unrealistic.

It seems like this is just a trip down an endless rabbit hole because once you start down this rabbit hole from hell, then you have to also make it work in the multi-catalog editor view when a different catalog is in the open state - because hey, the editor is open, right? Even though that particular Contents.json file isn't open.

And then you need to implement support for updating the Contents.json file when the editor isn't open at all because otherwise it would be inconsistent.
Comment 3 Jeffrey Stedfast 2015-11-03 16:04:38 UTC
*** Bug 3848 has been marked as a duplicate of this bug. ***
Comment 4 Jeffrey Stedfast 2015-11-03 16:10:31 UTC
*** Bug 26094 has been marked as a duplicate of this bug. ***
Comment 5 Jeffrey Stedfast 2015-12-16 20:27:43 UTC
No longer an issue because you can't rename them anymore.