Bug 399343 - Up button doesn't go back from media controls to overview when invoked from media notification
Summary: Up button doesn't go back from media controls to overview when invoked from m...
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-03 16:28 UTC by Kai Uwe Broulik
Modified: 2018-10-28 22:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2018-10-03 16:28:00 UTC
SUMMARY
When tapping the media playback notification in the notification drawer KDE Connect's media controls open. Tapping the "up" button (that back button in the action bar) returns to the previous activity (which is the back button's job) rather than going back to the plug-in overview. This keeps me from using this as a shortcut to access e.g. remote input while watching a video. I have to manually open the KDE Connect app from the app launcher.


STEPS TO REPRODUCE
1. Start a video on your computer (in a player that supports MPris)
2. Pull down notification drawer on your Android phone
3. Tap the media playback notification
4. Tap Up button (the "Back button" in the action bar/toolbar)

OBSERVED RESULT
I end up back in the app I was previously in as if I had tapped the back button

EXPECTED RESULT
I end up at the plug-in overview for that device so I can access e.g. remote input for it


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.14.80 (git master)
KDE Frameworks Version: 5.51 (git master)
Qt Version: Qt 5.11.1
Comment 1 Albert Vaca Cintora 2018-10-28 22:11:52 UTC
Git commit 681b4bb48a7382806f4c692d2d586e327e38abba by Albert Vaca.
Committed on 28/10/2018 at 22:11.
Pushed by albertvaka into branch 'master'.

Create a stack for the Mpris activity

M  +7    -1    src/org/kde/kdeconnect/Plugins/MprisPlugin/MprisMediaSession.java

https://commits.kde.org/kdeconnect-android/681b4bb48a7382806f4c692d2d586e327e38abba