https://bugs.kde.org/show_bug.cgi?id=408059

            Bug ID: 408059
           Summary: Plasma-browser-integration should set
                    CanSetFullscreen/FullScreen mpris2 property for videos
           Product: plasma-browser-integration
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: k...@privat.broulik.de
          Reporter: nierr...@gmail.com
  Target Milestone: ---

SUMMARY
org.mpris.MediaPlayer2 supports a CanSetFullScreen property that is very useful
to distinguish between audio and video playing.
I'd like plasma-browser-integration to provide the property together with its
"FullScreen" counter-part.

STEPS TO REPRODUCE
1. Start playing video in vlc
2. busctl --user introspect org.mpris.MediaPlayer2.vlc /org/mpris/MediaPlayer2
org.mpris.MediaPlayer2 shows:

.Quit                               method    -         -                      
                 -
.Raise                              method    -         -                      
                 -
.CanQuit                            property  b         true                   
                 emits-change
.CanRaise                           property  b         false                  
                 emits-change
.CanSetFullscreen                   property  b         true                   
                 emits-change
.DesktopEntry                       property  s         "vlc"                  
                 emits-change
.Fullscreen                         property  b         false                  
                 emits-change writable
.HasTrackList                       property  b         false                  
                 emits-change
.Identity                           property  s         "Lettore multimediale
VLC"               emits-change

MORE...

3. Open a youtube video on firefox (same goes for chromium).
4. busctl --user introspect org.mpris.MediaPlayer2.plasma-browser-integration
/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2 shows:

.Quit                               method    -         -                      
                 -
.Raise                              method    -         -                      
                 -
.CanQuit                            property  b         false                  
                 emits-change
.CanRaise                           property  b         true                   
                 emits-change
.DesktopEntry                       property  s         "firefox"              
                 emits-change
.HasTrackList                       property  b         false                  
                 emits-change
.Identity                           property  s         "Firefox Web Browser"  
                 emits-change
.SupportedMimeTypes                 property  as        0                      
                 emits-change
.SupportedUriSchemes                property  as        0                      
                 emits-change

OBSERVED RESULT
No property "CanSetFullScreen" is provided.

EXPECTED RESULT
"CanSetFullScreen" provided for videos only.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION:
Tested on  Archlinux with kde 5.15.90 too. Still facing same "issue".

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to