Opera not autoconnected to gnome-46-2404

Autoconnection does not work when trying to use core24 for Opera.


name: {{ product_filesystem_name }}
title: {{ full_name }}
contact:
  - https://www.opera.com/contact
version: {{ major }}.{{ minor }}.{{ nightly }}.{{ patch }}
summary: Fast and secure web browser
description: |
  Opera is a fast, secure, and user-friendly web browser.
  It includes a built-in ad blocker, Video pop-out, and free VPN.
platforms:
  amd64:
base: core24
confinement: strict
compression: lzo
grade: stable
plugs:
  browser-sandbox:
    allow-sandbox: true
    interface: browser-support
  # We need to specify the chromium-ffmpeg interface slot for Opera. When a snap
  # version Opera cannot play H.264 videos while the debian version can,
  # consider update to the latest interface slot first. A slot version may also
  # be removed from chromium-ffmpeg. In this case, we can do
  # `snap revert chromium-ffmpeg` as a workaround.
  chromium-ffmpeg-122056:
    interface: content
    target: $SNAP
    default-provider: chromium-ffmpeg
apps:
  {{ product_filesystem_name }}:
    command: bin/{{ product_filesystem_name }}.launcher
    desktop: usr/share/applications/{{ product_filesystem_name }}.desktop
    extensions:
    - gnome
    slots:
    - dbus-daemon
    plugs:
    - audio-playback
    - avahi-observe
    - browser-sandbox
    - camera
    - cups-control
    - home
    - mount-observe
    - network
    - network-control
    - network-manager
    - opengl
    - password-manager-service
    - process-control
    - pulseaudio
    - removable-media
    - screen-inhibit-control
    - u2f-devices
    - unity7
    - upower-observe
    - wayland
parts:
  browser:
    plugin: dump
    source: data
    stage-packages:
    - libnss3
    - libxss1
    override-build: |
      craftctl default
      chmod 4755 $CRAFT_PART_INSTALL/{{ target_dir }}/{{ filesystem_name }}/opera_sandbox
slots:
  dbus-daemon:
    interface: dbus
    bus: session
    name: com.opera.{{ filesystem_name }}

This request has been added to the queue for review by the @reviewers team.

Hey @gmiazga

I think this should be live now. I could not find the concrete opera-developer revision using gnome-46-2404, so I could not properly test the change. Please let me know if everything works as expected.

Thanks!