question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App Information does not scroll, version info truncated

See original GitHub issue

Avoid duplicates

This issue is posted separately here due to different environments.

The original issue was https://github.com/corona-warn-app/cwa-app-android/issues/2302.

Technical details

  • Device name: Google Pixel emulator
    5.0" 1080x1920 420dpi
  • Android version: 10 (API 29) or Android 11 (API 30)
  • App version: 2.3.2-RC2 & 2.4.0-RC7

Describe the bug

The App Information menu fails to scroll down in some configurations, cutting off the bottom end of the display.

Version Result Status
2.2.1 Version displayed ✔️
2.3.2-RC2 deviceForTestersDebug Version truncated
2.4.0-RC7 deviceForTestersDebug Version truncated

The issue is sensitive to display size and font size.

The last line of the screenshot following should show Version: 2.4.0-RC7.

2 4 0-scroll-issue

Steps to reproduce the issue

Setup

  1. (Android) Settings > Display > Advanced
  2. Set Font size to Large and Display size to Default

In CWA

  1. Start Screen, tap three-dot symbol
  2. Tap “App Information”
  3. Try to scroll down to bottom of view

Expected behavior

Using an API 29 emulator the App Information view should display the complete view including the last line which is the Version of the app. If the view is too large then it should be possible to scroll down until the app version number is visible.

It should be possible to scroll by tapping, holding and dragging anywhere in the scrolled view, however in this exact scenario it is only possible to scroll by using the area around the version number.

Investigation

App Information Layout Inspector

PR https://github.com/corona-warn-app/cwa-app-android/pull/3098 from @SamuraiKek attempted to fix this issue. This did improve the situation for some configurations, but perhaps there are multiple root causes for this issue?

I am seeing a very strange effect. If I set a breakpoint on https://github.com/corona-warn-app/cwa-app-android/blob/9ec222a431340917834e831cc60edd14fa062d27/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/information/InformationFragmentViewModel.kt#L26

whilst the app is paused due to the breakpoint, the App Information can be scrolled. After resuming the execution of the app, it is only possible to scroll the App Information by grabbing the part of the view where the truncated version information is displayed.

Possible fix

Adding the following seems to mitigate the issue, as a workaround.

                <Space
                    android:layout_width="match_parent"
                    android:layout_height="56dp" />

This is added immediately before https://github.com/corona-warn-app/cwa-app-android/blob/af6edf5885afeae9fe0243a8f0c9b6c30e3ec5d9/Corona-Warn-App/src/main/res/layout/fragment_information.xml#L125


Internal Tracking-ID: EXPOSUREAPP-7765

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
MikeMcC399commented, Jun 11, 2021

PR #3416 has been added to 2.4.0 milestone.

1reaction
dsarkarcommented, Jun 26, 2021

@MikeMcC399 Thanks for detailed feedback. I will forward your observations to the internal ticket.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error detail window's text truncated / can't scroll #182 - GitHub
Attempt to connect via SSH in a way that produces an error · Click the Show Detail button · If the error output...
Read more >
react native - ReactNative ScrollView will not scroll to the bottom
For me the problem was setting a paddingVertical , paddingTop or paddingBottom on the ScrollView.
Read more >
Numbers are truncated in Chrome browser on using ...
Hi,. The devs have informed that this is our current implementation limitation. Based on the current rendering implementation, once scrolling ...
Read more >
Cursor/scroll jumps and items are truncated/deleted from ...
App updated a day or so ago to v1.1.1 and I can no longer reproduce. Could this have been fixed in the latest...
Read more >
Internet Explorer (IE) mode troubleshooting and FAQ
Troubleshooting guide and FAQ for Microsoft Edge Internet Explorer mode.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found