Skip to content

Fix unresponsive preview player controls - #6805

Merged
tobiasKaminsky merged 1 commit into
masterfrom
ezaquarii/fix-unresponsive-audio-player-controls-with-linear-layout
Aug 27, 2020
Merged

tobiasKaminsky merged 1 commit into
masterfrom
ezaquarii/fix-unresponsive-audio-player-controls-with-linear-layout

Conversation

@ezaquarii

@ezaquarii ezaquarii commented Aug 25, 2020 •

Copy link
Copy Markdown
Collaborator

Media controls view were covered by a ScrollView
stealing all touch events. By changing it to FrameLayout,
touch events can reach media controls.

Content embedded inside ScrollView should not
exceed screen boundaries. If so - content must
be changed.

This fixes immediate problem with unresponsive media controls
reported in #6796 and #6782.

Signed-off-by: Chris Narkiewicz [email protected]

Testing

Manual test:

  1. open folder with music
  2. start playing music
  3. touch pause to stop it

Media controls view were covered by a ScrollView
stealing all touch events. By changing it to FrameLayout,
touch events can reach media controls.

Content embedded inside ScrollView should not
exceed screen boundaries. If so - content must
be changed.

This fixes immediate problem with unresponsive media controls
reported in #6796 and #6782.

Signed-off-by: Chris Narkiewicz <[email protected]>
@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/15561.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

Codacy

408

Lint

TypemasterPR
Warnings8181
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings27
Correctness Warnings61
Internationalization Warnings9
Multithreaded correctness Warnings9
Performance Warnings73
Security Warnings44
Dodgy code Warnings106
Total329

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings27
Correctness Warnings61
Internationalization Warnings9
Multithreaded correctness Warnings9
Performance Warnings73
Security Warnings44
Dodgy code Warnings106
Total329

@codecov

codecov Bot commented Aug 25, 2020 •

Copy link
Copy Markdown

Codecov Report

Merging #6805 into master will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #6805   +/-   ##
=========================================
  Coverage     27.76%   27.77%           
  Complexity        5        5           
=========================================
  Files           427      427           
  Lines         34251    34251           
  Branches       4735     4735           
=========================================
+ Hits           9511     9513    +2     
+ Misses        23323    23322    -1     
+ Partials       1417     1416    -1     
Impacted Files Coverage 螖 Complexity 螖
...ud/android/operations/GetUserProfileOperation.java 88.88% <0.00%> (-11.12%) 0.00% <0.00%> (酶%)
...loud/android/ui/fragment/ExtendedListFragment.java 51.40% <0.00%> (-0.32%) 0.00% <0.00%> (酶%)
...com/owncloud/android/ui/activity/FileActivity.java 22.55% <0.00%> (-0.28%) 0.00% <0.00%> (酶%)
...oud/android/ui/activity/SyncedFoldersActivity.java 24.16% <0.00%> (+0.47%) 0.00% <0.00%> (酶%)
...oud/android/operations/RefreshFolderOperation.java 69.84% <0.00%> (+0.76%) 0.00% <0.00%> (酶%)
.../third_parties/daveKoeller/AlphanumComparator.java 83.33% <0.00%> (+1.19%) 0.00% <0.00%> (酶%)

@tobiasKaminsky
tobiasKaminsky merged commit c149813 into master Aug 27, 2020
@delete-merged-branch
delete-merged-branch Bot deleted the ezaquarii/fix-unresponsive-audio-player-controls-with-linear-layout branch August 27, 2020 13:31
@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.14.0 milestone Aug 27, 2020
@AndyScherzinger

Copy link
Copy Markdown
Member

/backport to stable-3.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants