After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 343228 - Navigating between tabs with the keyboard
Navigating between tabs with the keyboard
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: General
1.9.x
Other Linux
: Normal minor
: ---
Assigned To: David Hampton
Chris Lyttle
Depends on:
Blocks:
 
 
Reported: 2006-05-28 19:16 UTC by Paolo Benvenuto
Modified: 2018-06-29 21:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paolo Benvenuto 2006-05-28 19:16:34 UTC
Gnucash lack a way to move between tabs with the keyboard.

I consider it should use the standard gnome shortcut ctl-pgup/down.

Now, only when i am in the accounts tab, ctl-alt-pgdown move to the following tab.

Nor this nor the standard ctl-pgup/down work when I am in a register tab.
Comment 1 Bill Wohler 2006-05-31 00:44:47 UTC
I hadn't noticed that C-M-PageUp and -PageDown work in the Accounts and Report tabs.

But I agree completely, C-PageUp and C-PageDown (without the Alt) should work across *all* tabs.

Thanks!
Comment 2 David Hampton 2006-06-04 23:29:14 UTC
C-PageUp and C-PageDown are used by multiple gtk widgets.  Keystrokes are first provided to the selected widget.  If that widget does nothing with the keystroke, then the keystroke will be passed in turn to each successive containing widget.  In gnucash the widgets used for the account tree page and the register page also use C-PageUp and C-PageDown as a shortcut, so the behavior you see will depend on which widget currently has focus.  If the account tree has focus, then it processes the C-PageUp/C-PageDown keystroke and the notebook never sees it.  If the notebook has focus, then it is the first widget to see the C-PageUp/C-PageDown key strokes and functions like you would expect.  Try clicking on a notebook tab then then typing C-PageUp/C-PageDown.

The C-A-Pageup/C-A-PageDown keystrokes are not used by the accounts page and the register page, and will change the notebook tabs.
Comment 3 Bill Wohler 2006-06-05 02:02:32 UTC
Clicking on a tab sort of defeats the purpose of the keyboard shortcuts.

It appears that the register window is treating C-PageUp and C-PageDown like PageUp and PageDown. It sounds like the solution is for the register window should not be eating the C-PageUp and C-PageDown keys in the first place or at least passing them on to its container.

I have no idea what the account tree window is doing with C-PageUp and C-PageDown, but it's different from PageUp and PageDown. I'd suggest trading this questionable shortcut with one we expect.

Thanks.
Comment 4 David Hampton 2006-06-05 02:23:04 UTC
I'm not going to override the standard behavior of the GtkTreeView widget used by the account tree page.
Comment 5 sampablokuper 2016-07-27 17:24:48 UTC
This bug (Bug 343228) appears to have been incorrectly closed as FIXED.

Please can this be re-opened and fixed?

However, the bug still persists: it has not been fixed.

GnuCash's keyboard bindings are at odds with those used by applications that are found by default in many GNOME installations. For example:

In Mozilla Firefox, in GNOME Terminal, and in GNOME Files:

- Ctrl+PgUp moves to the previous tab.

- Ctrl+PgDn moves to the next tab.

So, please can GnuCash adopt those bindings, too?

N.B. If the GTK tree widget is interfering with the upholding of those conventions, then that suggests a bug in the GTK tree widget.
Comment 6 sampablokuper 2016-07-27 17:28:28 UTC
(Apologies: the second two lines in my previous comment were in the wrong order!)
Comment 7 John Ralls 2018-06-29 21:05:45 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=343228. Please update any external references or bookmarks.