cwa-app-android
cwa-app-android copied to clipboard
Exported certificate folding cross vertically displaced
Avoid duplicates
- [X] Bug is not mentioned in the FAQ
- [X] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
- [ ] Bug is not already reported in another issue Refer also to https://github.com/corona-warn-app/cwa-app-android/issues/5350, which is marked with label https://github.com/corona-warn-app/cwa-app-android/labels/Fix%202%2E25.
Technical details
- Device name: Pixel 3a emulator
- Android version: 12
- App version: pre-release 2.25.x - 2.25.0-RC2 in addition to previously reported 2.24.2. Regression from CWA 2.23.2.
Describe the bug
The folding guide cross on an exported EU certificate is not vertically in the center of the paper, although horizontally it is centered. The cross is vertically displaced about 4.5 mm.
Distances in mm from edge to center cross
App Version | left | right | top | bottom | comment |
---|---|---|---|---|---|
2.23.2 | 104.55 | 104.55 | 147.76 | 148.99 | correctly centered |
2.25.0-RC2 | 104.76 | 104.78 | 144.15 | 152.90 | vertically displaced |
Expected | 105 | 105 | 148.5 | 148.5 | dimensions for center of DIN A4 |
Steps to reproduce the issue
On Desktop
- Use Android Studio Device File Explorer to transfer German EU vaccination certificate PDF to the emulator
In CWA App
- Tap Scan
- Tap Open File
- Navigate to vaccination certificate in File app and tap on file, tap "Continue"
- Tap three-dot symbol
- Select Display Print Version, tap "Next"
- Tap Share symbol
- Tap Drive symbol
- Tap Save
On Desktop
- Open Drive https://drive.google.com/drive/my-drive
- Download
- Open saved PDF with Adobe Acrobat DC
- Zoom to page level
- Click Tools > Measure > Measuring Tool
- Use mouse to measure from edges to center cross
Expected behavior
The folding cross should be in the center of the document. DIN A4 has the standard dimensions 210 x 297 mm, so the cross should be at 105 and 148.5 mm from the respective paper edge.
Internal Tracking ID: EXPOSUREAPP-13667
@MikeMcC399 Thanks for reporting. Internal Tracking ID: EXPOSUREAPP-13667. Best wishes, DS
Corona-Warn-App Open Source Team
- See PR https://github.com/corona-warn-app/cwa-app-android/pull/5427 planned for 2.26.
- PR #5427 is included in v2.26.0-rc.1 so if anybody is handling the labels here, then https://github.com/corona-warn-app/cwa-app-android/labels/Fix%202%2E26 could be applied to this issue.