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 404451 - Summary bar with long ticker symbol causes GnuCash not able to be resized horizontally
Summary bar with long ticker symbol causes GnuCash not able to be resized hor...
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: User Interface General
2.2.x
Other All
: Normal normal
: ---
Assigned To: gnucash-ui-maint
gnucash-ui-maint
: 404061 604780 (view as bug list)
Depends on:
Blocks: 732763
 
 
Reported: 2007-02-04 23:11 UTC by Per Kjeldaas
Modified: 2018-06-29 21:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test Case that easily reproduces this bug (219 bytes, text/plain)
2008-11-09 23:30 UTC, Brad Rubenstein
Details

Description Per Kjeldaas 2007-02-04 23:11:39 UTC
Please describe the problem:
One time when I opened gnucash, and every time after that, the window occupied by gnucash stretched out horizontally way beyond the confines of the regular window.  If I try to resize vertically, it will let me make it larger and then smaller back to where I started, but not smaller than that.  In the vertical direction I can resize without any problem.  I run under Ubuntu 6.10 under VMWare.  This problem did not happen the first several times I used gnucash.  It did happen in version 1.8.?? using fink under Mac OSX, so I gave up using gnucash at that time, several months ago. 

Steps to reproduce:
1. It suddenly happened when I opened gnucash, and every time after that.
2. 
3. 


Actual results:
The gnucsh window is too large.

Expected results:
I would have expected to be able to resize the gnucash window, and not hit a minimum width restriction.

Does this happen every time?
Yes, from a certain date.

Other information:
No.
Comment 1 Christian Stimming 2007-02-05 10:05:10 UTC
*** Bug 404061 has been marked as a duplicate of this bug. ***
Comment 2 Andreas Köhler 2007-02-12 00:04:23 UTC
Does that minimum width equal the width of the summary bar (present, future, ...) in the account registers?
Comment 3 Frank 2007-02-15 01:43:05 UTC
(In reply to comment #2)
> Does that minimum width equal the width of the summary bar (present, future,
> ...) in the account registers?
> 

Yes, the minimum width includes the summary bar.  There's an up-down arrow on the summary bar and it's not visible when maximized.
Comment 4 Per Kjeldaas 2007-02-18 18:16:50 UTC
Here is more information:

1. This bug appears to be the same as the one reported as 369637.

2. I was able to replicate the bug as follows:

  a. I started with a file that worked OK.
  b. Then I import several QIF files from Microsoft Money.

After that, I had this problem.
Comment 5 Per Kjeldaas 2007-02-18 20:28:22 UTC
Here is more information:

1. Further testing with my own file showed that the defect showed up only if I imported regular and investment accounts in the same run.  From Money I cannot create a multi-account QIF file, so I had to try to do them one at a time.

2. So then I tried to isolate the error, by creating a simple Gnucash file with standard accounts, attached as TestBefore.gnu.

3. Then I created a file on Money with one account and one transaction, and exported it; see Test..

4. When I imported that file into the gnu file, it worked fine.

5. Then I added an investment account to the Money file, with one share purchase, and exported both files now as Checking.qif and Investment.qif.  When I batch imported both account, GnuCash blew up and exited.

6. When I imported first the Investment.qif account file, it worked fine.  When I the separately imported the Checking.qif file, it blew up again.

7. Then I tried the Checking file by itself, and it also blew up.

I couldn't attach the QIF files, so here they are:

Investment.qif:
!Type:Invst
D02/18'07
T100.00
NBuy
YSHARE
I1
Q100
^

Checking.qif:
!Type:Bank
D02/18'07
T0.00
CX
POpening Balance
L[Checking]
^
D02/18'07
T100.00
PXYZ
LIncome-Interest
^
D02/18'07
T-100.00
PDeposit
L[Investment (Cas]
^

Test.qif:
!Type:Bank
D02/18'07
T0.00
CX
POpening Balance
L[Checking]
^
D02/18'07
T100.00
PXYZ
LIncome-Interest
^

Comment 6 Christian Stimming 2008-11-07 21:51:34 UTC
Comment 4 and comment 5 apparently were directed towards some other bug.

Does the original bug still appear with any 2.2.x version of gnucash?
Comment 7 Brad Rubenstein 2008-11-09 22:39:39 UTC
Re Comment 6:  I have this same problem in rev 2.2.7 on FC8.  New file, import QIF from quicken, and resulting window is wider than screen and cannot be resized narrower.
Comment 8 Brad Rubenstein 2008-11-09 23:30:03 UTC
Created attachment 122297 [details]
Test Case that easily reproduces this bug

In 2.2.7, this trivially reproduces the bug:

1)  Run Gnucash, on no file
2) Import attached QIF
3) Give the default response to all dialog boxes, until they are dismissed
4) Notice that the Information dialog box for the security is very wide
5) Notice that the underlying main window now has a lower-bound width that is wider than the screen (if it is not wider than your screen that doesn't matter; it shouldn't have a lower-bound width at all)
Comment 9 Brad Rubenstein 2008-11-09 23:40:49 UTC
The problem is the ticker.  The default ticker for a security in the QIF file is the name of the security.  Long ticker names set large minimum width bounds on the main window (oddly).

Workaround: when uploading the QIF file, assure that ticker names are short (say, under 34 characters), not the default.

Requested Fix:  the main window should not have a minimum width set that is determined by the width of tickers symbols (or inherited from the asset information dialog box).

Apologies for the multiple updates... - brad



Comment 10 Brad Rubenstein 2009-12-16 21:49:49 UTC
Still broken in 2.3.7.

Simpler workaround:  Hide the summary Bar (View->Summary Bar).
Comment 11 Christian Stimming 2011-03-08 11:30:18 UTC
Similar bug but in other parts of gnucash: bug#549860
Comment 12 Geert Janssens 2014-08-25 10:27:04 UTC
*** Bug 604780 has been marked as a duplicate of this bug. ***
Comment 13 John Ralls 2018-06-29 21:25:35 UTC
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=404451. Please continue processing the bug there and please update any external references or bookmarks.