missing screen refresh after maximize/restore window

Please report only one bug per message!

Moderators: Stefan2, white, sheep, Hacker

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

missing screen refresh after maximize/restore window

Post by *StatusQuo » 2009-09-18, 19:24 UTC

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: 8425
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Post by *petermad » 2009-09-18, 20:40 UTC

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 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1903) 64bit, 'Everything' 1.4.1.935 (x64)
TC 3.0b5 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

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

Post by *StatusQuo » 2009-09-19, 00:32 UTC

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: 37495
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2009-09-20, 14:04 UTC

Unfortunately I cannot reproduce it, all is fine here. What Windows version? Any non-standard theme?
Author of Total Commander
http://www.ghisler.com

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

Post by *StatusQuo » 2009-09-20, 21:53 UTC

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