Bug#823386: libgtk-3-0: key bindings are no longer taken into account
Vincent Lefevre
vincent at vinc17.net
Wed May 4 07:34:53 UTC 2016
Package: libgtk-3-0
Version: 3.20.3-2
Severity: important
I have the following file ~/.config/gtk-3.0/gtk.css with:
@binding-set text-entry
{
bind "<Control>a"
{
"move-cursor" (paragraph-ends, -1, 0)
};
bind "<Control>e"
{
"move-cursor" (paragraph-ends, 1, 0)
};
bind "<Control>k"
{
"delete-from-cursor" (paragraph-ends, 1)
};
bind "<Control>u"
{
"move-cursor" (paragraph-ends, -1, 0)
"delete-from-cursor" (paragraph-ends, 1)
};
bind "<Control>w"
{
"delete-from-cursor" (word-ends, -1)
};
}
GtkEntry
{
-gtk-key-bindings: text-entry;
}
GtkTextView
{
-gtk-key-bindings: text-entry;
}
but these key bindings are no longer taken into account. For instance,
Ctrl-a selects the whole text (default binding) instead of putting the
cursor at the beginning of the line. The file is still parsed, though:
errors are reported in the terminal (sent to stderr, I assume) if one
introduces errors.
I have tested this with firefox, gedit and gtk3-widget-factory.
This is a major regression and makes text editing very difficult
when one is used to these bindings, with possible data loss (e.g.
Ctrl-a + some key becomes destructive).
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.5.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libgtk-3-0 depends on:
ii libatk-bridge2.0-0 2.20.1-1
ii libatk1.0-0 2.20.0-1
ii libc6 2.22-7
ii libcairo-gobject2 1.14.6-1+b1
ii libcairo2 1.14.6-1+b1
ii libcolord2 1.3.2-1
ii libcups2 2.1.3-5
ii libepoxy0 1.3.1-1
ii libfontconfig1 2.11.0-6.4
ii libfreetype6 2.6.3-3+b1
ii libgdk-pixbuf2.0-0 2.34.0-1
ii libglib2.0-0 2.48.0-1
ii libgtk-3-common 3.20.3-2
ii libjson-glib-1.0-0 1.2.0-1
ii libpango-1.0-0 1.40.1-1
ii libpangocairo-1.0-0 1.40.1-1
ii libpangoft2-1.0-0 1.40.1-1
ii librest-0.7-0 0.7.93-1
ii libsoup2.4-1 2.54.1-1
ii libwayland-client0 1.10.0-2
ii libwayland-cursor0 1.10.0-2
ii libwayland-egl1-mesa [libwayland-egl1] 11.1.3-1
ii libx11-6 2:1.6.3-1
ii libxcomposite1 1:0.4.4-1
ii libxcursor1 1:1.1.14-1+b1
ii libxdamage1 1:1.1.4-2+b1
ii libxext6 2:1.3.3-1
ii libxfixes3 1:5.0.1-2+b2
ii libxi6 2:1.7.6-1
ii libxinerama1 2:1.1.3-1+b1
ii libxkbcommon0 0.5.0-1
ii libxml2 2.9.3+dfsg1-1
ii libxrandr2 2:1.5.0-1
ii shared-mime-info 1.6-1
Versions of packages libgtk-3-0 recommends:
ii libgtk-3-bin 3.20.3-2
Versions of packages libgtk-3-0 suggests:
ii gvfs 1.28.1-1
ii librsvg2-common 2.40.15-1
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list