[FFe] Switch gnome-shell to use gnome-bluetooth3

Bug #1968364 reported by Jeremy Bícha
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-bluetooth (Ubuntu)
Fix Released
Undecided
Unassigned
gnome-shell (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Why It's Needed
---------------
This will fix LP: #1738838

gnome-shell 42 stable release updates for Ubuntu 22.04 will be easier since we don't have to revert all the bluetooth-related commits.

Why, More Details
-----------------
GNOME Shell 42 uses API from the new gnome-bluetooth library to fix LP: #1738838
The API changes were not practical to forward-port (switch to a new GListModel API).
Ubuntu's gnome-shell packaging had to revert ~6 commits to keep using the older gnome-bluetooth library, which is more awkward to maintain.

Because of how GNOME Shell extensions work, if an extension tries to modify the bluetooth part of the system status menu in the top right corner of the screen, the extension may not work because Ubuntu's GNOME Shell 42 is different than what every other distro provides. I assess this concern as very low since extensions are "use at your own risk" and there aren't many working bluetooth extensions.

The new gnome-bluetooth3 series has an expanded build test suite and has received lots of fixes that won't be ported to the older gnome-bluetooth series.

Why It Wasn't Done Before
-------------------------
We needed to get a MIR to allow gnome-bluetooth3 in to main while the old gnome-bluetooth is still in main. See https://launchpad.net/bugs/1964600 .

Sorry this is a bit late. Still about a week before Final Freeze to revert these changes is issues are identified but we're feeling confident this will be a worthwhile improvement.

Other Change
------------
If this FFE is approved, we'd like to go ahead and drop the gir package built by the old gnome-bluetooth since nothing is using it. It is believed that gnome-shell is the only user of the gnome-bluetooth gir bindings.

https://tracker.debian.org/media/packages/g/gnome-bluetooth/changelog-3.34.5-8

Build Log for gnome-shell
-------------------------
This is from our git master so it includes a few other pending changes

https://launchpad.net/~ubuntu-desktop/+archive/ubuntu/ppa/+sourcepub/13423631/+listing-archive-extra

Tags: jammy
Jeremy Bícha (jbicha)
description: updated
affects: gnome-bluetooth3 (Ubuntu) → gnome-bluetooth (Ubuntu)
Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Is the MIR ready to go? If the MIR team is fine with moving gnome-bluetooth3 into main as it is right now, consider this FFe approved - but the deadline for any of this is, let's say, end of the day before Final Freeze.

So yeah, consider it a conditional +1 - if MIR team is +1 and the package goes to main, this is instantly 'Triaged'.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

MIR Team approved at today's meeting so I'm setting to Triaged.

Changed in gnome-shell (Ubuntu):
status: New → Triaged
Changed in gnome-bluetooth (Ubuntu):
status: New → In Progress
Jeremy Bícha (jbicha)
Changed in gnome-shell (Ubuntu):
status: Triaged → Fix Committed
Changed in gnome-bluetooth (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.1 KiB)

This bug was fixed in the package gnome-shell - 42.0-2ubuntu1

---------------
gnome-shell (42.0-2ubuntu1) jammy; urgency=medium

  [ Marco Trevisan (Treviño) ]
  * debian/patches: Cherry-pick upstream fixes targetting 42.1
  * debian/patches: Compute system ackground color from theme (LP: #1965727)
  * ubuntu/configure-login-screen.patch: Use bg color for initial system bg
    (LP: #1965727)
  * debian/patches: Ensure St.Entry's `selected-color` CSS property is honored
    (LP: #1878998)
  * ubuntu/support-loading-Yaru-variants: Handle dark/light variants better
  * d/p/main-Avoid-meta-finalize: Leak gjs context only on ubiquity sessions
    (LP: #1964458)
  * d/p/use-favorites-strings: Only apply this to ubuntu session
  * debian/patches: Do not hang and crash if fingerprint service fails to start
    (LP: #1962566)
  * debian: Use gnomebluetooth-3.0 as dependency and revert patches disabling it
    (LP: #1738838, #1968364, #1964600)

  [ Jeremy Bicha ]
  * Use libgweather4 instead of old libgweather (LP: #1964600)
  * Add patch to work around meson issue (Debian 1008189)
  * releasing package gnome-shell version 42.0-2
  * debian/control.in: Recommend power-profiles-daemon for power mode feature

  [ Daniel van Vugt ]
  * main-Avoid-meta-finalize.patch: Leak GJS to work around LP: #1964458

  [ Gunnar Hjalmarsson ]
  * Revert "dash: Use pin instead of favorites"

  [ Jeremy Bicha ]
  * Remaining changes with debian:
    - Replace gnome-backgrounds dep with ubuntu-wallpapers and Suggests
      gnome-themes-standard-data, gnome-backgrounds
    - Add some Recommends:
      + ubuntu-session (| gnome-session) to have the ubuntu session available
      + xserver-xorg-legacy
      + yaru-theme-gnome-shell for the default ubuntu theming
      + gnome-remote-desktop to provide remote desktop support by default
    - Moved some Recommends to Suggests:
      + chrome-gnome-shell
    - Update debian/gbp.conf with Ubuntu settings
    - gnome-shell-common.prerm: Remove deprecated ubuntu theme alternative
    - ubuntu/desktop_detect.patch:
      + add caching for desktop detection to avoid querying the current
        desktop env variable as iterate through the list each time. For the
        time of the Shell process, we can expect this env variable to stay
        stable.
    - ubuntu/smarter_alt_tab.patch:
      + quick alt-tab (without showing up the switcher) switch only between
        the last window of the last 2 applications to be focused instead of
        raising all windows of those apps.
    - ubuntu/lightdm-user-switching.patch:
      + Allow user switching when using LightDM.
    - ubuntu/lock_on_suspend.patch
      + Respect Ubuntu's lock-on-suspend setting.
    - ubuntu/background_login.patch
      + Change default background color as we modified the default GDM color
        for our ubuntu session.
    - ubuntu/gdm_alternatives.patch
      + Add support for GDM3 theme alternatives
    - optional-hot-corner.patch
      + enable patch proposed by upstream developer already in package (but
        not in series) to add a settings for optional hot corner activation.
    - main-show-an-error-message-on-gnome-shell-crash.patch,
      global-m...

Read more...

Changed in gnome-shell (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-bluetooth - 3.34.5-8

---------------
gnome-bluetooth (3.34.5-8) unstable; urgency=medium

  * Drop the unused gir1.2-gnomebluetooth-1.0 package.
    There is a new gir1.2-gnome-bluetooth-3.0 but it's believed to only
    be used by GNOME Shell (LP: #1968364)
  * Update debian/watch to avoid new GTK4 series

 -- Jeremy Bicha <email address hidden> Fri, 08 Apr 2022 14:09:57 -0400

Changed in gnome-bluetooth (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.