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 651690 - Shortcut STRG+T reduces functionality of transfer dialog
Shortcut STRG+T reduces functionality of transfer dialog
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: General
2.4.x
Other Linux
: Normal normal
: ---
Assigned To: Christian Stimming
Geert Janssens
Depends on: 512562
Blocks:
 
 
Reported: 2011-06-02 07:57 UTC by Joachim Langenbach
Modified: 2018-06-29 22:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Booking dialog working well. Opend with Actions --> Booking (67.57 KB, image/png)
2011-06-02 09:05 UTC, Joachim Langenbach
Details
Booking dialog NOT working well. Opened with Strg+T (58.00 KB, image/png)
2011-06-02 09:08 UTC, Joachim Langenbach
Details

Description Joachim Langenbach 2011-06-02 07:57:09 UTC
If you go to "Actions --> Booking" (In German version: Aktionen --> Buchen) and enter a description, you can use the tab to automatically assign an account. But if you open the same dialog via STRG+T, this is not possible. Also the whole accounting tree on the bottom right isn't working properly in that case.

Therefore the faster opening of the dialog with the shortcut is exhausted by the consumed time to select the account manually.
Comment 1 Geert Janssens 2011-06-02 08:44:06 UTC
Thank you for your report. Unfortunately however, I can't reproduce this.

I have tried to run GnuCash 2.4.5 on Fedora 14 as follows:
LANGUAGE=de LANG=de gnucash

This starts GnuCash in German. Using STRG+T opens the "Aktionen -> Buchen" screen. I can enter values and then use tab to navigate through it, including the two account trees.

Can you give us some more details about your system ?
What distribution are you using, and which version of it ?
What is your locale (you can use the "locale" command in a console/terminal to find out) ?

Can you explain what you mean exactly with the accounting tree is not working properly ?

Thanks.
Comment 2 Joachim Langenbach 2011-06-02 09:05:54 UTC
Created attachment 189067 [details]
Booking dialog working well. Opend with Actions --> Booking

The auto assign of the target account after leaving the description entry with TAB is working. Also all accounts of "Erträge/Aufwendungen" (See the activated checkbox below) are shown.
Comment 3 Joachim Langenbach 2011-06-02 09:08:48 UTC
Created attachment 189068 [details]
Booking dialog NOT working well. Opened with Strg+T

The auto assign of the target account after leaving the description entry with
TAB is NOT working. Also all accounts of "Erträge/Aufwendungen" (See the activated
checkbox below) are not shown (e.g. all accounts below Ausgaben).
Comment 4 Joachim Langenbach 2011-06-02 09:11:13 UTC
With auto detect target account I mean the following:

After you have filled the description field and left it with TAB, gnucash checks whether a booking with same description exists and automatically chooses the target account of the existing booking (See first picture: Selected account "Lebensmittel").

If opened with Strg+T this does not work. The reason may be the not working account tree on the right hand side or something else.
Comment 5 Geert Janssens 2011-06-02 09:29:33 UTC
I'm not too familiar with this dialog window, so I continue to ask for details:

I notice that in your first screenshot, the chosen "Herkunftskonto" is "Ausgleichskonto-EUR" and this does correctly autofill the "Buchen nach" account, while in the second screenshot this is "Bargeld" and the autofill doesn't work.

What happens if you
- Select the "Ausgleichskonto-EUR" on the account tab
- Hit "Strg+T"
- And try with "Lidl" again to autofill the "Buchen nach" account ?

Does that work ? I'm mainly checking if the different starting account makes any difference.
Comment 6 Joachim Langenbach 2011-06-02 10:27:54 UTC
Good observation, but this difference was produced while clicking on the window to tell GIMP which window should be taken. I'll start both screens with account "Bargeld". ;-)
Comment 7 Geert Janssens 2011-06-02 10:58:28 UTC
I'm sorry, I still can't reproduce the difference in behaviour you describe by using the menu versus using the keyboard shortcut.

I suspect that the core of your problem may not really be how you open the dialog, but rather a side effect of a related bug in the "Erträge/Aufwendungen anzeigen" checkbox [1]. You can also see in your screenshots that one screenshot shows your "Ausgaben" accounts while the other doesn't. If the "Ausgaben" accounts are not listed (which should be when the checkbox is unticked, but not reliable due to the related bug), autocomplete on the description will not be able to highlight the target "Ausgaben" account.

I don't know why though the "Ausgaben" accounts show in one screenshot and not the other, or in other words why in your case they are available when you use the menu and are hidden when you use the keyboard shortcut. This is the part I can't reproduce.

I guess we will first need to fix bug 612562 and then check if this bug still applies.

[1] See bug 612562
Comment 8 Christian Stimming 2011-06-02 19:07:11 UTC
For the record, in English this dialog and the button is called "Transfer".
Comment 9 Geert Janssens 2011-06-15 20:16:31 UTC
I have fixed bug 612562. I think that together with that one, this bug also got fixed.

Can you try to reproduce this problem with a build after r20762 ?
Comment 10 Geert Janssens 2011-06-16 14:49:12 UTC
(In reply to comment #9)
> I have fixed bug 612562. I think that together with that one, this bug also got
> fixed.
I was in a hurry when I wrote this, so let me clarify: with bug 612562 fixed, I get the following behaviour (using your example):

When I open the Transfer/Buchen dialog starting from the Bargeld account, the two Erträrge/Aufwendungen anzeigen boxes are unchecked, and the corresponding acounts are not in the account views (as should be).
When I fill in the dialog as in 189068, once I tab out of the description field, these things happen:
- The checkbox under Buchen nach is ticked
- The Ausgaben account and sub accounts are added to the Buchen nach list
- The Lebensmittel account is selected

This happens regardless the method to open the dialog: Ctrl-T or via the menu.

So I believe this is fixed and in the end was a duplicate of bug 612562.

Whenever you have the time, can you check this ? You may have to wait for a new release if you are unable to compile gnucash yourself.
Comment 11 Joachim Langenbach 2011-06-18 12:21:47 UTC
Hello,

since Gnucash trunk does not compile here, I can not test it right now. Actually it throws this error:

cc1: warnings being treated as errors
swig-app-utils-python.c: In Funktion »SwigPyObject_richcompare«:
swig-app-utils-python.c:1519: Fehler: dereferencing pointer »res« does break strict-aliasing rules
swig-app-utils-python.c:1519: Fehler: dereferencing pointer »res« does break strict-aliasing rules
swig-app-utils-python.c:1516: Anmerkung: initialized from here
swig-app-utils-python.c:1518: Anmerkung: initialized from here

configured with this command:

./configure --enable-aqbanking --enable-python --with-html-engine=webkit

on gentoo.

May be this error came up for others too. Otherwise, ignore it and I will wait until this version made it into portage.

Thanks so far!
Comment 12 Geert Janssens 2011-06-23 09:50:40 UTC
I'm not sure what that error means. I don't see it on my Fedora 14 or Fedora 15 systems.

However to test if this specific bug has been fixed you could configure gnucash without the --enable-python option if you like. Python is not related to the Transfer dialog.

I also propose you open a new bug report for the build error you get when python is enabled.

Thanks
Comment 13 Joachim Langenbach 2011-07-02 12:34:19 UTC
Hello,

I've tested it today and the bug is fixed.

Many thanks!
Comment 14 John Ralls 2017-09-24 22:50:16 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 15 John Ralls 2018-06-29 22:58:34 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=651690. Please update any external references or bookmarks.