Bug 467199 - [FEATURE REQUEST]: Add Raise() method
Summary: [FEATURE REQUEST]: Add Raise() method
Status: RESOLVED FIXED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-11 13:02 UTC by Luigi Baldoni
Modified: 2023-03-27 13:43 UTC (History)
0 users

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 Luigi Baldoni 2023-03-11 13:02:04 UTC
SUMMARY
MPRIS exposes the org.mpris.MediaPlayer2.Raise() method, which is currently unavailable on Haruna.
Would it be possible to implement it?


STEPS TO REPRODUCE
1.  qdbus-qt5 org.mpris.MediaPlayer2.haruna /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.CanRaise

OBSERVED RESULT
false

EXPECTED RESULT
true

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE LEap
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version:  5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Tried both xorg and wayland
Comment 1 george fb 2023-03-27 13:43:45 UTC
Git commit 3e4b8eae002e2588bc50b03e4ed22a6d313c4f61 by George Florea Bănuș.
Committed on 27/03/2023 at 13:41.
Pushed by georgefb into branch 'master'.

mpris2: add support for `Raise` method

M  +4    -0    CMakeLists.txt
M  +1    -0    src/CMakeLists.txt
M  +27   -0    src/application.cpp
M  +5    -0    src/application.h
M  +3    -1    src/main.cpp
M  +1    -1    src/mpris2/mediaplayer2.cpp
M  +0    -1    src/mpris2/mediaplayer2.h
M  +2    -1    src/mpv/mpvitem.cpp
M  +1    -0    src/mpv/mpvitem.h
M  +1    -0    src/qml/MpvVideo.qml

https://invent.kde.org/multimedia/haruna/commit/3e4b8eae002e2588bc50b03e4ed22a6d313c4f61