Huge lag when changing currentState for the first time in simple application, Flex 4.6?

Please try out the example code below.
The first time I click the button it takes my PC ~ 85 ms to change states. If I click the back button afterwards, then click the button again, the lag is gone and the state change is fast. I've tried changing the creation policy, seems like it has no effect and there are deeper problems
My questions are why is there lag the first time you click the button, and how do you fix it? I have an application that uses a state flow very similar to the code I have simplified below and this is really driving me nuts.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                 xmlns:s="library://ns.adobe.com/flex/spark"
                                 xmlns:mx="library://ns.adobe.com/flex/mx"
                                 xmlns:local="*"
                                 creationPolicy="all" currentState="InitialState"
                                 width="512" height="512">
          <fx:Script>
                    <![CDATA[
                              import flash.utils.getTimer;
                              protected function button1_clickHandler(event:MouseEvent):void{
                                        var time:int = getTimer();
                                        this.currentState = "ListState";
                                        trace("time to show list state:" + (getTimer() - time));
                              protected function button2_clickHandler(event:MouseEvent):void{
                                        var time:int = getTimer();
                                        this.currentState = "InitialState";
                                        trace("time to go back:" + (getTimer() - time));
                    ]]>
          </fx:Script>
          <s:states>
                    <s:State name="InitialState"/>
                    <s:State name="ListState"/>
          </s:states>
          <s:Button includeIn="InitialState" click="button1_clickHandler(event)" x="221" y="221" label="Show List State"/>
          <s:Button includeIn="ListState" x="226" y="324" label="Back" click="button2_clickHandler(event)"/>
          <s:List includeIn="ListState" x="139" y="158" itemCreationPolicy="immediate">
                    <s:dataProvider>
                              <s:ArrayList>
                                        <fx:Object/>
                                        <fx:Object/>
                              </s:ArrayList>
                    </s:dataProvider>
          </s:List>
</s:Application>
----OUTPUT----
time to show list state:84
time to go back:2
time to show list state:5
----OUTPUT----
Message was edited by: Chentleman. fixed code indentation

I am gonna be blunt and say I am quite annoyed that you did not read my post at all. 85 ms is a 1600% increase in lag, the first time the state changes. This is also a scaled down version of the problem with only a SINGLE component. The more components you add, the worse the delay gets. 
After spending a lot of time searching, this seems to be a bug that has existed for quite some time as early as Flex 4.1. https://bugs.adobe.com/jira/browse/SDK-30302. Now in flex 4.6, it is still broken with the 9 month old bug report closed and deferred
itemCreationPolicy and creationPolicy do not work at all in conjuction with includeIn/excludeIn. At least the work-around kind of works, although I am sure there are plenty of people still using the creationPolicies not knowing why their applications are so slow.

Similar Messages

  • I downloded iphoto 11 9.2 and when opened it for the first time and the program started to update my iPhoto library the file got corrupted. That has happened in the two macs I have (both of them rather new and updated to last Lion version 10.7.2).

    I downloaded Iphoto 11 9.2 from the apps store (was on iphoto '09 before version 8.x) and when opened it for the first time it tried to update my photo librery and ended up corupting it to the extreme that I had to get a backup from time capsule and downgrade my iphoto version. I spent yesterday 6 hours at the genius bar in an apple store and they were not able to provide me with any other solution. In the emantime, I have to forget about about photo streaming... Any idea, is this a bug that somebody knows how tp fix?

    In fairness, this isn't an issue in iPhoto 11 but one in your Library. Some file or other in there is damaged and that's what causes the crash during the upgrade.
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  

  • How can I delete photos from my ipad that came in when I connected for the first time to my pc?

    how can I delete photos from my ipad that came in when I connected for the first time to my pc? HELP

    Photos that were synced from your computer using iTunes can only be deleted by de-selecting them from the folder from where they were synced -  and then re-syncing.
    Connect the iPad to the PC and launch iTunes.
    Click on the iPad name on the left side under devices.
    Click on the Photos Tab on the right.
    If you want to remove all of the Photos - uncheck the Sync Photos from Heading
    Click on Apply in the lower right corner of iTunes
    If you are using iTunes 11 - this will be helpful, Setting up syncing in Windows.
    http://support.apple.com/kb/PH12313

  • Time Machine: Repeated errors when backing up for the first time using a new external firewire drive

    My Iomega 500GB firewire external drive failed on me last week and I have just replaced it with an identical model. I used to use the old drive with Time Machine on my MacBook Pro running 10.5.8 with no issues, until the drive had a hardware failure and stopped spinning up, hence the replacement.
    Two days ago I tried using Time Machine for the first time with the replacement external drive. The backup failed and each subsequent backup attempt has failed since then with a different error each time. The drive cannot be ejected using Finder (Finder says disk is in use and cannot be ejected even when no processes are running except for Finder and Time Machine has been disabled), by dragging it to the dock (hangs computer which can only be fixed by a hard reboot), in Disk Utilities (drive cannot be unmounted) or in Terminal ("no such file or directory").
    The first backup attempt failed after 3 hours of "preparing" with the message "The backup was not performed because an error occured while creating backup directory".
    I tried repairing the disk in Disk Utilities and Disk Utilities said the drive was OK ("the volume Time Machine Backups appears to be OK"). I tried ejecting the drive (hard reboot of computer and disconnecting the drive), plugging it back in again and trying again.
    This time it started backing up, then failed after a few minutes with the message "an error occured while copying files to the backup volume". I had a look at the troubleshooting suggested on http://web.me.com/pondini/Time_Machine/C3.html and followed instructions. It failed again, so I did a full reset as per http://web.me.com/pondini/Time_Machine/A4.html.
    It failed again, so I tried reparing the drive again in Disk Utilities and again it said it was OK. I tried using different cables and ports (Firewire 400 instead of Firewire 800), and backups still fail.
    I have turned off anti-virus scanning (Sophos). I have tried excluding it from Spotlight but this causes an error message from Spotlight. I have tried trashing the com.apple.TimeMachine.plist file and rebooting. I have tried selecting deselecting the drive as the back up in Time Machine preferences, selecting "None", then "Stop Backing Up" then quitting preferences, rebooting, disconnecting the drive, reconnecting the drive and selecting the drive again as the backup disk in Time Machine preferences. I have tried erasing the drive completely, rebooting, and trying to back up again.
    None of these have worked. This is a brand new drive and I do not want to have to replace it again if I do not have to.
    Does anyone have any suggestions? Thank you.

    Hello, some possible clues...
    Should you click “Start New Backup”? Not yet! If you see the dialog above, your existing Time Machine backup is corrupt, and you might not be able to recover data from it. But you can save a copy of the corrupt bundle and, perhaps, extract some data from it if needed.
    Ask yourself if Time Machine has saved data you might need before deciding what to do next:
    If you are sure you won’t need anything backed up before today, click “Start New Backup” and let Time Machine do its thing.
    Otherwise, click “Back Up Later” and save a copy before letting Time Machine start a new backup. Just look for a file called “computername.sparsebundle” (for network backups) or “Backups.backupdb” (for local ones) and create a copy with a different name. You can open sparsebundle files with DiskImageMounter and browse them like any other disk. More information is available here.
    There you go. If you click “Start New Backup” when you see this dialog box, Time Machine will erase all of your old backup data and start a new bundle. It won’t be corrupt, but it will be empty.
    Note that you can manually initiate a Time Machine backup integrity check by option-clicking the “Time Machine” icon in the menu bar and selecting “Verify Backups.”
    http://blog.fosketts.net/2010/08/11/time-machine-completed-verification-backups- improve-reliability-time-machine-create-backup/
    According to This Time Machine resource   “This appears only on Snow Leopard, and started with the Time Capsule Backup Update 1.0 in mid-May of 2010.  It also seems to have been included in the 10.6.3 v1.1 update and 10.6.4.”
    So, what can you do about it?  Grin and bear it, it seems, until Apple fixes it.
    One thing you can do to make the backup take less time is to connect your machine to your Time Capsule or other backup drive via Ethernet for the duration of the initial backup.
    http://www.theinternetpatrol.com/the-dreaded-time-machine-has-completed-a-verifi cation-of-your-backups-to-improve-reliability-time-machine-must-create-a-new-ba c kup-for-you-message-and-why-you-are-seeing-it/
    Time Machine: About "Time Machine completed a verification of your backups. To improve reliability, Time Machine must create a new backup for you."...
    http://support.apple.com/kb/HT4076
    Or a different/better solution in my experiences...
    Get carbon copy cloner to make an exact copy of your old HD to the New one...
    http://www.bombich.com/software/ccc.html
    Or SuperDuper...
    http://www.shirt-pocket.com/SuperDuper/
    Or the most expensive one & my favorite, Tri-Backup...
    http://www.tri-edre.com/english/products/tribackup.html

  • Active Directory: user has admin rights when logs in for the first time

    I have an Xserve server running OS X server 10.5.8 and trying to host _open and active directory_ for both Mac and PC machines. The open directory works fine but what happens on the active directory side is that, when a user logs in from a windows machine he/she can access all the other users folders. In other words, he/she almost has *admin rights*. Is this normal or there is some settings that I can look into to fix this?
    Details: The first time user logs in, his only effect on the server is the password change. What this means is that his changes dont get uploaded to the server. It is only the second time the user logs in from ANOTHER computer that the server starts saving the his profile. Also, after the second login the user doesnt have admin rights anymore.
    Thanks,
    MR

    If you've just changed your login password in Recovery mode, follow these instructions. Otherwise, see below.
    At some point, you may have reset your keychain to default in Keychain Access. That action would have caused your login keychain to be renamed.
    Back up all data before proceeding.
    In Keychain Access, delete the login keychain from the keychain list. Choose Delete References when prompted, not Delete References & Files.
    Triple-click anywhere in the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination command-C:
    ~/Library/Keychains
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V), and press return. A folder will open. Rename the file "login.keychain" in that folder to something like "login-old.keychain". Rename the file "login_renamed_1.keychain" to "login.keychain". You can then close the folder.
    Back in Keychain Access, select 
              File ▹ Add Keychain...
    from the menu bar. Add back the file now named "login.keychain". If any of your needed keychain items are missing from it, also add back the file you named "login-old.keychain". I suggest you transfer any needed items from that keychain to the login keychain, then delete it. The transfers are made by drag-and-drop in Keychain Access. You'll need to enter your password for each item transferred.

  • Download music from ipod when opening iTunes for the first time?

    I just got a new iMac at work and the first time I plugged my iPod into the comupter to charge it up it opened my iTunes and then started to download all my songs from my iPod. Being 7am I wasn't thinking properly and pressed cancle to stop the download, then I remember I have 500GB free memory and why shouldn't I have my music on the computer. The problem is I can't get it to download the music again. I know you not ment to be able to download from your ipod but that is what happened.
    I have tried completely uninstalling iTunes by removing the icon in Applications and in the User>Music folder to get the same result but it makes no difference, where I once had a couple of meg's worth of music which had started to download I have none. Can somebody please explain to me how this happened and how I can revert iTunes back to how it was before I opened it so I can quickly download all my music onto my computer??

    We'll unfortunately that's not true. I had though that was the case as well until this happened. I wasn't sure if this a new feature that iTunes had for when you first attach an ipod to a new iTunes (where you need to go through the terms and conditions, and set up your settings at the beginging).
    I have downloaded very little from the iTunes store and the things which got downloaded were some funny adds which I had converted and put on my ipod as well as some AC/DC, some Beatles and a collection of 179 other songs (I'd be lucky if I've downloaded 5 songs in my life from iTunes). Before deleting everything in the hope that I could do it again I even played a couple of them in case all it had done was take the album artwork or something. But they all play fine and none of them were ones I had downloaded.
    Does anyone know what's happened and how it can be repeated?
    As to the other ways of getting music of your ipod I'm aware of them and have used irip in the past without any problems. I know how to do it that way but now that I have been made aware of this other way I was wanting to clear up how it happened and if it can be repeated, say if I was to reinstall iTunes.

  • How do I get the option to capture image when placing  signature for the first time.

    According to the help screen for Adobe Reader the first time a signature is placed I should be presented with a dialog box that has the option to import a signature image.  But what I get is only the option to drag over an area of the screen to place an image which must be a pdf which requires a paid upgrade to create from an image file.
    why is the help out of sync with the program?

    Correct I’ve followed as you’ve instructed below, but this is my screen shot:
    cid:[email protected]
    Note that 3 of the options are missing: Convert PDF to Word or Excel Online, Create PDF, and Add Text or Signature are all missing. Why are these missing and how do I correct this so they can be used?
    http://forums.adobe.com/servlet/JiveServlet/showImage/2-4742280-237962/Sign.jpg

  • Unhandled exception when code runs for the first time,but works fine the second

    Hi All,
    I have the following code snippet
    private void RGL_Click(object sender, RibbonControlEventArgs e)
    Word._Document oDoc;
               oDoc = Globals.ThisAddIn.Application.ActiveDocument;
                object start = oDoc.Content.Start;
                object end = oDoc.Content.End;
                oDoc.Range(ref start, ref end).LanguageID = WdLanguageID.wdEnglishCanadian;
                oDoc.Range(ref start, ref end).NoProofing = 0;
    Microsoft.Office.Interop.Word.ReadabilityStatistic DocStats;
                    DocStats = oDoc.ReadabilityStatistics[10];------>exception occurs here when code runs first time
                    MessageBox.Show(DocStats.Name + " " + DocStats.Value);
    When I copy paste a document and click on the button it raises a COM exception but if I click continue and click on the button again, the correct grade level score is displayed.Cant figure out why this is happening.

    Thanks for the answer Eugene, this exception never shows up if I type something and click on the rgl button , but if i open a huge document that is already in Canadian english and click on this ribbon it gives me the following exception
    System.Runtime.InteropServices.COMException was unhandled by user code
      HelpLink=wdmain11.chm#36966
      HResult=-2146824090
      Message=Command failed
      Source=Microsoft Word
      ErrorCode=-2146824090
      StackTrace:
           at Microsoft.Office.Interop.Word.ReadabilityStatistics.get_Item(Object& Index)
           at UsabilityMapping_V01.Ribbon1.RGL_Click(Object sender, RibbonControlEventArgs e) in <my path> 1211
           at Microsoft.Office.Tools.Ribbon.RibbonPropertyStorage.ControlActionRaise(IRibbonControl control)
           at Microsoft.Office.Tools.Ribbon.RibbonPropertyStorage.ButtonClickCallback(RibbonComponentImpl component, Object[] args)
           at Microsoft.Office.Tools.Ribbon.RibbonManagerImpl.Invoke(RibbonComponentCallback callback, Object[] args)
           at Microsoft.Office.Tools.Ribbon.RibbonMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
           at Microsoft.Office.Tools.Ribbon.RibbonManagerImpl.System.Reflection.IReflect.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[]
    namedParameters)
      InnerException: 

  • Page with PartialTriggers is not working when it loads for the first time

    Hi All,
    I am experiencing unexpected behavior when using partial triggers and this recurres every time the page loads and the second time it works fine.
    Here is the requirement, The page has a check box, when checked, two text boxes should be disabled. When unchecked the two fields should be enabled.
    (The fields are Start Date Time and End Date Time in the code below). I am also handiling the Date Validations on value change listener of Start Date time and have no issues on that.
    When I try to enter the dates on page load (The check box - "Process Full Indicator" is not selected), I enter the required fields (PEID, Dates and check the Process IAF and Process SMS check boxes and click on the ProcessRFI Button, the date fields are emptied and nothing happens. When i redo the same thing the second time, it works.
    The button invokes a BEPL process.
    One of the links suggested that I use the partialTrigger tag in the parent layout, I used in the panelFormLayout and it sill did not reflect.
    I am facing the same issue in an other page that is reteriving data from a DB Table. As I notice, both the pages are invoking dataControlls. Not too sure if it is related.
    Kindly help.
    <af:panelFormLayout id="pfl1"
    inlineStyle="font-weight:bold; height:181px;"
    >
    <af:inputText value="#{bindings.PEID.inputValue}"
    label="PEID"
    required="#{bindings.PEID.hints.mandatory}"
    columns="#{bindings.PEID.hints.displayWidth}"
    maximumLength="#{bindings.PEID.hints.precision}"
    shortDesc="#{bindings.PEID.hints.tooltip}" id="it1"
    inlineStyle="font-weight:bold;">
    <f:validator binding="#{bindings.PEID.validator}"/>
    </af:inputText>
    <!--af:inputText value="#{bindings.EnrichmentBatchID.inputValue}"
    label="Enrichment Batch ID"
    required="#{bindings.EnrichmentBatchID.hints.mandatory}"
    columns="#{bindings.EnrichmentBatchID.hints.displayWidth}"
    maximumLength="#{bindings.EnrichmentBatchID.hints.precision}"
    shortDesc="#{bindings.EnrichmentBatchID.hints.tooltip}"
    id="it3">
    <f:validator binding="#{bindings.EnrichmentBatchID.validator}"/>
    </af:inputText-->
    <af:inputDate value="#{bindings.StartDateTime.inputValue}"
    label="Start Date Time"
    shortDesc="#{bindings.StartDateTime.hints.tooltip}"
    id="id1" inlineStyle="font-weight:bold;"
    binding="#{backing_ProcessRFI.input_startDate}"
    valueChangeListener="#{backing_ProcessRFI.assignFromDateValue}"
    autoSubmit="true"
    required="true" immediate="true">
    <f:validator binding="#{bindings.StartDateTime.validator}"/>
    <af:convertDateTime pattern="#{bindings.StartDateTime.format}" type="both"/>
    </af:inputDate>
    <af:inputDate value="#{bindings.EndDateTime.inputValue}"
    label="End Date Time"
    shortDesc="#{bindings.EndDateTime.hints.tooltip}"
    id="id2" inlineStyle="font-weight:bold;"
    binding="#{backing_ProcessRFI.input_endDate}"
    partialTriggers="id1"
    required="true"
    valueChangeListener="#{backing_ProcessRFI.checkNullStartDateValue}"
    autoSubmit="true" immediate="true">
    <af:validateDateTimeRange minimum="#{backing_ProcessRFI.dtFromDate}"
    hintMinimum="End date should be greater than the Start Date"
    />
    <f:validator binding="#{bindings.EndDateTime.validator}"/>
    <af:convertDateTime pattern="#{bindings.EndDateTime.format}" type="both"/>
    </af:inputDate>
    <af:selectBooleanCheckbox value="#{bindings.ProcessIAFIndicator.inputValue}"
    label="Process IAF"
    required="#{bindings.ProcessIAFIndicator.hints.mandatory}"
    shortDesc="#{bindings.ProcessIAFIndicator.hints.tooltip}"
    id="it2"
    inlineStyle="font-weight:bold;">
    <f:validator binding="#{bindings.ProcessIAFIndicator.validator}"/>
    </af:selectBooleanCheckbox>
    <af:selectBooleanCheckbox value="#{bindings.ProcessSMSIndicator.inputValue}"
    label="Process SMS"
    required="#{bindings.ProcessSMSIndicator.hints.mandatory}"
    shortDesc="#{bindings.ProcessSMSIndicator.hints.tooltip}"
    id="it5"
    inlineStyle="font-weight:bold;">
    <f:validator binding="#{bindings.ProcessSMSIndicator.validator}"/>
    </af:selectBooleanCheckbox>
    <af:selectBooleanCheckbox value="#{bindings.ProcessFullIndicator.inputValue}"
    label="Process Full Indicator"
    required="#{bindings.ProcessFullIndicator.hints.mandatory}"
    shortDesc="#{bindings.ProcessFullIndicator.hints.tooltip}"
    id="it4"
    inlineStyle="font-weight:bold;"
    binding="#{backing_ProcessRFI.processFullIndicator}"
    valueChangeListener="#{backing_ProcessRFI.handleFullIndicator}"
    autoSubmit="true">
    <f:validator binding="#{bindings.ProcessFullIndicator.validator}"/>
    </af:selectBooleanCheckbox>
    <af:panelStretchLayout id="psl1" inlineStyle="height:40px;">
    <f:facet name="center">
    <af:panelGroupLayout layout="horizontal"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    id="pgl2">
    <af:commandButton actionListener="#{bindings.ProcessRFI.execute}"
    text="Process RFI"
    disabled="#{!bindings.ProcessRFI.enabled}"
    id="cb2"
    attributeChangeListener="#{ProcessRFI.processResult}"/>
    <af:resetButton text="Clear" id="rb1"/>
    <f:facet name="separator">
    <af:spacer width="10" height="10" id="s2"/>
    </f:facet>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelStretchLayout>
    </af:panelFormLayout>

    Hi John,
    My page is not a part of a task flow. The whole app is an Admin app comprising of multiple individual pages navigated using Menu.
    I have tried to run this page individually on my local machine as well as when deployed on the WLS server. The behavior is the same.
    Kindly advice,
    Thanks,
    Ram

  • I installed lightroom 5 trial and I get a can't change module when I launch for the first time.

    I wanted to try Lightroom 5 before signing up for a plan, but I can't seem to make Lightroom do anything.
    I have a MacBook Pro running OS X 10.10.2.  I have Photoshop CS6 installed and I have deactivated it and it is attached to my cloud account.  I have also tried to create a new catalog, nothing seems to work.
    I would love to try this but currently I cannot get Lightroom to do anything.....

    I just found the answer for me.
    I did step 5 on this support article:
    Troubleshoot unexpected behavior | User account-specific | Adobe software | Mac OS
    It is to repair the permissions on the hidden Library folders.

  • Adobe organizer hangs and does respond when importing files for the first time?Adobe organizer hangs and does respond when importing files for the first time?

    Help!!  This is crazy. Organizer stops at 17% and freezes.  I can't import my iPhoto or picture files. Help please!

    For reference: The computer as configured just like the other systems we have...from executing the file to lockup is about 17 seconds...then about 3 minutes of lockup time before it finishes loading.
    With the Antivirus/firewall completely disabled,...from executing to lockup is about 10 seconds, then lockup is about 45 seconds. (But it still happens)
    With Antivirus/firewall on and Escript.api removed from the plugins folder, No delay, 2 seconds to the file load (but then without the editable fields)

  • Encountered an error when attempting to open Lightroom for the first time. Went to Lightroom Help and searched for the error "An error occurred when attempting to change modules". Non of the solutions helped. what now?

    Encountered an error when attempting to open Lightroom for the first time. Went to Lightroom Help and searched for the error "An error occurred when attempting to change modules". Non of the solutions helped. What now?

    I am getting this error message as well. I have just downloaded Lightroom recently. I try to click on Lightroom / preferences....and nothing happens. I tried to uninstall and it is greyed out so I can't do that either. Suggestions? Please help?

  • When using my new US ipad for the first time my computer switched it to an Australian format (where we used to live) How do I set the default to all US settings on all of my iproducts? I set them individually but when they sync with my comp they b/c AU

    When syncing my iPad for the first time to my iTunes (which was in Australia at one time but no longer) my iPad defaulted to the Australian format for phone numbers and each contact listed was now an Australian address. My iTunes is set to the USA. How/Where do I change the setting? It also changes the default to Australia on each of my iTouches and iPhones.
    Thanks!

    thanks for the help

  • IPhoto 6.0.6 throws up Error Message when used for the first time

    After 7 months since having purchased my iMac I am using iPhoto for the first time. However, as soon as the iPhoto Library is created in the Pictures folder, about 30 seconds later, I get an Error Message stating "An error occurred while trying to save your photo library. Some recent changes may be lost. Make sure your hard disk has enough space and that iPhoto is able to access the iPhoto Library folder."
    I have over 165GB on my hard disk. I have tried re-installing iLife 06 from the system disks that came in the box with my iMac. I have tried re-building the library by holding down the Option and Command keys when launching iPhoto. Nothing has helped so far.
    I have tried calling the Apple support line, but after over an hour on the phone even he didnt know what the problem was.
    Someone please help!
    Gratefully yours,
    DMEN

    Dmen
    The plist files simply record your user preferences for an application - your choice of default font, say, or the colour of the background, that sort of stuff. If this files is damaged or corrupted it can affect the app in all sorts of ways. When you trash it the app will create a new one when you next start it, and that will be the "factory defaults", but at least it will work.
    To trash the fie:
    Go to HD / Users / Your Name / Library / Preferences and find the com.apple.iphoto.plist fie, and put it in the trash.
    Then start iPhoto.
    Regards
    TD

  • When creating a custom default user profile for an image, I get the error "A keychain cannot be found to store "safari" when a new user logs in for the first time.

    My "profile" account works flawlessly with the exception of safari. I had copied the entire user template folder to the default location in OS X 10.10 and removed the entire keychain folder. However, whenever someone logs into the computer for the first time and opens Safari, they are greeted with the error message "A keychain cannot be found to store safari".

    If you've just changed your login password in Recovery mode, follow these instructions. Otherwise, see below.
    At some point, you may have reset your keychain to default in Keychain Access. That action would have caused your login keychain to be renamed.
    Back up all data before proceeding.
    In Keychain Access, delete the login keychain from the keychain list. Choose Delete References when prompted, not Delete References & Files.
    Triple-click anywhere in the line below on this page to select it, then copy the text to the Clipboard by pressing the key combination command-C:
    ~/Library/Keychains
    In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V), and press return. A folder will open. Rename the file "login.keychain" in that folder to something like "login-old.keychain". Rename the file "login_renamed_1.keychain" to "login.keychain". You can then close the folder.
    Back in Keychain Access, select 
              File ▹ Add Keychain...
    from the menu bar. Add back the file now named "login.keychain". If any of your needed keychain items are missing from it, also add back the file you named "login-old.keychain". I suggest you transfer any needed items from that keychain to the login keychain, then delete it. The transfers are made by drag-and-drop in Keychain Access. You'll need to enter your password for each item transferred.

Maybe you are looking for

  • Exporting for After effects CS3

    Hey all, im trying to export some clips from final cut pro 6 to use in After effects. How do i go about doing this without losing any quality? Thanks

  • Trouble Shutting Down Compu

    Ever since I have had my new sound card and the software that come with it (which I think is the problem) I have had a hard time shutting down my computer.When I hit "shut down" or "restart" I get some of those "program is not responding" windows whe

  • Unique constraint fired when updating in MERGE statement.

    Hi guys I have an issue which I am unable to resolve. Would appreciate any help on this. The data setup and the scenario is as below. SQL*Plus: Release 10.2.0.1.0 - Production on Wed May 4 11:46:02 2011 Copyright (c) 1982, 2005, Oracle.  All rights r

  • IE ignoring CSS all of the sudden

    So out of the blue IE stops responding to CSS. It used to work, now it doesn't.  FF and Safari/Chrome display correctly.  I've combed the code (which is currently only 165 lines) and I am simply stumped. http://www.melsbgc.com/index.php (I posted a s

  • Will one of the Jetpack devices work as always on internet?

    I would very much like to replace the cable internet service provider in my home.  I have a sufficient data plan to handle our home browsing needs, and I would like to get a jet pack device that runs all the time.  I purchased the 4510L, but it appea