moving TC to other screen by mouse doesn´t work
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 4
- Joined: 2017-10-26, 08:07 UTC
- Location: Germany
moving TC to other screen by mouse doesn´t work
Setup:
Laptop + external screen
Total Commander Version 9.10 32 bit (2017-10-20)
Windows 10 pro (1703)
When I grab the TC window in titlebar and move it from one screen to my second screen then I loose the TC window at that point the mouse is going from one screen to the other screen. TC-window "jumps" back to the first screen completely.
Moving TC window by keyboard works fine.
In TC 9.0a everything was fine.
best regards
danny
Laptop + external screen
Total Commander Version 9.10 32 bit (2017-10-20)
Windows 10 pro (1703)
When I grab the TC window in titlebar and move it from one screen to my second screen then I loose the TC window at that point the mouse is going from one screen to the other screen. TC-window "jumps" back to the first screen completely.
Moving TC window by keyboard works fine.
In TC 9.0a everything was fine.
best regards
danny
- ghisler(Author)
- Site Admin
- Posts: 50556
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
NOT confirmed. I have tried with dozens of different screen combinations. Maybe your special combination is causing this problem?
Please right click on the desktop and choose "Display settings" (sorry, I don't know the exact term in English).
Then send me for EACH screen:
1. The screen resolution, e.g. 1920x1080
2. The scale factor, e.g. 150%
3. The location of each screen, e.g. primary screen "1" on the left, secondary screen "2" on the right.
I will then try to reproduce your scenario.
Please right click on the desktop and choose "Display settings" (sorry, I don't know the exact term in English).
Then send me for EACH screen:
1. The screen resolution, e.g. 1920x1080
2. The scale factor, e.g. 150%
3. The location of each screen, e.g. primary screen "1" on the left, secondary screen "2" on the right.
I will then try to reproduce your scenario.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 4
- Joined: 2017-10-26, 08:07 UTC
- Location: Germany
Hi Christian,
one screen has 1920x1080 at 100% (primary at external screen on the left side)
second screen has 1920x1080 at 125% (secondary at integrated screen in laptop on the right side)
when I switch both to 100% then it works fine.
It doesn´t matter which one is primary.
If the scale factor is different then I get the behavior described in my first post.
Remember: TC 9.0a works perfectly with different scale factor settings
one screen has 1920x1080 at 100% (primary at external screen on the left side)
second screen has 1920x1080 at 125% (secondary at integrated screen in laptop on the right side)
when I switch both to 100% then it works fine.
It doesn´t matter which one is primary.
If the scale factor is different then I get the behavior described in my first post.
Remember: TC 9.0a works perfectly with different scale factor settings
- ghisler(Author)
- Site Admin
- Posts: 50556
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
TC 9.0a worked perfectly because Windows itself did the scaling - it rendered TC at the DPI of the primary screen, and then resamples the rendered image to the DPI of the secondary screen. Thios results in a blurry look. TC 9.10 does all the scaling by itself, drawing in the native resolution of each screen.
TC has to handle WM_DPICHANGED messages for this. The message also sends new coordinates - but when I use them, TC does jump back to the previous screen somtimes. I had to add a lot of code to prevent that, e.g. moving the window to the left or right to fully get onto the right target screen.
I have now tried to reproduce your problem, but without success. Here the laptop was set as primary screen, and the external screen was set as secondary. I have swapped the two and then logged out and back in. I can drag TC between the two without any problems.
The settings are exactly as you described them: Both screens are 1920x1080, the external is set to 100%, the internal to 125%.
Since I cannot reproduce the problem, I can only recommend that you switch back to the old behaviour: Add the following line to wincmd.ini under section [Configuration]:
DpiPerScreen=0
Btw, I just saw that this is still undocumented in the help - I will add it.
TC has to handle WM_DPICHANGED messages for this. The message also sends new coordinates - but when I use them, TC does jump back to the previous screen somtimes. I had to add a lot of code to prevent that, e.g. moving the window to the left or right to fully get onto the right target screen.
I have now tried to reproduce your problem, but without success. Here the laptop was set as primary screen, and the external screen was set as secondary. I have swapped the two and then logged out and back in. I can drag TC between the two without any problems.
The settings are exactly as you described them: Both screens are 1920x1080, the external is set to 100%, the internal to 125%.
Since I cannot reproduce the problem, I can only recommend that you switch back to the old behaviour: Add the following line to wincmd.ini under section [Configuration]:
DpiPerScreen=0
Btw, I just saw that this is still undocumented in the help - I will add it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Well hidden too - It is not in the history or here on the forum either[Configuration]:
DpiPerScreen=0
Btw, I just saw that this is still undocumented in the help - I will add it.

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 4
- Joined: 2017-10-26, 08:07 UTC
- Location: Germany
- ghisler(Author)
- Site Admin
- Posts: 50556
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You could send me your wincmd.ini, it may be a problem with your settings.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I can confirm that description of DpiPerScreen is now documented in the help file of TC 9.11rc1 

License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 4
- Joined: 2017-10-26, 08:07 UTC
- Location: Germany
I had direct contact to Christian with no solution.
Since I´m using a "grown up for years" portable installation of TC with a lot of customizing, I tried a clean TC installation.
This was working correctly.
Afterwards I reactivated my old TC 9.10 portable installation and started to deactivate plugins - with success.
This behavior is caused by the plugin TWinKey.
Exactly the option Mark locked Tabs on tab Tab Headers.
hope this is helpful for others with the same problem.
best regards
Since I´m using a "grown up for years" portable installation of TC with a lot of customizing, I tried a clean TC installation.
This was working correctly.
Afterwards I reactivated my old TC 9.10 portable installation and started to deactivate plugins - with success.
This behavior is caused by the plugin TWinKey.
Exactly the option Mark locked Tabs on tab Tab Headers.
hope this is helpful for others with the same problem.
best regards
- ghisler(Author)
- Site Admin
- Posts: 50556
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks, that's very helpful! I will contact the TWinKey author.This behavior is caused by the plugin TWinKey.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com