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 721472 - Descriptions do not wrap in the Reconcile Window
Descriptions do not wrap in the Reconcile Window
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: User Interface General
2.6.0
Other All
: Normal normal
: ---
Assigned To: gnucash-ui-maint
gnucash-ui-maint
Depends on:
Blocks:
 
 
Reported: 2014-01-04 18:43 UTC by butterandsalt
Modified: 2018-06-29 23:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make description column elipsized (7.52 KB, patch)
2014-02-24 15:31 UTC, Bob
committed Details | Review

Description butterandsalt 2014-01-04 18:43:34 UTC
In the reconcile account screen, the description lines do NOT wrap, as a result if you have any descriptions that are particularly long, the box that you click if you are trying to reconcile a particular line that has a long description, is not visible on the screen, eg you have to scroll over, and in some cases then you no longer can tell what line you're on. 

It makes no difference if you expand the reconcile window screen to full window size.  If the description of any entry is particularly long, it will push all the boxes that you check off to the right, out of sight in the window unless you physically scroll over.   

In the previous versions it did not make any difference the size of the window, it would automatically adjust and the check boxes would always be visible, regardless of the length of any transaction description.
Comment 1 John Ralls 2014-01-05 00:14:53 UTC
I see this on OSX as well.

In 2.4, the description string is truncated, while in 2.6 the description field expands to accomodate the widest string.
Comment 2 Geert Janssens 2014-01-15 16:56:22 UTC
The 2.4 reconcile dialog was using deprecated gtk widgets so it has been rewritten to use a gtk tree view widget. This rewrite is the cause of the different behaviour.

A few solutions are possible:
- either restore the original behaviour of truncating lines that don't fit the available space

- or work with a sane default/initial width but allow the user the resize the columns (storing the user settings in preferences)

The latter option has the advantage that you can still see long lines if you wish.

I will cc the original author of the new dialog. Perhaps he is in a position to look into this.
Comment 3 Bob 2014-02-24 15:31:24 UTC
Created attachment 270149 [details] [review]
Make description column elipsized

This Patch enables the description column to be elipsized as before when text is too long. Also, when the text is elipsized and the mouse is hovering over the text a tool tip is displayed with the full text.

For a sane default, the window size is already saved and each tree view takes half of that window and the description column adjusts its self to take the spare space. So for larger description columns, save a bigger window.

As for saving the column widths, I did not think the over head was worth while.
Comment 4 Geert Janssens 2014-02-25 14:38:51 UTC
Comment on attachment 270149 [details] [review]
Make description column elipsized

Committed as https://github.com/Gnucash/gnucash/commit/36853c2a77e6888ddf260a1a03c3bc785ee8d44d

Thank you very much !

Nice to hear from you again Bob :)
Comment 5 John Ralls 2018-06-29 23:23:38 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=721472. Please update any external references or bookmarks.