stratumauth / app

📱 Two-Factor Authentication (2FA) client for Android + Wear OS
https://stratumauth.com
GNU General Public License v3.0
3.15k stars 202 forks source link

Cropped username text #1066

Closed haukist closed 9 months ago

haukist commented 11 months ago

Describe the bug Username text is cropped when System Font option is enabled. This bug only appears when View Mode is set to Compact or Tile.

To Reproduce Steps to reproduce the behavior:

  1. Go to settings and set View Mode to Compact or Tile
  2. Enable System Font option
  3. See under the baseline of username text IMG_1703874149112

Expected behavior The username text should not get cropped.

App Version 1.24.0

Additional context Pixel 6 / Android 14

fs2597 commented 9 months ago

This isn’t actually related to the System Font option. That only seems to matter because the app’s custom font is vertically smaller than the system font at any nominal size.

The problem is visible in all view modes, whether or not the System Font option is enabled, when the system font size is increased (Android settings > Display > Display size and text > Font size).

My phone defaults to size 2/7, and I have it increased to 4/7. In the default view mode, the usernames are mostly cut off, but I can see enough of the tops of letters to figure out which one is which. In the compact and tile view modes, I don’t see usernames at all.

authpro-usernames

Authenticator Pro Version: 1.24.0 F-Droid Android Version: 14 Device: Google Pixel 5a

jamie-mh commented 9 months ago

Fixed in 1.24.1