missing screen refresh after maximize/restore window

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

missing screen refresh after maximize/restore window

Post by *StatusQuo »

A weird display issue (also in TC 7.04a):
  • - restore TC window (not maximized)
    - go to a dir with more files than fitting on the screen (e.g. windows dir)
    - put cursor in last line (e.g. using end key)
    - drag the bottom border up to decrease TC window's Y-size, so that the last few files (and the cursor position) are not displayed anymore
    :arrow: now press cursor-up key and watch the lines change on every press of the up key
The same happens after restoring a previously maximized TC window (to a smaller size).

Ctrl-r fixes the displayed list.

P.S.: This also happens sometimes (not reproducible yet)
- after calling a tool, that adds a file to the current window.
- after entering a dir with sort order by date ascending (Ctrl+F5, Ctrl+F5), selecting a file that would alphabetically be listed further down in the list, then switch to alphabetical sorting.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

watch the lines change on every press of the up key
I don't see anything peculiar - the list is scrolled so that the second-to-last file is visible and highlighted (some of the last file may also be visible). Thereafter the cursor just goes up one file for each press on arow-up until the top of the panel is reached.

Are you using a non-default setting for icon size (Iconsize32=) or line height (MinLineHeight=)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

petermad wrote:Are you using a non-default setting for icon size (Iconsize32=) or line height (MinLineHeight=)
No, none of these, i got it even with an empty INI.

The scrolling is what is missing here: only after cursor key press, the file name under the cursor is updated (only this one).

Strange thing: On one PC I got it also with an empty INI, on 2 others I don't get it at all.
Even stranger: 3 other TC instances were running on the same system (7.04a, 7.50, 7.50a pre2) without showing this behaviour (anymore - 7.04a was at least once).
Now I can't reproduce it anymore, too. :?

Another effect:
The first 7 files appeared twice after pressing END, HOME (line 8 was again the file of line 1).
After switching to another window and back to TC, the displayed names have changed to the correct ones. After this, TC's file list display was updated correctly.
Going in and out of a sub-dir resetted it and the error appeared again.


I had heavy memory usage today, maybe windows needs a reboot. But first I'll keep watching this until at least tomorrow...

Added:
A dir would have looked this way with the above bug:
file01.txt
file02.txt
file03.txt
file04.txt
file05.txt
file06.txt
file07.txt

file01.txt
file02.txt
file03.txt
file04.txt
file05.txt
file06.txt
file07.txt
file08.txt
file09.txt
file10.txt
file11.txt
...
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I cannot reproduce it, all is fine here. What Windows version? Any non-standard theme?
Author of Total Commander
https://www.ghisler.com
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

XP SP3, theme Windows Classic (with some mouse cursors changed to animated-hourglass ones from standard XP repertory).

I didn't reboot since then, but after tidying up the RAM (by closing/restarting some programs) this wasn't reproducible so far.
I'll keep testing this from time to time and try to get the huge memory usage again (<50 MB free of 1 GB physical RAM, 2,16 GB swap file usage)...
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
Post Reply