Bug 8047 - Browsers on Android crop icon on home screen
Summary: Browsers on Android crop icon on home screen
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Access (show other bugs)
Version: trunk
Hardware: Other Android
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-14 16:27 CET by Linn
Modified: 2022-12-20 14:46 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments
Home screen icons when icon includes size label (top row) and regular icon (bottom row) (548.61 KB, image/jpeg)
2022-12-14 16:27 CET, Linn
Details
Home screen icons when icon includes size label (top row) and regular icon (bottom row) (597.25 KB, image/jpeg)
2022-12-14 16:39 CET, Linn
Details
Screenshot of four different icon variants. (63.91 KB, image/jpeg)
2022-12-16 15:54 CET, Linn
Details

Description Linn cendio 2022-12-14 16:27:44 CET
Created attachment 1095 [details]
Home screen icons when icon includes size label (top row) and regular icon (bottom row)

Tested with Android 12 on our S7 tablet.

The odd cropping of icons shown in the screenshot can be seen when adding a webaccess page to the home screen. In the first row, the web icons have all been altered to contain a size label as well as a red outline. In the second row, the web icons are just the regular logo.

We want some padding around our logo, but with the regular logo no padding at all is used. Also, both webaccess servers have the same icon sizes available, so the same icon should be chosen. It is unclear why the cropping of the images are so different.

Available image sizes:
 - In ICO: 16, 24, 32, 48, 64, 96, 144, 192
 - ios_images: 40, 58, 60, 80, 87, 120, 152, 167, 180

Chrome, Edge and Samsung Internet are all based on Chromium, so if this is solved on one browser it should affect all.
Comment 1 Linn cendio 2022-12-14 16:39:48 CET
Created attachment 1096 [details]
Home screen icons when icon includes size label (top row) and regular icon (bottom row)

Note that Firefox also has a slight cropping problem, but not as apparent as for Chrome and others, see updated screenshot.
Comment 2 Linn cendio 2022-12-16 15:54:25 CET
Created attachment 1098 [details]
Screenshot of four different icon variants.

The issue seems to be that some automatic cropping takes place. See the icons in the screenshot:
* 1: Regular icon
* 2: Icon size in text that is smaller than the logo
* 3: Icon size in text that is slightly larger than the logo
* 4: Icon with border

It seems that more cropping takes place depending on how much transparent padding there is.
Comment 3 Linn cendio 2022-12-16 16:53:02 CET
Reported to Chromium here:
https://bugs.chromium.org/p/chromium/issues/detail?id=1401714

Note You need to log in before you can comment on or make changes to this bug.