Bug 419138

Summary: Rotate causes change in input
Product: [Applications] kdeconnect Reporter: Greg Lepore <greg>
Component: android-applicationAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED FIXED    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Android 8.x   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Android app list of controllable apps
Correct display of app last controlled and currently playing music
Display immediately after rotating phone, controlled app has switched

Description Greg Lepore 2020-03-23 11:23:56 UTC
Created attachment 126963 [details]
Android app list of controllable apps

SUMMARY

When there is more than one audio-playing option to display and manipulate in the Android app, rotating the phone causes the first listed app to be displayed, rather than the currently playing app which was initially displayed.

STEPS TO REPRODUCE (what I did)
1. Play music via VLC (or Clementine, or whatever)
2. Have two tabs in Chromium which have, at some point, played music and are displayed in the Multimedia Control drop-down section of the app
3. Change the volume on VLC, then rotate the app
4. The app changes from displaying VLC to displaying "Chromium" which is the first app listed in the dropdown, along with "Chromium [2]" and "VLC media player"

OBSERVED RESULT
Multimedia control changes handled input to "Chromium"

EXPECTED RESULT
Multimedia control should continue to show selected input, or input currently playing music


Operating System: KDE neon 5.18
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1
Kernel Version: 4.15.0-88-generic
OS Type: 64-bit
Processors: 8 × AMD FX(tm)-8350 Eight-Core Processor
Memory: 7.8 GiB of RAM
Comment 1 Greg Lepore 2020-03-23 11:24:28 UTC
Created attachment 126964 [details]
Correct display of app last controlled and currently playing music
Comment 2 Greg Lepore 2020-03-23 11:24:59 UTC
Created attachment 126965 [details]
Display immediately after rotating phone, controlled app has switched