GNOME Bugzilla – Bug 626681
date fields missing in GUI, lost in change from 2.2.9 to 2.3.14
Last modified: 2018-06-29 22:43:00 UTC
When I want to create a scheduled transaction from an existing one, the dialog does no longer show the appropriate entry fields for the start and end date. Both fields were present in 2.2.9 See attached screenshot
Created attachment 167668 [details] Screenshot, versions 2.2.9 and 2.3.14 (broken)
This is Linux? Sounds like an important bug that needs to be fixed!
I can confirm this error with SVN trunk r19428, Linux Ubuntu 10.04. @Geert: Potentially a side-effect of some mangling with the src/gnome/glade/sched-xact.glade file, when those widget locations are looked up in gnome/dialog-sx-from-trans.c ?
(In reply to comment #3) > @Geert: > Potentially a side-effect of some mangling with the > src/gnome/glade/sched-xact.glade file, when those widget locations are looked > up in gnome/dialog-sx-from-trans.c ? I see this bug also here. But no, it's not caused by the glade file conversion. The date controls are inserted by looking up the parent widgets. For start date, this is the "param_table" widget, for the end date it's the "end_date_hbox" hbox. Both widgets are still present and found by the code. Just to be sure I also reverted the glade file to the version before my changes. The date entries still don't show up, so the issue must be older. I looked at the code, but I honestly don't see anything obviously wrong so far.
(In reply to comment #4) > But no, it's not caused by the glade file conversion. Ok, thanks for checking this. I saw the widget name "end_date_hbox" appears twice in the glade file, once in this widget and once in another top-level widget. Maybe that is a problem? Also, there was no need to delay 2.3.15 as the feature itself isn't too important. A workaround is to press the "Advanced..." button at the bottom of this window so that the full scheduled transaction editor opens, where the date fields should appear just normal again. Nevertheless the bug is a problem and needs to be fixed.
I went as far back as I could download Windows builds from the build server. 2.3.1 on Windows still has this problem. I couldn't get 2.3.0 to run on Windows. So the problem seems to be pretty old.
Ok, I traced it back to svn r17528 (see http://svn.gnucash.org/trac/changeset/17528). I'm not sure why in that changeset, gtk_widget_show_all was replaced with gtk_widget_show. In any case, I have reverted this change, keeping the other modifications in place. The date fields show up again now. @Andreas, do you remember the reason for this change ? If my fix breaks your original intent, please reopen 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=626681. Please update any external references or bookmarks.