Urgent.News

650+ sources. One page. See who else covered it.

Editions

Tech

I set the font to the largest size and found the same bug eleven times

I was cleaning up the UI on a side-project iOS app and did one thing: set Dynamic Type to XXXL and screenshot every screen. Reading the code had turned up nothing. The screenshots showed problems immediately. Eleven of them, in the end. All the same cause. Here's the conclusion first. "A parent that pins things side by side" × "text that grows" is not a bug, it's a pattern. And in Japanese it…

The reporter set the Dynamic Type font size to the largest option and took screenshots of each screen in an iOS app. After reviewing the code, no issues were found, but the screenshots revealed eleven identical bugs. The root cause was a parent view that pinned elements side-by-side, while the text grew in size. This layout pattern worked well for English but caused problems in Japanese.

Japanese text wraps more frequently, leading to vertical stacking of words and a column that becomes one character wide. This issue manifested differently across the eleven screens, but the fix was the same: adjust the layout for rows with values, while keeping affordances like chevrons and toggles on the right. The reporter found this issue by taking screenshots at the standard size and discovering that a wrapping sentence among other children caused the problem.

The reporter also discovered that a Picker with a Toggle should not be pinned to the right, as it led to a broken interface. Additionally, UI tests hadn't been run at the maximum text size, which led to the discovery of further issues. The reporter concluded that fixing one instance of the bug fixed all eleven screens. The reporter emphasizes the importance of thoroughly testing all screens, especially when encountering similar layout patterns, and not declaring convergence until all screens have been examined.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Deprecation Doesn't Reach the Copies

Originally published on hexisteme notes . I keep my operating judgment in small, versioned files — one file per decision, each with a status, a list of what it supersedes, and a change history.

  • Deprecation rule failed to catch valuable insights
  • Rule initially aimed to filter responses with <70% consistency
  • New rule clarifies consistency score as diagnostic tool

Architecting a Low-Power Geofencing Engine for Android Background Services

Opening hook It happened during a quiet Friday Jumu'ah prayer. The imam had just reached the most solemn part of the khutbah when a high-pitched, insistent ringtone echoed through the entire hall.

  • Architect a low-power geofencing engine for Android background services
  • Use GeofencingClient from Google Play Services for battery-efficient operation
  • Implement ForegroundService to maintain trigger even if app is killed

More from Sunday 16 August →