Bug#1059442: gitg: Commit dialog overrides Ctrl+Left/Right

Stefan Tauner stefan.tauner at gmx.at
Mon Dec 25 16:21:50 GMT 2023


Package: gitg
Version: 41-2
Severity: important
Tags: patch upstream
X-Debbugs-Cc: stefan.tauner at gmx.at

Dear Maintainers,

after upgrading to Bookworm I have noticed that Ctrl+Left/Right does not work
as expected in the commit dialog of gitg. Usually Ctrl+Left/Right moves the
cursor one word to the left or right, respectively. This is true for GUI text
boxes like the one in reportbug I am currently typing in but also terminal
applications etc. The version of gitg in Bookworm has added a commit message
history feature to the commit dialog that is navigated via said shortcuts,
unfortunately, and it drives me a little bit crazy.

This problem has been reported (1) and fixed (2) upstream by using
Alt+Page up/Page down. I have added the upstream patch to the bookworm branch
of my salsa fork of gitg (3). "debuild -b -uc -us" isn't working due to an
unrelated lintian error:
"E: gitg: library-not-linked-against-libc
[usr/lib/gitg/gitg/plugins/libdiff.so]"
But "fakeroot debian/rules binary" spat out a working .deb that seems to work
fine.

I believe this is a candidate for being backported to Bookworm as the source
change is tiny and the bug is a regression introduced by Bookworm. I am happy
to help if need be (but I am not a Debian maintainer).

KR

1: https://gitlab.gnome.org/GNOME/gitg/-/issues/351
2:
https://gitlab.gnome.org/GNOME/gitg/-/commit/d768b107aef1944d945e73ecf14d74746338afe4
3:
https://salsa.debian.org/stefanct/gitg/-/commit/bdb80f0a76c789cdb3a78d5e4270f7d3daa4f67f


-- System Information:
Debian Release: 12.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (89, 'testing'), (10, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-13-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gitg depends on:
ii  dbus-user-session [default-dbus-session-bus]  1.14.10-1~deb12u1
ii  dbus-x11 [dbus-session-bus]                   1.14.10-1~deb12u1
ii  dconf-gsettings-backend [gsettings-backend]   0.40.0-4
ii  gir1.2-peas-1.0                               1.34.0-1+b1
ii  git                                           1:2.39.2-1.1
ii  gsettings-desktop-schemas                     43.0-1
ii  libc6                                         2.36-9+deb12u3
ii  libcairo2                                     1.16.0-7
ii  libdazzle-1.0-0                               3.44.0-1
ii  libgdk-pixbuf-2.0-0                           2.42.10+dfsg-1+b1
ii  libgee-0.8-2                                  0.20.6-1
ii  libgirepository-1.0-1                         1.74.0-3
ii  libgit2-glib-1.0-0                            1.1.0-1+b1
ii  libglib2.0-0                                  2.74.6-2
ii  libgspell-1-2                                 1.12.0-1+b2
ii  libgtk-3-0                                    3.24.38-2~deb12u1
ii  libgtksourceview-4-0                          4.8.4-4
ii  libjson-glib-1.0-0                            1.6.6-1
ii  libpango-1.0-0                                1.50.12+ds-1
ii  libpeas-1.0-0                                 1.34.0-1+b1
ii  libsecret-1-0                                 0.20.5-3
ii  libxml2                                       2.9.14+dfsg-1.3~deb12u1

gitg recommends no packages.

gitg suggests no packages.

-- no debconf information



More information about the pkg-gnome-maintainers mailing list