tuskyapp / Tusky

An Android client for the microblogging server Mastodon
https://tusky.app
GNU General Public License v3.0
2.49k stars 389 forks source link

Rounded screens cut off the image description border #4674

Open fin-w opened 2 months ago

fin-w commented 2 months ago

Detailed description

The rounded corners of phone screens cut off the border of image descriptions, and with the pale Material 3 description borders this is more obvious / a bit ugly. It comes close to cutting off text, but doesn't actually do so.

I'm not sure what the best solution is, I guess one option would be to remove the border entirely around three sides, and perhaps only have a straight pale border along the top edge of the description slider area. I'm not sure if part of the aim is to indicate when the description is fully pulled out / extended though? To make it clearer whether the user is viewing the entire description text or not? A fully pulled-out description slider has a pale bottom border but one with partially obscured text has the border off screen, so it's always obvious if the user is missing details. Moving to a single top border might lose this distinction. Perhaps the central pill on the slider could appear / disappear depending on whether the description was fully visible or not, or something like that.

Steps to reproduce the problem

  1. Open any described image on a screen with rounded corners

Debug information

Tusky Test 26.2-50ca44a5

Fully pulled-out image description, with red indicating where the phone screen cuts off the view (drawn in on the left, but it's on both bottom corners obviously): Screenshot_20240912-191545_Tusky Test (1)