cwa-app-android icon indicating copy to clipboard operation
cwa-app-android copied to clipboard

Exported certificate folding cross vertically displaced

Open MikeMcC399 opened this issue 2 years ago • 3 comments

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

  1. Use Android Studio Device File Explorer to transfer German EU vaccination certificate PDF to the emulator

In CWA App

  1. Tap Scan
  2. Tap Open File
  3. Navigate to vaccination certificate in File app and tap on file, tap "Continue"
  4. Tap three-dot symbol
  5. Select Display Print Version, tap "Next"
  6. Tap Share symbol
  7. Tap Drive symbol
  8. Tap Save

On Desktop

  1. Open Drive https://drive.google.com/drive/my-drive
  2. Download
  3. Open saved PDF with Adobe Acrobat DC
  4. Zoom to page level
  5. Click Tools > Measure > Measuring Tool
  6. 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 avatar Jul 20 '22 14:07 MikeMcC399

@MikeMcC399 Thanks for reporting. Internal Tracking ID: EXPOSUREAPP-13667. Best wishes, DS


Corona-Warn-App Open Source Team

dsarkar avatar Jul 20 '22 15:07 dsarkar

  • See PR https://github.com/corona-warn-app/cwa-app-android/pull/5427 planned for 2.26.

MikeMcC399 avatar Aug 08 '22 06:08 MikeMcC399

  • 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.

MikeMcC399 avatar Aug 10 '22 12:08 MikeMcC399