GNOME Bugzilla – Bug 378728
Loss of Focus when Switching between Register Tabs
Last modified: 2018-06-29 21:17:05 UTC
Please describe the problem: When I open a new register in a new tab the focus is on the date field of a new transaction and I can change the date. When I switch to a different tab and come back to the original register the focus "appears" to be still on the date (the date field is highlighted) but any keybord input is ignored. Only clicking in the date field or pressing the TAB key once will bring the focus back to the date field. It appears the focus is somewhere between the register tab and the date field (pressing shift-TAB moves the focus to the register tab). This behavior is not limited to the date field. Steps to reproduce: 1. Open a register (in a tabbed window) 2. Open a second register 3. Return to the first register and perform any keyboard input without pressing TAB or clicking in the tabbed window. Actual results: Nothing happens. It as if the keyboard were frozen. Expected results: I should be able to enter text and make changes. Does this happen every time? Yes. Other information: I am running GC from SVN (r14786 on 2006-09-02)
Related focus issues: bug#344452 (and also bug#344451 bug#344225) - but they are not direct duplicates of the issue you are describing here, are they?
No, they are not directly related in my opinion. There is one other issue that may be related: Bug 342658. However, I opted to add this bug as a new one since it is addressing the issue of losing focus when switching between registers. Bug 342658 is addressing the issue of the moving between fields without highlighting the target field. Of course, it may turn out in the end that they are directly related.
Still an issue with 2.2.x?
Yes, as of GC 2.2.5 (Fedora 8) this is still an issue. When you switch back to the first tab you can not change the date using the keyboard unless you've first clicked in the date field or hit the TAB key (to sync the focus with the cursor position).
*** Bug 411913 has been marked as a duplicate of this bug. ***
For the record, this is still an issue in 2.3.9 (current development release). As Derek mentioned in http://lists.gnucash.org/pipermail/gnucash-devel/2010-February/027390.html this issue also pops up when you have set GnuCash to open account registers in new windows instead of tabs. I believe this is caused by the same mechanics, although the effect is slightly different in the tabs vs windows configuration. If you are using tabs for account windows, the focus is correct when creating the tab, but the focus is wrong when switching between tabs. If you are using new windows, the focus is wrong even when creating the window.
Bug 577745 is describes the same problem, but for the accounts tab. I am not sure the solution would be identical for both bugs, so I'll keep them open separately.
*** This bug has been marked as a duplicate of bug 577745 ***
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=378728. Please update any external references or bookmarks.