The Wayback Machine - https://web.archive.org/web/20201111234905/https://github.com/feedback-assistant/reports/issues/171
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FB8774120: Widgets of the same type, size and configuration should not have the same identifier or share snapshots #171

Open
sindresorhus opened this issue Oct 5, 2020 · 0 comments

Comments

@sindresorhus
Copy link
Member

@sindresorhus sindresorhus commented Oct 5, 2020

  • Date: 2020-10-05
  • Resolution: Open
  • Area: WidgetKit
  • OS: iOS 14.0.1
  • Type: Incorrect/Unexpected Behavior

Description

Currently, on iOS 14.0.1, if a user adds two widgets of the same type, size, and configuration, the widgets receive the same identifier and hence share snapshots, making it impossible to show different content in each. This feels very backwards and I’m assuming it’s a bug.

Reproduce:

Many widget apps (including the one mentioned above) currently work around this bug by adding a “Name”/“ID” field in the widget configuration screen where the user gives the widget a unique name, which results in the widget configuration being different, and hence gives the widget a unique identifier. This is more of a hack though, and not very user-friendly.

If this is not a bug, I would strongly recommend making it possible to force the widgets to be unique programmatically. This is what the user expects.

I have gotten countless of emails about confused users blaming my app for not working properly because multiple widgets show the same content.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.