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 626681 - date fields missing in GUI, lost in change from 2.2.9 to 2.3.14
date fields missing in GUI, lost in change from 2.2.9 to 2.3.14
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: User Interface General
git-master
Other Linux
: Normal major
: ---
Assigned To: David Hampton
Chris Shoemaker
Depends on:
Blocks:
 
 
Reported: 2010-08-11 20:52 UTC by Juergen
Modified: 2018-06-29 22:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot, versions 2.2.9 and 2.3.14 (broken) (146.84 KB, image/png)
2010-08-11 20:55 UTC, Juergen
Details

Description Juergen 2010-08-11 20:52:43 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
Comment 1 Juergen 2010-08-11 20:55:20 UTC
Created attachment 167668 [details]
Screenshot, versions 2.2.9 and 2.3.14 (broken)
Comment 2 Christian Stimming 2010-08-13 09:18:31 UTC
This is Linux? Sounds like an important bug that needs to be fixed!
Comment 3 Christian Stimming 2010-08-14 20:28:00 UTC
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 ?
Comment 4 Geert Janssens 2010-08-15 21:25:09 UTC
(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.
Comment 5 Christian Stimming 2010-08-16 06:44:19 UTC
(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.
Comment 6 Geert Janssens 2010-09-01 16:27:00 UTC
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.
Comment 7 Geert Janssens 2010-09-02 12:36:47 UTC
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.
Comment 8 John Ralls 2018-06-29 22:43:00 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=626681. Please update any external references or bookmarks.