[TC10.50b3 64bit] repaint issue with bottom border of file panel

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

User avatar
white
Power Member
Power Member
Posts: 4622
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

[TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *white »

  • Start TC 64bit and make sure TC is not maximized.
  • Enable Dark mode.
  • Move the TC window left and right so the sides fall outside the visible screen.
  • Move the TC window back into view.
  • The bottom border of the file panel is not correct.
TC9.51 doesn't have this problem.
TC10.00 and later do have this problem.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *ghisler(Author) »

Not confirmed on Windows 11. Can you give me more information, please?
- Windows version
- Windows theme
- dpi or scale percentage of the screen
- if possible, a small screenshot of the corner
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4622
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *white »

Additional requirement: Folder Tabs must be displayed.

Windows version: Windows 11
Theme: Adjusted, purple color
Scale: 100%

Screenshot: here
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *ghisler(Author) »

There must be some other requirement, I always have them disabled. Btw, I'm on Windows 11 too.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13065
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: [TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *Hacker »

Christian,
I always have them disabled.
I know it's off-topic, but why do you have folder tabs disabled? :shock:

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.
User avatar
white
Power Member
Power Member
Posts: 4622
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *white »

white wrote: 2022-04-27, 18:20 UTC TC9.51 doesn't have this problem.
Correction: TC9.51 also has this problem. I simply didn't have multiple tabs in the panel. So the problem is from the beginning of Dark mode.
ghisler(Author) wrote: 2022-04-29, 09:59 UTC There must be some other requirement, I always have them disabled. Btw, I'm on Windows 11 too.
The panel need to have multiple folder tabs visible.

I also tried with Windows 10 Enterprise Version 1809 on a virtual machine. Same problem. So it's not related to Windows 11.
User avatar
white
Power Member
Power Member
Posts: 4622
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *white »

I have now tried it on a different computer and the problem didn't occur. So I assume it's a graphics driver issue.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *ghisler(Author) »

Sorry, I meant to say that I already have tabs enabled, not disabled.

2white
Maybe it depends on ini settings? Have you tried with a fresh ini? I have just tried it, only added a tab on each side and switched to dark mode. So far i couldn't reproduce the problem.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4622
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *white »

Yes, I tried fresh ini.

Come to think of it, the other computer where I tested it had "Show window contents while dragging" disabled. If I disable it on my machine, the glitch is very small. So now, I'm not so sure anymore.

Screenshot when "Show window contents while dragging" is disabled: here


I tried restarting my machine in Safe mode and the problem still appears (so using basic graphics driver).

If the window is repainted after minimize/restore or window resize, the glitch is gone.
User avatar
white
Power Member
Power Member
Posts: 4622
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *white »

I have now confirmed it on the other computer as well. It's much more visible with "Show window contents while dragging" enabled.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *ghisler(Author) »

"Show window contents while dragging" is enabled here...
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4622
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *white »

Anyone else that can reproduce or not reproduce this issue?

Animated gif showing the problem: here
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: [TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *tuska »

Hi,

I can confirm the behaviour as follows:
  1. In Dark mode and not maximised TC window and with tabs present it is sufficient to
    with the left mouse button pressed, move the window 1x over the edge on the left, then release the mouse button, and
    1x right over the edge and then release the mouse button.
    Then position the TC window again in the visible area with the left mouse button pressed:
    In this case there are FEW interruption lines. ˽ ˽ ˽ ˽

    If you move the window over the edge and without releasing the mouse button immediately position it in the visible area again
    and then release the mouse button, as shown in the .GIF file, then there are MANY interruption lines. ˽˽˽˽˽ ˽˽˽˽˽˽˽˽   ˽˽˽˽˽˽
     
  2. However, the VIEW was IMMEDIATELY REFRESHED in the following cases, for example:
    a) Reread Source - Ctrl+R
    b) Cancel the screen magnifier view with ESC
    c) Change to a directory
    d) Switching to another task and then back to TC with ALT+TAB

This behaviour is NOT detectable in TC 10.00 x86 and 10.50b3 x86.

Tested with:
Windows 10 Pro (x64) Version 21H2 (OS build 19044.1682)
TC 10.00 x64 final, TC 10.50b3 x64 | TC_clean_x64.ini
"Monitor 24", native resolution: 1920 x 1280 pixels | WIN+I > System Display > Advanced Scaling Settings: Scaling size 125%
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *ghisler(Author) »

I was finally able to reproduce it! The tab control uses the redraw rectangle (the one Windows asks to redraw) instead of the client rectangle to draw the border.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4622
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC10.50b3 64bit] repaint issue with bottom border of file panel

Post by *white »

HISTORY.TXT wrote:01.05.22 Fixed: Folder tab panel bottom border drawn incorrectly in dark mode when moving the window out of the visual screen area and back (64)
Tested OK using TC10.50b4 64bit.
Post Reply