[TC11.x] A flickering window appears at TopLeft on screen before centering.
Moderators: Hacker, petermad, Stefan2, white
[TC11.x] A flickering window appears at TopLeft on screen before centering.
# Windows 11 24H2
# TC 11.x (64bit) with a fresh wincmd.ini
On TC11.x, a flickering window appears at TopLeft on screen before centering.
This flickering windows at TopLeft is not captured by the rec-program(ffmpeg).
(I had captured my desktop using the ffmpeg with 120 fps, but the flickering window was not captured.)
So I captured the flickering window on monitor using a phone camera.
// wetransfer (7 days) : ahk(for reproducing), mp4, jpg
https://we.tl/t-9Q7jiPYbt5
# TC 11.x (64bit) with a fresh wincmd.ini
On TC11.x, a flickering window appears at TopLeft on screen before centering.
This flickering windows at TopLeft is not captured by the rec-program(ffmpeg).
(I had captured my desktop using the ffmpeg with 120 fps, but the flickering window was not captured.)
So I captured the flickering window on monitor using a phone camera.
// wetransfer (7 days) : ahk(for reproducing), mp4, jpg
https://we.tl/t-9Q7jiPYbt5
- ghisler(Author)
- Site Admin
- Posts: 49624
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.x] A flickering window appears at TopLeft on screen before centering.
I don't understand what's happening in your video. Why does the file name constantly change?
The window you see is normally shown when reading a directory takes longer than about 2 seconds, so you can abort the reading (e.g. hanging network drive, or very large directory).
The window you see is normally shown when reading a directory takes longer than about 2 seconds, so you can abort the reading (e.g. hanging network drive, or very large directory).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11.x] A flickering window appears at TopLeft on screen before centering.
Take a look at the AHK script within the archive. Here's the relevant excerpt:ghisler(Author) wrote: ↑2024-10-17, 08:57 UTCI don't understand what's happening in your video. Why does the file name constantly change?
Code: Select all
n := 0
Loop 1000
{
n += 1
Send("+{F6}")
Send(n)
Send("{Enter}")
Sleep(200)
}
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: [TC11.x] A flickering window appears at TopLeft on screen before centering.
It's not that window. It's the normal Rename/Move window.ghisler(Author) wrote: ↑2024-10-17, 08:57 UTC The window you see is normally shown when reading a directory takes longer than about 2 seconds, so you can abort the reading (e.g. hanging network drive, or very large directory).
There's nothing wrong with it, it is always displayed.
Edit:
Sorry, I didn't pay good enough attention and wrongly assumed it was about the normal Rename/Move Window.
- ghisler(Author)
- Site Admin
- Posts: 49624
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.x] A flickering window appears at TopLeft on screen before centering.
I see, so what do you expect me to change?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11.x] A flickering window appears at TopLeft on screen before centering.
Sometimes a new window appears at TopeLeft on screen for a very short time, then it moves to the center of screen.
The TopLeft window does not appear on win10.
It seems to be a win11-24h2's problem.
If you encounter the same issue later on win11-24h2, see if you can fix it.
// wetransfer (7 days) - mp4, ahk
https://we.tl/t-eeZ3IJ56mb
The ahk script is just for creating a window for test.
You can change it to any window that you wnat.
Last edited by cpp64 on 2024-10-17, 18:59 UTC, edited 6 times in total.
- ghisler(Author)
- Site Admin
- Posts: 49624
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.x] A flickering window appears at TopLeft on screen before centering.
I don't have windos11-24h2 on any of my PCs either, and the update isn't even offered in a virtual machine.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 49624
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.x] A flickering window appears at TopLeft on screen before centering.
I just got Windows 11 24h2 yesterday. I tried your script but can't see any flickering window in the upper left corner, neither with Total Commander 32-bit nor 64-bit.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11.x] A flickering window appears at TopLeft on screen before centering.
The problem seems to be MS's fault.
The top-left flickering window also appears in other programs.
The top-left flickering window also appears in other programs.
Re: [TC11.x] A flickering window appears at TopLeft on screen before centering.
Hmm, it would be interesting to watch the video again - but for some reason you chose file-hosting server with a very limited duration.
Maybe it is worth uploading files to longer-lived servers?
Maybe it is worth uploading files to longer-lived servers?
#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 49624
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.x] A flickering window appears at TopLeft on screen before centering.
I have uploaded it here:
https://www.totalcommander.ch/img/tc-topleft.zip
https://www.totalcommander.ch/img/tc-topleft.zip
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC11.x] A flickering window appears at TopLeft on screen before centering.
Yes, definitely such behavior is not observed anywhere else here.
BUT on the video - according to my feelings - we can see quite a clear process of renaming.
With a corresponding window from Total. It's just that at some point its coordinates jump
outside the main window, and are somewhere a little further than the upper left corner.
BUT on the video - according to my feelings - we can see quite a clear process of renaming.
With a corresponding window from Total. It's just that at some point its coordinates jump
outside the main window, and are somewhere a little further than the upper left corner.
#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 49624
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC11.x] A flickering window appears at TopLeft on screen before centering.
I have made a few more tests and I can see a very faint flickering in the left top corner (but no window). It probably depends on the display adapter (graphics card) speed. I have tested it in the debugger, but single stepping through the code does not show this flickering. The window is shown with ShowWindow(hwnd,SW_SHOWNORMAL);
For testing, I have tried to set the position directly by calling
SetWindowPos(hwnd, 0, left, top, width, height, SWP_NOZORDER + SWP_NOACTIVATE + SWP_SHOWWINDOW);
instead, but I get the same flickering when using the script.
So my guess is that this is some weird Windows bug where Windows first shows the window and then moves it to the right place, which is normally invisible due to buffering, but appears when doing it quickly in a row. Since I cannot fix something like this, I'm moving this thread to "Will not be changed".
For testing, I have tried to set the position directly by calling
SetWindowPos(hwnd, 0, left, top, width, height, SWP_NOZORDER + SWP_NOACTIVATE + SWP_SHOWWINDOW);
instead, but I get the same flickering when using the script.
So my guess is that this is some weird Windows bug where Windows first shows the window and then moves it to the right place, which is normally invisible due to buffering, but appears when doing it quickly in a row. Since I cannot fix something like this, I'm moving this thread to "Will not be changed".
Moderator message from: ghisler(Author) » 2024-11-29, 09:52 UTC
Moved to will not be changed
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com