Re: Notes column in SingleLine display

2017-06-24 Thread azalea4va
Thank you Derek.  I have figure out enough to get this working preliminarily
(doesn't that inspire confidence!).  All the changes are confined to a
single file as was suggested,
/register/ledger-core/split-register-layout.c/.

I moved the ASSOC and NOTES colums to the first line of output for a
transaction. By default, I made those columns very narrow so they do not
take up much screen real estate in cases where that is an issue.  NOTES are
also output in the column used for DESC in DoubleLine mode, so a wide note
can be seen without changing the NOTES column width, for those with limited
screen real estate. But for those with more pixels to play with, one can
make the NOTES field wider and not need to resort to DoubleLine viewing.  (I
also dropped ACTN from DoubleLine since it is not a transaction-wide
attribute. It is a split attribute which can see in a view showing the
splits.)

I have linked the diff file and a screenshot of what a register would look
like on a 2014 wide display.  The code lists some register types and viewing
modes that I have not figured out what they are or how one would produce
them.  So I obviously have not done anything to see how they are working.

gc-diff.gc-diff
  
gc-reg.png   



--
View this message in context: 
http://gnucash.1415818.n4.nabble.com/Notes-column-in-SingleLine-display-tp4692253p4692350.html
Sent from the GnuCash - User mailing list archive at Nabble.com.
___
gnucash-user mailing list
gnucash-user@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: Notes column in SingleLine display

2017-06-18 Thread azalea4va
Colin Law wrote
> @azalea4va before deciding that the feature does not need to be
> optional, try it on a 1024 width display with the tabs down the side.
> 
> On 18 June 2017 at 21:21, David Carlson 

> david.carlson.417@

>  wrote:
>> Well, there is no way to replace the description with the notes other
>> than
>> to put the text that you want to see in the Description field.  Isn't
>> that
>> good enough?

Good enough?  Well I can live with it as is and use some such workaround. 
But I am willing to put in a little effort, recompiling the code with a fix,
if that can be done with reasonable effort.

Colin, I agree with you 100%.  I suspect the reason Notes are currently only
output on a separate line is gnucash was developed at a time when 1024 wide
displays were far more common place.  But ALL current columns are really
optional (except Description).  Their size can be reduced to 1 (or 0?) pixel
wide.  If a Notes field was added, those using 1024 displays could reduce
the Notes column to 1 pixel in width.  Heck I would not object if the
default was a Notes field 1 pixel wide.  Essentially no change for those who
do not want a Notes field, but those who did want it could expand the field
as needed. 



--
View this message in context: 
http://gnucash.1415818.n4.nabble.com/Notes-column-in-SingleLine-display-tp4692253p4692259.html
Sent from the GnuCash - User mailing list archive at Nabble.com.
___
gnucash-user mailing list
gnucash-user@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: Notes column in SingleLine display

2017-06-18 Thread Colin Law
I think he/she wants both description and notes side by side in single
line mode.

@azalea4va before deciding that the feature does not need to be
optional, try it on a 1024 width display with the tabs down the side.

Colin

On 18 June 2017 at 21:21, David Carlson  wrote:
> Well, if you read the manual you will find the answer to all your prayers,
> or at ieast to all the "faults" that you have found so far with GnuCash.
> Well, there is no way to replace the description with the notes other than
> to put the text that you want to see in the Description field.  Isn't that
> good enough?
>
>
> David C
>
> On Jun 18, 2017 10:32 AM, "azalea4va"  wrote:
>
> I am new to GnuCash.  What was MOST noticable within minutes of my first use
> was the glaring inefficient use of screen space.  Perhaps 1/3 of a register
> listing is just empty in an overly wide "Description" column.  I personally
> prefer to have the Notes field visible in the SingleLine display instead of
> having to use a DoubleLine display (halving the number of transactions that
> can be listed).  While I would love to see that as an official program
> change (those that like things as they are could reduce a SingleLine "note"
> column to minimal size), I doubt that will happen.  I have downloaded the
> soure code and am wondering if anyone can provide some guidance in two
> areas.
>
> 1. Hopefully adding the Notes column is a fairly straight-forward change,
> ideally just requring a change to a single function (and maybe calls to that
> function).  Any idea how complex such a change would be?
>
> 2. There is alot of code,  where would I focus my search efforts in finding
> the code that must be chnaged?
>
> Thank you.
>
>
>
> --
> View this message in context: http://gnucash.1415818.n4.
> nabble.com/Notes-column-in-SingleLine-display-tp4692253.html
> Sent from the GnuCash - User mailing list archive at Nabble.com.
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
> ___
> gnucash-user mailing list
> gnucash-user@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
___
gnucash-user mailing list
gnucash-user@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: Notes column in SingleLine display

2017-06-18 Thread David Carlson
Well, if you read the manual you will find the answer to all your prayers,
or at ieast to all the "faults" that you have found so far with GnuCash.
Well, there is no way to replace the description with the notes other than
to put the text that you want to see in the Description field.  Isn't that
good enough?


David C

On Jun 18, 2017 10:32 AM, "azalea4va"  wrote:

I am new to GnuCash.  What was MOST noticable within minutes of my first use
was the glaring inefficient use of screen space.  Perhaps 1/3 of a register
listing is just empty in an overly wide "Description" column.  I personally
prefer to have the Notes field visible in the SingleLine display instead of
having to use a DoubleLine display (halving the number of transactions that
can be listed).  While I would love to see that as an official program
change (those that like things as they are could reduce a SingleLine "note"
column to minimal size), I doubt that will happen.  I have downloaded the
soure code and am wondering if anyone can provide some guidance in two
areas.

1. Hopefully adding the Notes column is a fairly straight-forward change,
ideally just requring a change to a single function (and maybe calls to that
function).  Any idea how complex such a change would be?

2. There is alot of code,  where would I focus my search efforts in finding
the code that must be chnaged?

Thank you.



--
View this message in context: http://gnucash.1415818.n4.
nabble.com/Notes-column-in-SingleLine-display-tp4692253.html
Sent from the GnuCash - User mailing list archive at Nabble.com.
___
gnucash-user mailing list
gnucash-user@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
___
gnucash-user mailing list
gnucash-user@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.