This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Scrolling large file, TC jumps by huge amount of lines

 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
s4t
Junior Member
Junior Member


Joined: 03 Mar 2014
Posts: 12

PostPosted: Mon Apr 16, 2018 5:51 am    Post subject: Scrolling large file, TC jumps by huge amount of lines Reply with quote

Last 5 years or so there was introduced one very annoying bug into process of viewing large files. If you open large file with 1000s of lines and start scrolling its content with the mouse wheel then the process of scrolling down goes OK but when you stop and start scrolling text up the TC jumps by huge amount of lines up or even till the top line of file. This essentially makes mouse wheel useless.
Back to top
View user's profile Send private message
Horst.Epp
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 2969
Location: Germany

PostPosted: Mon Apr 16, 2018 5:59 am    Post subject: Reply with quote

There was never such a bug in my TC history.
I have a log file with more than 99000 lines (Size 150MB)
and this scrolls in Lister with no problems or delays up and down.
You may have some strange mouse software or Lister plugin.
_________________
Windows 10 x64 Version 1803
April 2018 Update (OS Build 17134.165)
TC 9.20 x64 and x86, Everything 1.4.1.905 (x64)
Back to top
View user's profile Send private message
Stefan2
Power Member
Power Member


Joined: 13 Sep 2007
Posts: 1964
Location: Europa

PostPosted: Mon Apr 16, 2018 6:35 am    Post subject: Re: Scrolling large file, TC jumps by huge amount of lines Reply with quote

s4t wrote:
Last 5 years or so there was introduced one very annoying bug into process of viewing large files. If you open large file with 1000s of lines and start scrolling its content with the mouse wheel then the process of scrolling down goes OK but when you stop and start scrolling text up the TC jumps by huge amount of lines up or even till the top line of file. This essentially makes mouse wheel useless.


How or with which tool do you "viewing large files"?

About how many "1000s of lines" do we talking about at minimum? (how many MBs? or GBs? of file size)

Which kind of text does that files contain? Script language?

How does it works opening that files in a good text editor (not notepad.exe)?


Which OS, which bitness architecture do you use?
Which TC version in which bitness architecture do you use?




 
_________________
The destination is one thing. Getting there is everything.
Back to top
View user's profile Send private message
Dalai
Power Member
Power Member


Joined: 28 Jan 2005
Posts: 6077
Location: Meiningen (Südthüringen)

PostPosted: Mon Apr 16, 2018 8:54 am    Post subject: Reply with quote

In addition to Stefan's questions: Do you use any Lister plugin?

Regards
Dalai
_________________
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups
Back to top
View user's profile Send private message Send e-mail
s4t
Junior Member
Junior Member


Joined: 03 Mar 2014
Posts: 12

PostPosted: Sat Apr 21, 2018 6:39 am    Post subject: Reply with quote

No, I do not have any plugins.

Just open with viewer F3 any regular large text file and just watch more carefully otherwise you may not notice that. All people scroll mostly down or up. What you need is scroll somewhere on the center and start scrolling down then scroll up.

Please try again. The error occurs on the moment of changing direction, on your first scroll up immediately after scrolling down, up-down-up-down by the one click of the wheel !!!

On regular editors all works like usual, moving mouse wheel down-up-down-up-down by one single scroll click the text (usual ASCII text) moves one line down - one line up - one line down ...

One TC viewer scroll up-down-up-down jumps by 20 or 100 lines. Looks like the larger file the larger jump


/* Did anyone noticed, by the way, that TC is the only forum which screws you up if you edited several times your posted text during half an hour or so? If you edited text 3-4 times during this time fixing your typos and adding stuff TC may post the text your edited 3 editions back !
Back to top
View user's profile Send private message
Dalai
Power Member
Power Member


Joined: 28 Jan 2005
Posts: 6077
Location: Meiningen (Südthüringen)

PostPosted: Sat Apr 21, 2018 7:43 am    Post subject: Reply with quote

I still can't see any problem with scrolling, and I do that a lot, even in large text files, even with quickly switching scroll directions. Disable "Smooth-scroll list boxes" option in SystemPropertiesPerformance.exe and see if that helps.

s4t wrote:
/* Did anyone noticed, by the way, that TC is the only forum which screws you up if you edited several times your posted text during half an hour or so? If you edited text 3-4 times during this time fixing your typos and adding stuff TC may post the text your edited 3 editions back !

Never had such problems, in any of my almost 6000 posts. Try clearing your browser cache, or even a new profile to see if the issue occurs there.

Regards
Dalai
_________________
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups
Back to top
View user's profile Send private message Send e-mail
Horst.Epp
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 2969
Location: Germany

PostPosted: Sat Apr 21, 2018 7:50 am    Post subject: Reply with quote

s4t wrote:
No, I do not have any plugins.
...
/* Did anyone noticed, by the way, that TC is the only forum which screws you up if you edited several times your posted text during half an hour or so? If you edited text 3-4 times during this time fixing your typos and adding stuff TC may post the text your edited 3 editions back !

I often correct my postings shortly after the first post to change typing errors.
Never had such problem after editing a post.
Most of the time I use Chrome sometimes Firefox.
_________________
Windows 10 x64 Version 1803
April 2018 Update (OS Build 17134.165)
TC 9.20 x64 and x86, Everything 1.4.1.905 (x64)
Back to top
View user's profile Send private message
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7851
Location: Valsted, Denmark

PostPosted: Sat Apr 21, 2018 11:37 am    Post subject: Reply with quote

Quote:
On regular editors all works like usual, moving mouse wheel down-up-down-up-down by one single scroll click the text (usual ASCII text) moves one line down - one line up - one line down ...

One TC viewer scroll up-down-up-down jumps by 20 or 100 lines. Looks like the larger file the larger jump

Windows default setting for scrolling is 3 lines at the time - so maybe you have changed the setting to for example one screen at the time, and your other editors override Windows setting, but TC abides to it. Check your mouse settings.


Quote:
/* Did anyone noticed, by the way, that TC is the only forum which screws you up if you edited several times your posted text during half an hour or so? If you edited text 3-4 times during this time fixing your typos and adding stuff TC may post the text your edited 3 editions back !

I have never noticed this, and I very often make fixings of typos several times (I am a bad typist).
_________________
#524
Danish Total Commander Translator
TC 9.20 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.91b3 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
s4t
Junior Member
Junior Member


Joined: 03 Mar 2014
Posts: 12

PostPosted: Sat Apr 21, 2018 11:54 am    Post subject: Reply with quote

No, SystemPropertiesPerformance did not help.

Please try again, gays, use very large text files, 100 MB in size or so. On small ones like 100 KB I do not see any problems. The effect starts from the beginning you start scrolling down....down...down few pages and immediately as you change the direction of scrolling to UP the cursor returns to the beginning of the file
Back to top
View user's profile Send private message
Hacker
Moderator
Moderator


Joined: 06 Feb 2003
Posts: 10916
Location: Bratislava, Slovakia

PostPosted: Sat Apr 21, 2018 1:45 pm    Post subject: Reply with quote

s4t,
Do you have the cursor enabled?

Roman
_________________
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Back to top
View user's profile Send private message Send e-mail
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7851
Location: Valsted, Denmark

PostPosted: Sat Apr 21, 2018 2:32 pm    Post subject: Reply with quote

2s4t
I tried it under Windows 7 with a file that is an export of the entire Registry database (365 Mb). This file is in Unicode, after converting to ANSI it is 177Mb. I cannot reproduce it with either of the two files.

I also tried on Windows 10, here the Unicode files is 413 Mb an the ANSI file is 207 Mb. I cannot reproduce the bug here either.

But, I noticed that on this pretty slow Windows 10 laptop pc there is a delay stopping scrolling a Unicode or a UTF-8 file after I stop turning the scroll wheel - the scrolling is not performing in real-time. But that also applies to much smaller Unicode files, so apparantly the decoding of the Unicode file slows down the scrolling. This only applies to 64bit TC - 32bit TC scrolls in real-time also with Unicode files.

I made some more tests on other slow laptops scrolling Unicode or UTF-8 files with Windows XP (32bit), 7 and 8.1. On Windows XP there are no speed problems. On Windows 7 (the same PC as XP) there is a micro-delay when scrolling with 64bit TC and no delay with 32bit TC. On Windows 8.1 I see the same delay with TC 64bit as under Windows 10 (and the Windows 8.1 pc is a faster pc than the windows 10 pc) but still no delay with TC 32bit.

I all cases where I see a scrolling delay with TC 64bit with Unicode files, changing from ANSI to ASCII makes the delay much less pronounced. I am using default font settings in Lister. Also I am not using text wrapping and have the text cursor shown in all tests, but changing those two setting does not make a difference.
____________

2s4t
Did you check your mouse wheel settings as proposed earlier?
_________________
#524
Danish Total Commander Translator
TC 9.20 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.91b3 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Dalai
Power Member
Power Member


Joined: 28 Jan 2005
Posts: 6077
Location: Meiningen (Südthüringen)

PostPosted: Sat Apr 21, 2018 4:50 pm    Post subject: Reply with quote

2petermad
A delay is one thing. But did you experience any jumps s4t mentioned?

Regards
Dalai
_________________
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups
Back to top
View user's profile Send private message Send e-mail
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7851
Location: Valsted, Denmark

PostPosted: Sun Apr 22, 2018 2:11 am    Post subject: Reply with quote

2Dalai
No, as i wrote in the first paragraph: "I cannot reproduce it with either of the two files."
_________________
#524
Danish Total Commander Translator
TC 9.20 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.91b3 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group