Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Media Information not showing on Windows 10 #32518

Closed
3 tasks done
osmestad opened this issue Jan 18, 2022 · 2 comments
Closed
3 tasks done

[Bug]: Media Information not showing on Windows 10 #32518

osmestad opened this issue Jan 18, 2022 · 2 comments
Labels
13-x-y 14-x-y 15-x-y 16-x-y 17-x-y bug 🪲 bug/regression ↩️ A new version of Electron broke something has-repro-gist Issue can be reproduced with code at https://gist.github.com/

Comments

@osmestad
Copy link

osmestad commented Jan 18, 2022

Preflight Checklist

Electron Version

13.5.1, 13.6.7, 14.2.4, 15.3.5, 16.0.7, 17.0.0-beta.5

What operating system are you using?

Windows

Operating System Version

Windows 10 (Pro 20H2 and others)

What arch are you using?

x64

Last Known Working Electron version

12.2.3, 13.5.0

Expected Behavior

When using keyboard media keys a OS Media Information overlay should pop up (showing track information, album cover and play control buttons). Worked up till Electron 13.5.0 and works in current Chrome (97).

Actual Behavior

From Electron 13.5.1 and up the Media Information overlay is not displayed. (The keyboard media keys do work though.) Only tested last patch of each major version.

Testcase Gist URL

https://gist.github.com/b19bc801bd50597c8eeedaf29f0efa2a

Additional Information

Steps to reproduce:

  1. Click "Play" on media in webpage (using Chrome example in the Gist)
  2. Trigger Pause using keyboard media keys (Next and Previous have same problem)

This looks very similar to: #30860, there the example URL loaded is for video, here it is audio, but otherwise it looks the same. Created new issue to add details as that one is closed.

(Checking "Obsolete" in Fiddle Electron Settings is needed to load the last working 12 version.)

Update: added test results for 13.5.0 and 13.5.1

@ckerr ckerr added 13-x-y 14-x-y 15-x-y 16-x-y 17-x-y bug/regression ↩️ A new version of Electron broke something has-repro-gist Issue can be reproduced with code at https://gist.github.com/ labels Jan 19, 2022
@Araxeus
Copy link

Araxeus commented Feb 22, 2022

I'd like to highlight a few things:

  1. This didn't use to happen (it worked completely fine a few months ago, like osmestad said, electron >= 13.5.1)

  2. The media session OSD shows up when changing the volume, but NOT when using any other media key (play/pause/next/previous)

    chrome/edge/spotify/etc shows the media OSD when using the media keys, as expected

  3. nit: the OSD is bugged when using electron <= 13.0.0
    with electron 13.0.0: (no media information including play/pause status)
    image
    with electron 13.0.1: (play/pause status and media information is updated)
    image

simplified fiddle: https://gist.github.com/1a9e2be5705831154e057d5886e0080c
(another unrelated bug exist in this fiddle, can't close the window if music is playing?)

@codebytere would be great if you could have a look, this is an annoying bug for music apps 😅

@codebytere
Copy link
Member

Closed by #32046!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
13-x-y 14-x-y 15-x-y 16-x-y 17-x-y bug 🪲 bug/regression ↩️ A new version of Electron broke something has-repro-gist Issue can be reproduced with code at https://gist.github.com/
Projects
None yet
Development

No branches or pull requests

4 participants