Forum Discussion

blrb's avatar
blrb
New Contributor
2 months ago

Bug when opening app after creating a new item or editing an item.

I'm experiencing this same issue on 1Password for iOS 8.10.68 81068014, on PRODUCTION, iOS version 18.3.2. Could you please share the solution?  It seems to have been deleted or was a DM.

Though I've just now decided to look into the cause of the issue, the problem has persisted through several 1Password and iOS updates.    I'm currently experiencing the issue once again, just as described by @strikingviolin 's original post.  The issue does not occur EVERY time I create a new item...just every now and then.

2 Replies

  • Hello blrb! 👋

    I'm sorry that you're seeing an item open up as a draft after you've already saved it. The issue being discussed in the old thread was resolved with a bug fix and I've split your post into a new thread so that we can discuss the new issue that you're running into separately.

    Are you able to post some reproduction steps that I can follow to try to reproduce the issue? For example, do you create a new item and then lock the 1Password for iOS app? And the draft of the item appears after you unlock the app? Does the issue occur randomly or can you reproduce it on demand? 

    -Dave 

    • blrb's avatar
      blrb
      New Contributor

      Hello Dave,

      Thanks for following up with me! Sincerely appreciate your support with this issue that just won't go away for me.

      I did a little methodical testing & narrowing down, and it appears the issue is tied to the app closing (not just locking) while an unsaved draft item is open.  I followed these steps several times, and was able to get a "Ghost Draft" to appear each time:

      1. Create a New Item ("+" button) in 1Password.
      2. Completely Kill 1Password by swiping it up, before saving the draft item.
      3. Re-open 1Password and the unsaved draft item reappears.*
      4. I hit "Save" on the the draft item.
      5. It saves the item to my vault and I am then presented with the "All Items" list.
      6. Once again, I completely close 1Password by swiping up.
      7. When I open 1Password, the "Ghost Draft" appears.
      8. Like all new items, the Ghost Draft can go two directions- "Save" or "Cancel":
        1. If I "Save" the Ghost Draft, a second, duplicate copy of the item will be created in my vault and will remain there until deleted.  In addition, a new Ghost Draft will appear each time i open the 1Password after it being EITHER locked OR closed.  If I save the second Ghost Draft, a third copy will be saved to my vault, etc.  The behavior will keep repeating as long as I keep saving the Ghost Drafts.
        2. However, if I "Cancel" and then hit "Delete Draft", no additional Ghost Draft(s) will be created, a duplicate copy of the item is not saved to my vault, and all go back to "normal"...

       

      Some other observations I had:

      • * If i merely lock my phone in Step #3, the draft will not appear upon unlocking & reopening 1Password.  This is opposite of the behavior that I would expect...I would think the draft shouldn't get lost if you merely locked the app/phone, but it would be understandable if the draft was lost due to a complete close/shutdown before saving it.
      •  Just want to reiterate that only completely closing the app while there is an unsaved draft item on screen triggers the bad behavior.  However, once it is triggered the first time, Ghost Drafts can be created every time the app/locks...not just when it is killed/closed.
      • Ghost drafts will "stack up", appearing one after another upon re-opening the app.  If you don't Save or Cancel the Ghost Draft before the app/phone locks or closes, another Ghost Draft will be created.  Stacked Ghost Drafts will pop up, one after another, if you begin Closing/Saving them.  Stacks of Ghost Drafts will re-appear if you Save them.
      • FYI- I do NOT normally force-close 1Password or other apps.  I'm just doing it here as it was the only way I could keep reproducing the issue.  I think this is why the issue seems to come an go for me...Something or another causes the app to completely close every now and then (without my input)...perhaps a crash or something going on in the background?

       

      Hopefully that all makes sense!...Again, appreciate the help!

      -b