GNOME Bugzilla – Bug 549115
Popup calendar unresponsive in modal dialogs
Last modified: 2018-06-29 22:09:12 UTC
The calendar widget in the Price Editor does not appear to work. The mouse doesn't work at all and the keyboard can only change the month and year. Thanks!
This is probably a duplicate of bug 545722, but I can't really tell from the description.
OK, I can reproduce this in trunk, and the calendar control works in other places, like reports. So the bug is not a duplicate and appears to be specific to the price editor. I'll take a look at the code. Confirming.
In trunk, the keyboard appears to work correctly. Only the mouse clicks don't work. This seems to be related to whether the dialog box containing the date control is modal: non-modal dialogs work fine, but the calendar popup ignores mouse clicks in modal dialogs such as the price editing dialog or the account reconcile dialog.
It looks like this may be a GTK+ issue similar to bug 520570.
*** Bug 550595 has been marked as a duplicate of this bug. ***
I made a bunch of changes to the GNCDateEdit control and it works correctly for me now. I will commit once I've finished testing. The changes seem to also fix bug 520570 and bug 378734.
I think that this bug is basically a duplicate of bug 520570 (same underlying problem, different symptom). In any case, I have committed a fix as r17493. This fixes bug 378734, bug 520570, bug 545316, and bug 549115. Requesting backport for 2.2. Tested on XP and XP/mingw.
Applied to branches/2.2 as r17579 for inclusion in GnuCash 2.2.7. Thanks a lot!
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=549115. Please update any external references or bookmarks.