Display items ahead when scrolling up/down the list

Features wanted...
PeterH
Posts: 2580
Joined: 21 Nov 2005 20:39
Location: Germany

Re: Display items ahead when scrolling up/down the list

Post by PeterH » 08 Mar 2017 21:01

Tested KeyScrollMargins=2 > fine!!! :appl:
(No crash for me :mrgreen: )

Didn't expect 2 empty lines appearing when going to bottom. While at top the 1st line is kept - yes: at the very top :-)
But: not really a problem.

To ask: wasn't there a chance to 'dynamically' set some tweaks? Don't find info. Would be fine if it would be possible here :maf:
W7(x64) SP1 German
( +WXP SP3 )

admin
Site Admin
Posts: 48188
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Display items ahead when scrolling up/down the list

Post by admin » 08 Mar 2017 21:08

Fixed.

1:0 :ball:

TheQwerty
Posts: 4353
Joined: 03 Aug 2007 22:30

Re: Display items ahead when scrolling up/down the list

Post by TheQwerty » 08 Mar 2017 21:11

PeterH wrote:To ask: wasn't there a chance to 'dynamically' set some tweaks? Don't find info. Would be fine if it would be possible here :maf:
Some can be modified via script with the undocumented tweak function, but this new tweak is one of those that it does not support (yet).

PeterH
Posts: 2580
Joined: 21 Nov 2005 20:39
Location: Germany

Re: Display items ahead when scrolling up/down the list

Post by PeterH » 08 Mar 2017 21:16

Ah - undocumented! Really forgot "this strange kind of behavior"! So thanks :ball:

To say: I wish it here :beer:
W7(x64) SP1 German
( +WXP SP3 )

TheQwerty
Posts: 4353
Joined: 03 Aug 2007 22:30

Re: Display items ahead when scrolling up/down the list

Post by TheQwerty » 08 Mar 2017 21:19

TheQwerty wrote:CRASH!

From fresh v17.70.0103:
  1. Set Configuration | Styles | Grid style to Alternate Groups (Smart Names).
  2. Enable #408 Tools | Customize List | Show Grid.
  3. Set KeyScrollMargins=5 - 5 is not important, but the actual value does make a difference in ways not clear to me.
  4. Navigate down all the way to the end of the list.
It almost looks like the grid styling is not calculated until the items are listed and with this tweak if the style is not calculated yet there can be a crash when entering the group. Maybe? I'm not sure.
Fixed in v17.70.0104! :beer:

RalphM
Posts: 1260
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Display items ahead when scrolling up/down the list

Post by RalphM » 09 Mar 2017 07:00

I tested this and even before adjusting KeyScrollMargins when scrolling down in the list by key down the focused line was always the 2nd but last, going up it always focused the topmost line.
After changing the value to KeyScrollMargins=2, I now always have 3 lines below the focused one on the way down and 2 lines above on the way up.
Something wrong with the calculation here or something else influencing this on my system?
Ralph :-)
(OS: W10 1809 Home x64 - XY: Current beta)

autocart
Posts: 766
Joined: 26 Sep 2013 15:22

Re: Display items ahead when scrolling up/down the list

Post by autocart » 09 Mar 2017 07:22

RalphM wrote:I tested this and even before adjusting KeyScrollMargins when scrolling down in the list by key down the focused line was always the 2nd but last, going up it always focused the topmost line.
After changing the value to KeyScrollMargins=2, I now always have 3 lines below the focused one on the way down and 2 lines above on the way up.
Something wrong with the calculation here or something else influencing this on my system?
This happens to me if the height of the list view control is *almost* as high as a full number of rows (minus 1 or 2 pixels). In this case it may *look* like the last row is fully displayed but for XY it is not, which optically adds that row at the bottom but not for matters of internal calculation.
If I increase the height of the list view control by a few pixels so that it barely shows the beginning of the next row, then it also *looks* as expected.
I hope I could explain my thoughts understandingly.
customInlineRenameKeys ("OldStyle", "Mouse++" and "Ultimate"), clipboardHelper_and_XYEscToList

RalphM
Posts: 1260
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Display items ahead when scrolling up/down the list

Post by RalphM » 09 Mar 2017 14:05

So you seem to confirm that my first suggestion is true - something wrong with the calculation!
Not a biggie anyway, just thought I put my findings out there...
Ralph :-)
(OS: W10 1809 Home x64 - XY: Current beta)

sinilill
Posts: 111
Joined: 02 Dec 2013 18:37

Re: Display items ahead when scrolling up/down the list

Post by sinilill » 09 Mar 2017 14:43

Nice feature, thanks. I also have a another tweak enabled, it had something to do when navigating the list upwards. When going the list up (with up key)and the selection is right on top of the list, then it would automatically schroll <n> lines. Now I have both tweaks enabled and the upwards navigation is "jumpy". Unfortunately I don't remember the tweak anymore and can't disable it. Does somebody know the tweak?

highend
Posts: 8450
Joined: 06 Feb 2011 00:33

Re: Display items ahead when scrolling up/down the list

Post by highend » 09 Mar 2017 14:48

ListRowForAutoScroll= ?
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

sinilill
Posts: 111
Joined: 02 Dec 2013 18:37

Re: Display items ahead when scrolling up/down the list

Post by sinilill » 09 Mar 2017 15:06

highend wrote:ListRowForAutoScroll= ?
yes, thank you :appl:

admin
Site Admin
Posts: 48188
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Display items ahead when scrolling up/down the list

Post by admin » 09 Mar 2017 15:26

RalphM wrote:So you seem to confirm that my first suggestion is true - something wrong with the calculation!
Not a biggie anyway, just thought I put my findings out there...
No, nothing is wrong. It's as autocart said: the last focused line must be fully visible, else it's scrolled one up to make it fully visible. Windows standard ever since.

admin
Site Admin
Posts: 48188
Joined: 22 May 2004 16:48
Location: Cologne, Win 8.1, Win 10
Contact:

Re: Display items ahead when scrolling up/down the list

Post by admin » 09 Mar 2017 15:33

highend wrote:ListRowForAutoScroll= ?
Indeed, the combination of both tweaks makes it jumpy. Probably the days are counted for ListRowForAutoScroll . I don't see much use in it anymore.

kinook
Posts: 86
Joined: 22 Jul 2008 18:48
Contact:

Re: Display items ahead when scrolling up/down the list

Post by kinook » 09 Mar 2017 16:43

It would be great if the new setting applied to PageUp/Down as well. Thanks.

highend
Posts: 8450
Joined: 06 Feb 2011 00:33

Re: Display items ahead when scrolling up/down the list

Post by highend » 09 Mar 2017 16:46

It would be great if the new setting applied to PageUp/Down as well
Good point! + 1
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

Post Reply