Icons size problem with 2 screens and different DPI
Moderators: Hacker, petermad, Stefan2, white
Icons size problem with 2 screens and different DPI
Windows 10 Fall Creator Update with 2 screens :
1. 3840x2160 (4K) with 200% zoom
2. 1920x1200 with 100% zoom
If TC starts in either screen everything is OK. If I move the window from screen 1 to screen two, icons of files and folders are to large. If I move the windows from screen 2 to screen 1, icons are too small.
1. 3840x2160 (4K) with 200% zoom
2. 1920x1200 with 100% zoom
If TC starts in either screen everything is OK. If I move the window from screen 1 to screen two, icons of files and folders are to large. If I move the windows from screen 2 to screen 1, icons are too small.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC tries to automatically scale the file list icons when you move the window between the two screens. Howver, you can set the size manually for each DPI!
1. Move TC to one screen
2. Choose Configuration - Options - Icons
3. Set the icon size for file lists as you need
4. Move TC to the other screen
5. Set the icon size for file lists as you need
This is only for file list icons. The toolbar icons are always scaled automatically.
1. Move TC to one screen
2. Choose Configuration - Options - Icons
3. Set the icon size for file lists as you need
4. Move TC to the other screen
5. Set the icon size for file lists as you need
This is only for file list icons. The toolbar icons are always scaled automatically.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
The problem here is that the icons size change when the TC window move from one screen to another :
- when TC starts icon size is normal
- when I move the TC window to another screen icon size is either too small or too large
So the scaling algorithm of file list icons has problem in my case. The toolbar icons are OK.
- when TC starts icon size is normal
- when I move the TC window to another screen icon size is either too small or too large
So the scaling algorithm of file list icons has problem in my case. The toolbar icons are OK.
Here are the screenshots.
Screen 1: 3840x2160 (4K) with 200% zoom
Screen 2: 1920x1200 with 100% zoom
Screen 1:
Image: http://nsa39.casimages.com/img/2017/10/23/171023032107107736.png
Screen 2:
Image: http://nsa39.casimages.com/img/2017/10/23/171023032106832212.png
If I move the window from screen 1 to screen 2:
Image: http://nsa39.casimages.com/img/2017/10/23/171023032106744499.png
If I move the window from screen 2 to screen 1:
Image: http://nsa39.casimages.com/img/2017/10/23/171023032107385480.png
So on screen 1 icons are too small and on screen 2 they are too large.
Screen 1: 3840x2160 (4K) with 200% zoom
Screen 2: 1920x1200 with 100% zoom
Screen 1:
Image: http://nsa39.casimages.com/img/2017/10/23/171023032107107736.png
Screen 2:
Image: http://nsa39.casimages.com/img/2017/10/23/171023032106832212.png
If I move the window from screen 1 to screen 2:
Image: http://nsa39.casimages.com/img/2017/10/23/171023032106744499.png
If I move the window from screen 2 to screen 1:
Image: http://nsa39.casimages.com/img/2017/10/23/171023032107385480.png
So on screen 1 icons are too small and on screen 2 they are too large.
Did you follow Christians advice to store the settings for the 2 monitors ?Crao wrote:The problem here is that the icons size change when the TC window move from one screen to another :
- when TC starts icon size is normal
- when I move the TC window to another screen icon size is either too small or too large
So the scaling algorithm of file list icons has problem in my case. The toolbar icons are OK.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
@Crao: There is indeed a bug in scaling in TC 64-bit, please try a private beta which I have sent to your forum e-mail address (provider "free").
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
It works now, thank you 
There is another tiny bug : the TC window size. If I move from the window from screen 1 to screen 2, the window size stay the same. But if I move the window from screen 2 to screen 1 the window size shrink a lot.
Size on screen 2:
Image: http://nsa39.casimages.com/img/2017/10/25/171025095509873184.png
Size after moving the window to screen 1:
Image: http://nsa39.casimages.com/img/2017/10/25/171025095509990328.png

There is another tiny bug : the TC window size. If I move from the window from screen 1 to screen 2, the window size stay the same. But if I move the window from screen 2 to screen 1 the window size shrink a lot.
Size on screen 2:
Image: http://nsa39.casimages.com/img/2017/10/25/171025095509873184.png
Size after moving the window to screen 1:
Image: http://nsa39.casimages.com/img/2017/10/25/171025095509990328.png
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for confirming the fix!
I do not have the screen size problem - The window us scaled here with the DPI. For example, when going from screen with 100% scaling to screen with 200%, it should double in size, and vice versa. But it should always be limited to the target screen size. And if you save the position on one of the screens, and then move TC from another screen to it, TC will return to that stored size.
Can you give me more details of the resize problem? Could it be that the window size on the larger screen is limited to the size (in pixels) of the smaller screen?
I do not have the screen size problem - The window us scaled here with the DPI. For example, when going from screen with 100% scaling to screen with 200%, it should double in size, and vice versa. But it should always be limited to the target screen size. And if you save the position on one of the screens, and then move TC from another screen to it, TC will return to that stored size.
Can you give me more details of the resize problem? Could it be that the window size on the larger screen is limited to the size (in pixels) of the smaller screen?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Ok you are right, it works as you describe, but not the way I expected
I thought that the window should keep it size when moving from one screen to the other because almost every program works like that. It's not an issue for me because I always maximize the window.
Thank you for TC, I use it for almost 25 years

I thought that the window should keep it size when moving from one screen to the other because almost every program works like that. It's not an issue for me because I always maximize the window.
Thank you for TC, I use it for almost 25 years

- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I cannot confirm this. Most programs are scaled to the new screen resolution. Otherwise dragging a window from a full HD to a 4K screen would make the window half as big to the eye as it was on the HD screen.I thought that the window should keep it size when moving from one screen to the other because almost every program works like that.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Yes there are scaled according to the zoom factor attached to each monitor, but TC seems to scale not according to the current size but to the size written in wincmd.ini. So each time I move the TC window from one monitor to the other, the window size change, regardless of what it was in the previous monitor (but according to what is in wincmd.ini).
So if I scale the window to be tiny, save the position ("Enregistrer la position"), then enlarge the window and move it to the other screen, the window will be tiny again. I thought the windows size in wincmd.ini was only used at statup, but it is also used when moving the window between screens, and other applications don't do that, they just scale the window according to the zoom factor of the monitor.
So if I scale the window to be tiny, save the position ("Enregistrer la position"), then enlarge the window and move it to the other screen, the window will be tiny again. I thought the windows size in wincmd.ini was only used at statup, but it is also used when moving the window between screens, and other applications don't do that, they just scale the window according to the zoom factor of the monitor.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Ah, yes, TC scales to the size it was saved when you move it to the screen on which it was saved!
Why? Imagine that you have a HUGE screen and a small screen. You save TC on the huge screen with a big size. Now you move it to the small screen. TC gets resized to it, which is much smaller. Now you move TC back - it would be made bigger again, but since its size was limited by the small screen, it becomes not as big as it was.
Why? Imagine that you have a HUGE screen and a small screen. You save TC on the huge screen with a big size. Now you move it to the small screen. TC gets resized to it, which is much smaller. Now you move TC back - it would be made bigger again, but since its size was limited by the small screen, it becomes not as big as it was.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com