Automattic / Automattic/pocket-casts-ios

Search placeholder text is truncated in German

Open
#1,983 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1.8k
Forks
197
Avg merge
17h 20m
Merged PRs (30d)
103

Description

### Description

I ran the app in German and noticed that the placeholder text in the search bar is truncated with '...' on an iPhone 15 Pro or smaller device, even when the preferred text size is adjusted. The string is not truncated on iPhone 15 Plus.

This text (in any language) does not resize following the user's preferred text size (see #1316).

### Step-by-step reproduction instructions

1. Set app language to German and run on iPhone 15 Pro
2. Go to Podcasts tab
3. Notice truncated text in search bar
4. Go to Settings > Accessibility > Display & Text Size > Larger Text
5. Update the slider to either endpoint
6. Go back to Pocket Casts
7. Notice that the search bar text remains truncated

### Screenshots or screen recording

German string on iPhone 15 Pro (largest Dynamic Text Size) is truncated:
![Simulator Screenshot - iPhone 15 Pro - 2024-08-03 at 01 10 42](https://github.com/user-attachments/assets/72f1f3f5-dee5-4011-962c-a4c1d35a5c56)

German string on iPhone 15 Pro (smallest Dynamic Text Size) is truncated:
![Simulator Screenshot - iPhone 15 Pro - 2024-08-03 at 01 10 51](https://github.com/user-attachments/assets/889e7f57-535b-488f-83c5-078b16dab11f)

German string on iPhone 15 Plus is not truncated:
![Simulator Screenshot - iPhone 15 Plus - 2024-08-03 at 01 43 51](https://github.com/user-attachments/assets/40710d2e-7082-453c-b8f7-7cffa50394bb)

For reference: English string on iPhone 15 Pro is not truncated:
![Simulator Screenshot - iPhone 15 Pro - 2024-08-03 at 01 11 02](https://github.com/user-attachments/assets/3e156e3f-4f1b-44ad-8828-12ec6922815c)

### Did you search for existing bug reports?

- [X] I have searched for existing bug reports.

### Device, Operating system, and Pocket Casts app version

iPhone 15 Pro, iOS 17.5, Pocket Casts 7.69.0.5
iPhone 15 Plus, iOS 17.5, Pocket Casts 7.69.0.5

Contributor guide

Open the contributing guide

Research direction

Start in the Podcasts tab by reproducing the search-bar issue on an iPhone 15 Pro with German selected, then compare the smallest and largest Dynamic Text sizes and the iPhone 15 Plus behavior. The work is done when the German and English placeholder text remains fully visible and responds correctly to the preferred text size on the reported devices.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
accessibility, internationalization, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.