Bug#1116012: trixie-pu: package gnome-session/48.0-1+deb13u1

Simon McVittie smcv at debian.org
Tue Sep 23 00:46:10 BST 2025


Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: gnome-session at packages.debian.org
Control: affects -1 + src:gnome-session
User: release.debian.org at packages.debian.org
Usertags: pu

[ Reason ]
Fix default app priority for early adopters of Papers and Showtime
(#1112257, #1115704)

[ Impact ]
If a user installs Papers (GNOME's new PDF reader) and removes Evince 
(GNOME's older PDF reader, and the default in trixie), GNOME does not do 
anything to influence the choice of PDF reader. This often results in 
PDF files being loaded in GIMP, which while technically valid is not the 
user experience anyone wanted. (#1112257, #1115704)

Similarly if a user installs Showtime (new video player) and removes 
Totem (older video player), GNOME does not do anything to make Showtime 
be the default. This is lower-impact, since it's less common to have 
inappropriate handlers for video MIME types installed.

For context, Papers and Showtime had stable releases before trixie, but 
the Debian GNOME team did not feel that they were mature enough to be 
our default when trixie froze, so the gnome-core metapackage in trixie 
has Depends on evince | papers and totem | showtime: the idea is that 
most users will keep using the old viewers, but early adopters can 
install the new viewers and optionally uninstall the old ones.

[ Tests ]
Manual test in a trixie GNOME VM:
1. Upgrade to the proposed gnome-session
2. Confirm that the test machine has an empty ~/.local/share/applications
   (therefore no per-user MIME handler overrides)
3. sudo apt install evince papers gimp totem showtime wget
4. wget https://meetings-archive.debian.net/pub/debian-meetings/2025/DebConf25/debconf25-552-reviving-unschroot.lq.webm
5. gio open /usr/share/doc/shared-mime-info/shared-mime-info-spec.pdf
   - It opens in Evince
6. gio open debconf25-552-reviving-unschroot.lq.webm
   - It opens in Totem
7. sudo apt remove evince totem
8. gio open /usr/share/doc/shared-mime-info/shared-mime-info-spec.pdf
   - It opens in Papers
   - It does not open in GIMP
9. gio open debconf25-552-reviving-unschroot.lq.webm
   - It opens in Showtime
10. Reboot the machine and log back in, as a smoke-test to make sure
    recompiling gnome-session didn't have unexpected effects

[ Risks ]
Targeted change with low regression risk, all we're doing is adding
declarative fallbacks to change the preference order from

    default app > everything else in arbitrary order

to

    default app > new app > everything else in arbitrary order

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
d/control, d/gbp.conf, d/watch: administrivia for opening the trixie branch

debian/gnome-mimeapps.list: the actual bug fix

[ Other info ]
In unstable, I fixed this differently, putting the priorities the other 
way around: new app > old app > everything else. That seemed too 
much of a risk of unexpected behaviour changes for a stable update, though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-session_48.0-1+deb13u1.diff
Type: text/x-diff
Size: 10627 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20250923/4bd2efcb/attachment.diff>


More information about the pkg-gnome-maintainers mailing list