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 597005 - Column width of first column in Budget is very wide
Column width of first column in Budget is very wide
Status: RESOLVED DUPLICATE of bug 347265
Product: GnuCash
Classification: Other
Component: Budgets
2.3.x
Other Linux
: Normal major
: ---
Assigned To: Chris Shoemaker
Chris Shoemaker
: 577617 619573 638370 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-10-01 15:23 UTC by Ton van Oosterm
Modified: 2018-06-29 22:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of wide Accounts column in the Budget panel issue in GnuCash 2.3.9 (70.12 KB, image/png)
2009-12-03 08:29 UTC, Kristian Balinski
Details
gconf-editor view of the increasing budget 'name_width' column at 11:40:20 (136.03 KB, image/png)
2010-03-02 10:59 UTC, Mikhail Kalkov
Details
gconf-editor view of the increasing budget 'name_width' column at 11:40:40 (135.87 KB, image/png)
2010-03-02 11:00 UTC, Mikhail Kalkov
Details

Description Ton van Oosterm 2009-10-01 15:23:30 UTC
Column width of first column in Budget is very wide (width of many windows).

There for is is hardly possible to fill in the values of a budget. It is not possible to display the name of the budget and the value of the budget together.

In version 2.3.5 the width is correct with the same file.
Comment 1 Kristian Balinski 2009-12-03 08:25:23 UTC
Issue is still present in 2.3.9. I have attached a screen shot to confirm. 

Restart of GnuCash does not help either. The column width stays as wide as it was. I have tried to re-size the column, but that has been a losing battle. Double-clicking on the column spacer also fails to remedy the situation.

Given I get some time I will muck around in the code and try to find a fix.
Comment 2 Kristian Balinski 2009-12-03 08:29:57 UTC
Created attachment 148986 [details]
Screenshot of wide Accounts column in the Budget panel issue in GnuCash 2.3.9
Comment 3 Phil Longstaff 2009-12-20 18:09:14 UTC
Yes, I've seen it too.
Comment 4 Espen Rønnevik 2010-01-07 00:58:06 UTC
I have been hitting this issue lately with Gnucash 2.2.9on Ubuntu 9.10 and I have found its reproducible using the following steps:

1) Create a new budget and set number of periods to 4. 
2) Resize the account name bar so all four period date columns are visible, then open an account category by clicking on the arrow. This causes the account name bar to resize and push the period dates to the right, aligning with the edge.
3) Create another budget, set number of periods to 1.

Account name bar will now grow, seemingly forever, until you close one of the two budgets. 

I think this is probably related to bug #347265, since when the second budget is created and auto-resizes, this causes the first budget also to resize, effectively creating a resizing loop between the two budgets, causing them to grow and grow.
Comment 5 Geert Janssens 2010-01-11 23:08:04 UTC
*** Bug 577617 has been marked as a duplicate of this bug. ***
Comment 6 Mikhail Kalkov 2010-03-02 10:55:46 UTC
This is indeed a very nasty bug, because it effectively prevents a user to from using budgets. However, I found a way to revert its consequences, and I am now able to edit one budget at a time. In order to reset the column width, one has to start up gconf-editor, and set the /apps/gnucash/window/pages/budget/name_width to around 800.

Attached are two screenshots that demonstrate the value of name_width increasing by ca. 11000 per second.

Note: I have GnuCash 2.2.8 with Ubuntu 8.10, but according to bug 577617, this is the right place to submit this comment.
Comment 7 Mikhail Kalkov 2010-03-02 10:59:35 UTC
Created attachment 155021 [details]
gconf-editor view of the increasing budget 'name_width' column at 11:40:20
Comment 8 Mikhail Kalkov 2010-03-02 11:00:13 UTC
Created attachment 155022 [details]
gconf-editor view of the increasing budget 'name_width' column at 11:40:40
Comment 9 ron regan 2010-07-16 19:36:45 UTC
I have the same problem on Ver 2.3.14  Can someone tell me what the work around is?   I see the bug was close, but dont see the resolution

thanks
Comment 10 Ton van Oosterm 2010-07-19 12:06:11 UTC
(In reply to comment #9)
> I have the same problem on Ver 2.3.14  Can someone tell me what the work around
> is?   I see the bug was close, but dont see the resolution
> 
> thanks

In Windows 7 I changed the file %gconf.xml in the directory 
C:\Users\<username>\.gconf\apps\gnucash\window\pages\budget.

The following line must be there. In my case the value was very big. After changing the vulue to 800 the value was changed in my case automatically to 1605 by the application.       

<entry name="name_width" mtime="1279540522" type="int" value="1605">
Comment 11 ron regan 2010-07-19 20:38:32 UTC
Thank you, Ton. I was able to modify the name-width value and it worked.
Comment 12 Jan Vandermeer 2010-07-27 01:43:09 UTC
Hi; I filed a bug about this some time ago which was apparently closed. I recently upgraded to gnucash 2.2.9 in a Gentoo AMD64 system and saw the recurrence of this problem. 

Based on the direction provided by Ton van Oosterm, I first attempted to edit the file /home/*/gconf/apps/gnucash/windows/pages/budget/%gconf.xml as root in Kwrite, but the changes were not permanent. I then installed gconf-editor and edited the schema there. It seems to have had the desired effect, with "name_width" value being set by the system to 526
Comment 13 Mikhail Kalkov 2010-10-25 09:32:11 UTC
Hi all!

Please, note that it is DANGEROUS to EDIT gconf configuration files BY HAND because they are read and cached by gconf daemon, and all applications access them via the gconf daemon. Therefore it is very important that you use gconf-editor (GUI) or gconftool-2 (CLI) to edit gconf. I don't know how it works under Windows, but don't use text editors for this purpose if you're running Linux.

GNOME Desktop Admin Guide, for instance, insists that all users must be logged out before you change any default preference values. [1] That is probably because although you can shut down the gconf daemon, it would get started up automatically as soon as any application would attempt to access gconf, and it is naturally very difficult to make sure no such request is made between the moment of shutdown, and the moment of updating XML file.

[1] http://library.gnome.org/admin/system-admin-guide/stable/gconf-7.html.en
Comment 14 Christian Stimming 2010-10-25 09:38:37 UTC
And in any case this needs to be fixed inside gnucash so that the name_width column doesn't get larger than the screen width.
Comment 15 Christian Stimming 2010-10-25 18:27:07 UTC
BTW I have no idea how to fix this. The size is never set explicitly in gnucash, or I could not find that. Instead, the view widget is a class derived from GtkTreeView implemented in src/gnome-utils/gnc-tree-view-account.c, but again it never sets the size itself. Hence, I think this error occurs only with particular versions of gtk. Which ones did you have?
Comment 16 Mikhail Kalkov 2010-10-26 10:01:31 UTC
I'm not completely sure which package you are asking about, but I am still using GNOME 2.24.1 with libgtk1.2.10 and libgtk2.14.4 on Ubuntu 8.10. However, since it happens in Ubuntu 9.10 (comment#4), this *might* be true for libgtk2.18.3 as well.

So, can you reproduce the error on your machine?
Comment 17 Geert Janssens 2011-01-12 10:04:16 UTC
*** Bug 619573 has been marked as a duplicate of this bug. ***
Comment 18 Geert Janssens 2011-01-12 10:09:50 UTC
Apart from installing gconf editor, the gconf key can also be updated using gconftool. See https://lists.gnucash.org/pipermail/gnucash-devel/2009-December/027021.html for an example.
Comment 19 Christian Stimming 2011-01-17 09:14:50 UTC
*** Bug 638370 has been marked as a duplicate of this bug. ***
Comment 20 brad.riensche 2011-01-26 05:33:52 UTC
I just encountered this bug, and discovered that it seems to be triggered by opening a second budget page while my first budget is still open.  You can watch the bottom scroll bar go to infinity right before your eyes.
Comment 21 Geert Janssens 2011-02-27 00:48:59 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 347265 ***
Comment 22 Mikhail Kalkov 2011-02-27 08:40:19 UTC
So, is it confirmed now that what Espen Rønnevik described in comment#4 is the true reason of this bug? Does it also mean that you somehow managed to stop the automatic resizing (bug 347265) and get rid of this bug, which means we might be close to finally fixing it?
Comment 23 Geert Janssens 2011-02-27 09:37:58 UTC
Indeed. I have some code ready to fix the unintended resizing interference between two budget reports with different column counts. It was ready just too late for the release of 2.4.3 which is now in progress, so it will appear in 2.4.4. I will commit it as soon as the 2.4.3 is released.
Comment 24 Mikhail Kalkov 2011-03-01 20:12:01 UTC
Thanks a lot, Geert, for fixing this long-standing bug!
Comment 25 John Ralls 2018-06-29 22:29:08 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=597005. Please update any external references or bookmarks.