forecastie icon indicating copy to clipboard operation
forecastie copied to clipboard

Layout bug in weather status icon

Open ghost opened this issue 4 years ago • 10 comments

Device: Android 9.0

Screen size: 4.5"

App version: 1.15

Issue details: The weather status icon in the widgets (all of them) gets overlapped with the text when it shows 'raining with thunderstorm'

ghost avatar Jun 17 '20 20:06 ghost

Is this a duplicate of #454? Probably not, but I'm not sure. Would you be able to upload a screenshot? Cheers

robinpaulson avatar Jun 18 '20 01:06 robinpaulson

Oops! the post got inadvertently closed, sorry.

It's a different issue than #454 . Unfortunately, I cannot reproduce the bug right now because the weather condition is different. but I can explain to you what happens. When the weather says 'heavy rain with thunderstorm' or something (cannot remember the exact text), it being a long text, overlaps with the zigzag styled thunder part under the cloud part in that particular weather status icon.

ghost avatar Jun 18 '20 09:06 ghost

Ok, finally got that kind of weather

Screenshot_20200618-152040 Screenshot_20200618-193056 Screenshot_20200618-194242 Screenshot_20200618-230403 Screenshot_20200618-230410

Humble suggestion: Could the weather status icon be placed slightly up and rightwards and probably a bit resized down in all the widgets?

ghost avatar Jun 18 '20 09:06 ghost

OK, thanks for getting back with the info. Your suggestion sounds good, if you're willing then submit a PR or wait and we'll get to it. Cheers!

robinpaulson avatar Jun 19 '20 04:06 robinpaulson

Also, where moving and resizing of the icon is tedious or not possibe, the weather status text could be wrapped in 2 rows.

ghost avatar Jun 19 '20 22:06 ghost

I wonder if this is device specific? I've not seen this particular bug before, it looks like it would be too common to go by unnoticed. Our weather icons are packaged as a font, perhaps there is some oddity/change in font rendering. Are you using the stock image from your provider?

robinpaulson avatar Jul 08 '20 03:07 robinpaulson

@robinpaulson sometimes I see this too at simple widget on Nokia 6.2 with Android 10 and ru locale.

Weather icon doen't have constraints to TextViews so if strings too long they could overlap the icon. And I think RelativeLayout doesn't have vertical constraints only horizontal like android:layout_toEndOf. May be we should replace RelativeLayout with ConstraintLayout

fAntel avatar Jul 08 '20 07:07 fAntel

are you interested in trying it out in code? i'd much appreciate it

robinpaulson avatar Jul 08 '20 08:07 robinpaulson

Ok, I'll do it after completing notification.

fAntel avatar Jul 08 '20 08:07 fAntel

I think this is mostly related to smaller screen size and/or resolutions.

The picture below shows how widgets look on my device (5.2” FHD 1080 x 1920 px), v1.13.3 from F-droid. As I can see, the weather icons id distant enough from text strings so it is unlikely it gets overlapped. Screenshot_20200823-124130.

@TheProUser I see from the issue description your screen size; do you mind adding the pixel resolution information? Thanks!

igor-cali avatar Aug 23 '20 10:08 igor-cali