Skip to content

vlc: two notifications are displayed for track change #6979

@mYnDstrEAm

Description

@mYnDstrEAm

Description

When a track is changed in VLC and notifications for track change are enabled in it and "LibNotify Notification Plugin" is enabled in its settings, two notifications are displayed instead of just one where one of the two is an old-looking speech bubble notification and one is the modern-looking native theme-using Plasma notification with next and previous buttons.

Steps to Reproduce

Steps to reproduce the behavior

  1. Install vlc-plugin-notify sudo apt-get install vlc-plugin-notify on Debian 13 with KDE.
  2. Open VLC and go to Tools->Preferences. In the bottom left check "All" at "Show settings"
  3. Go to "Control interfaces" under "Interface". Check "LibNotify Notification Plugin" and click save. (If it doesn't work maybe vlc-plugin-qt also needs to be installed.) Also make sure that next track notifications are enabled in the settings.
  4. Run LC_ALL=C firejail /usr/bin/vlc
  5. Open an audio track and skip to the end of the track.
  6. Minimize the VLC player.
  7. See the two notifications.

Expected behavior

Just the Plasma notification in the configured/right corner.

Actual behavior

Two notifications, including the ugly speech bubble notification in the left corner.

Behavior without a profile

What changed calling LC_ALL=C firejail --noprofile /path/to/program in a
terminal?

Only one notification is displayed as it should.

Additional context

Linked to this issue at https://unix.stackexchange.com/questions/801664/vlc-notification-speech-bubble-popups-look-bad-and-old-how-to-make-it-use-kde

Environment

  • Name/version/arch of the Linux kernel (uname -srm): Linux 6.12.57+deb13-amd64 x86_64
  • Name/version of the Linux distribution (e.g. "Ubuntu 20.04" or "Arch Linux"): Debian 13
  • Name/version of the relevant program(s)/package(s) (e.g. "firefox 134.0-1,
    mesa 1:24.3.3-2"): vlc 3.0.21
  • Version of Firejail (firejail --version): 0.9.74
  • If you use a development version of firejail, also the commit from which it
    was compiled (git rev-parse HEAD):

Checklist

  • I am using a supported version of firejail
  • I am using the full program path (e.g. firejail /usr/bin/vlc instead of firejail vlc; see https://github.com/netblue30/firejail/issues/2877)
  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).
    • I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
  • I used --profile=PROFILENAME to set the right profile. (Only relevant for AppImages)

Log

Output of LC_ALL=C firejail /path/to/program

output goes here

Output of LC_ALL=C firejail --debug /path/to/program

output goes here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions