Skip to content

Fix a freeze when opening some movies and series on iPhone - #860

Merged
tillkruss merged 1 commit into
developfrom
fix/poster-width-freeze
Nov 8, 2026
Merged

tillkruss merged 1 commit into
developfrom
fix/poster-width-freeze

Conversation

@tillkruss

Copy link
Copy Markdown
Collaborator

Fixes #858.

The details poster stores the measured scroll view width in state and sizes itself at 40% of it. Since the content margins moved onto the scroll view in 2.1.2 (#832), that width on a 393pt iPhone settles near 361pt and then alternates between 361.333 and 361.667 forever. Each write moves the poster by a fraction of a point, which shifts a title or overview line break back and forth, so layout never converges and the main thread spins at 100%.

Width changes under one point are now ignored. Duo fold changes are hundreds of points, so the poster still resizes there. Movie details use the same modifier and get the fix too.

Reproduced on the iOS 27.2 simulator (24B114) with the real Sonarr payload for Terminator: The Sarah Connor Chronicles:

  • iPhone 16 (393pt): froze every run, from both search and the library. Opens with this change.
  • iPhone 16e (390pt) and iPhone 17 Pro Max (440pt): opened before and after.

🤖 Generated with Claude Code

The details poster stores the measured scroll view width in state and sizes itself at 40% of it. Since the content margins moved onto the scroll view in 2.1.2, that width on a 393pt iPhone settles near 361pt and then alternates between 361.333 and 361.667. Each write moves the poster by a fraction of a point, which shifts a title or overview line break back and forth, so layout never converges and the main thread spins.

Ignore width changes under one point. Duo fold changes are hundreds of points, so the poster still resizes there.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T20:35:05.225309Z f2f0f8e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tillkruss
tillkruss merged commit 0096572 into develop Nov 8, 2026
6 of 7 checks passed
@tillkruss
tillkruss deleted the fix/poster-width-freeze branch November 8, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can’t open Terminator: Sarah Conner Chronicles

1 participant