GNOME Bugzilla – Bug 601861
Keyboard shortcut hints in some dialogs are miscaptioned
Last modified: 2018-06-29 22:30:39 UTC
The keyboard shortcut hints in some dialogs are miscaptioned. This means that in a save request dialog, for example, the button caption "Save Transaction" spuriously reads "_Save Transaction" instead of "Save Transaction" with the "S" of "Save" being underlined to mark the proper key on the keyboard to press in order to invoke saving of the transaction. Please see the following screenshot as an example: <http://users.physik.fu-berlin.de/~glaubitz/gnucash1.png> The bug is visible on the "Discard Transaction" and the "Save Transaction" button, the "Cancel" button is ok. I have also seen these miscaptioned buttons in the dialog that is shown when the handle for the lockfile cannot be retrieved, I don't have a screenshot at the moment though. I guess it's a systematic typo in the translation or source code file for that specific UI code, so I think it would be best to parse all dialogs for that typo. I will try to find more broken dialogs. Adrian -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gnucash depends on: ii gconf2 2.26.2-3 GNOME configuration database syste ii gnucash-common 2.2.9-0.2 A personal finance tracking progra ii guile-1.6-libs 1.6.8-6.4 Main Guile libraries ii guile-1.6-slib 1.6.8-6.4 Guile SLIB support ii libaqbanking29 4.1.2-1 library for online banking applica ii libart-2.0-2 2.3.20-2 Library of functions for 2D graphi ii libatk1.0-0 1.26.0-1 The ATK accessibility toolkit ii libbonobo2-0 2.24.1-1 Bonobo CORBA interfaces library ii libbonoboui2-0 2.24.1-1 The Bonobo UI library ii libc6 2.9-25 GNU C Library: Shared libraries ii libcairo2 1.8.8-2 The Cairo 2D vector graphics libra ii libcrypt-ssleay-perl 0.57-2 Support for https protocol in LWP ii libdate-manip-perl 5.54-1 a perl library for manipulating da ii libfinance-quote-perl 1.16-4 Perl module for retrieving stock q ii libfontconfig1 2.6.0-4 generic font configuration library ii libfreetype6 2.3.9-5 FreeType 2 font engine, shared lib ii libgconf2-4 2.26.2-3 GNOME configuration database syste ii libglade2-0 1:2.6.4-1 library to load .glade files at ru ii libglib2.0-0 2.20.5-1 The GLib library of C routines ii libgnome2-0 2.26.0-1 The GNOME library - runtime files ii libgnomecanvas2-0 2.26.0-1 A powerful object-oriented display ii libgnomeprint2.2-0 2.18.6-1 The GNOME 2.2 print architecture - ii libgnomeprintui2.2-0 2.18.4-1 GNOME 2.2 print architecture User ii libgnomeui-0 2.24.1-1 The GNOME 2 libraries (User Interf ii libgnomevfs2-0 1:2.24.1-4 GNOME Virtual File System (runtime ii libgoffice-0-4 0.4.2-4 Document centric objects library - ii libgsf-1-114 1.14.15-1 Structured File Library - runtime ii libgtk2.0-0 2.16.6-1 The GTK+ graphical user interface ii libgtkhtml3.8-15 3.12.3-3.1 HTML rendering/editing library - r ii libguile-ltdl-1 1.6.8-6.4 Guile's patched version of libtool ii libgwenhywfar47 3.10.0-1 OS abstraction layer ii libice6 2:1.0.5-1 X11 Inter-Client Exchange library ii libktoblzcheck1c2a 1.23-1 library for verification of accoun ii libofx4 1:0.9.0-3 library to support Open Financial ii liborbit2 1:2.14.17-0.1 libraries for ORBit2 - a CORBA ORB ii libpango1.0-0 1.24.5-1 Layout and rendering of internatio ii libpopt0 1.14-4 lib for parsing cmdline parameters ii libsm6 2:1.1.1-1 X11 Session Management library ii libx11-6 2:1.2.2-1 X11 client-side library ii libxml2 2.7.3.dfsg-2.1 GNOME XML library ii psfontmgr 0.11.10-1 PostScript font manager -- part of ii slib 3b1-3 Portable Scheme library ii x-ttcidfont-conf 32 TrueType and CID fonts configurati ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime Versions of packages gnucash recommends: ii gnucash-docs 2.2.0-3 Documentation for gnucash, a perso Versions of packages gnucash suggests: pn gnucash-sql <none> (no description available) -- no debconf information Hi, I also have a screenshot of the aforementioned "obtain lock" dialog now which has the "Open Anyway" and "Create New File" buttons miscaptioned:
I can confirm this behaviour on Ubuntu 9.10, Gnucash 2.2.9. The solution there is to replace a line in /src/gnome-utils/dialog-utils.c - function gnc_gtk_dialog_add_button (next to the last function): This line: button = gtk_button_new_with_label(label); should be changed to: button = gtk_button_new_with_mnemonic(label); Seems like new gtk-version is stricter and adds mnemonics only if told so. Ubuntu bug report is at https://bugs.launchpad.net/ubuntu/+source/gnucash/+bug/483716
r18419, thanks a lot!
*** Bug 603505 has been marked as a duplicate of this bug. ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=601861. Please update any external references or bookmarks.