| View previous topic :: View next topic |
| Author |
Message |
Egh Junior Member

Joined: 06 Feb 2009 Posts: 41
|
Posted: Mon Sep 26, 2011 7:43 pm Post subject: [8.0b2 x64] windows placement in multi-monitor configuration |
|
|
That's actually an old bug, just reporting as it affects the current beta as well.
It is a nuisance, not really a bug, but still.
Some windows (namely FTP tool, File Search and MRT) may open on a different monitor.
E.g. TC is started on monitor1 but I almost always move it to monitor2. Yet File Search opens on monitor2 and MRT opens on monitor1... (irrelevant of which monitor the main window is placed in) Weird. |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24621 Location: Switzerland
|
Posted: Tue Sep 27, 2011 6:13 pm Post subject: |
|
|
TC remembers the position and size of most windows which can be resized, including ftp connect, synchronize dirs, MRT, compare tool etc. When you use the dialog for the first time, it's always opened over the main window. But when you move TC to a different screen then, the dialog still opens at its old position (except when the screen was turned off in the configuration).
Any better ideas on how to handle this? _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Flint Power Member


Joined: 27 Oct 2003 Posts: 2867 Location: Moscow, Russia
|
Posted: Wed Sep 28, 2011 2:13 am Post subject: |
|
|
| ghisler(Author) wrote: | | Any better ideas on how to handle this? |
I see two possible solutions:
1. Remember the position relative to the main window.
2. Remember it relative to the current monitor.
I cannot decide as yet which one would be more preferable
_________________ Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
Using TC 8.01 / Win7 x64 SP1 |
|
| Back to top |
|
 |
wanderer Power Member


Joined: 28 Mar 2003 Posts: 1011 Location: Floating in the clouds
|
Posted: Thu Sep 29, 2011 3:30 am Post subject: |
|
|
| ghisler(Author) wrote: | | Any better ideas on how to handle this? |
Configurable (via INI): RememberWindowMonitor
Values:
1. Open all new windows in main monitor (always - as is now)
2. Open all new windows in same monitor as TC instance
3. (perhaps) Store monitor info along with size (on "save position") so each window always opens in specific monitor, regardless on where TC instance window is. If monitor does not exist, open in default monitor.
I'm not sure if (1) is needed, perhaps it could be replaced by (3). _________________
- - - Wanderer - - -
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24621 Location: Switzerland
|
Posted: Fri Oct 21, 2011 5:59 am Post subject: |
|
|
For test purposes, I have added such an option now. It's not documented it the help yet.
Could someone test it, please?
wincmd.ini
[Configuration]
SameScreenAsTC=1
Shows all resizeable dialogs (where TC remembers the position) on the same screen as the main program (32/64).
For example, the tree (Alt+F10) or the search dialog (Ctrl+F) remember their last position. Run TC, open search on same screen, close search. Now move TC to the other screen. Open search again. With SameScreenAsTC=1, the search dialog should now appear on the second screen too. The left and right free space should have the same relations as on the old screen, e.g. if the left gap was twice as wide as the right, this should be the case also on the new screen.
With SameScreenAsTC=0 (default), the dialogs always appear on the screen on which they were closed.
I consider to make SameScreenAsTC=1 the default once this function works as it should. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
HolgerK Power Member


Joined: 26 Jan 2006 Posts: 3563 Location: Europe, Aachen
|
Posted: Fri Oct 21, 2011 6:26 am Post subject: |
|
|
Seems to work fine (so far tested: MRT, Search, Sync, FTP Connect).
Theres is one point where i would prefer the old behavior:
Non modal windows like "Lister" or "Compare By Content" should be excluded from this repositioning.
Regards
Holger |
|
| Back to top |
|
 |
Flint Power Member


Joined: 27 Oct 2003 Posts: 2867 Location: Moscow, Russia
|
Posted: Fri Oct 21, 2011 6:29 am Post subject: |
|
|
Tested with Ctrl+F, SyncDirs, Find Files, MRT all seems to work as described. _________________ Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
Using TC 8.01 / Win7 x64 SP1 |
|
| Back to top |
|
 |
wanderer Power Member


Joined: 28 Mar 2003 Posts: 1011 Location: Floating in the clouds
|
Posted: Fri Oct 21, 2011 6:31 am Post subject: |
|
|
| ghisler(Author) wrote: | Could someone test it, please?
wincmd.ini
[Configuration]
SameScreenAsTC=1
Shows all resizeable dialogs (where TC remembers the position) on the same screen as the main program (32/64). |
I think it works as one would expect it. Tested under XP/32, the following windows open in the 2nd monitor if TC is in it: BTM, FTP, Find, Pack/unpack dialogs, Buttonbar editing, Network connections, options dialog.
The only thing that opens in the default monitor (which of course is controllable by windows) is the command prompt!
I really like the fact that if the 2nd monitor has a larger resolution than the 1st one and you open a window in it (i.e. ALT+F7) and move it to the bottom-right corner, if you move TC in the 1st monitor and reopen this window, it does not get outside the screen boundaries. It seems that TC calculates by percentage the window position, relative to the new screen! Pretty nice. My congrats Christian. _________________
- - - Wanderer - - -
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24621 Location: Switzerland
|
Posted: Mon Oct 24, 2011 7:47 am Post subject: |
|
|
OK, in the next beta, SameScreenAsTC=1 will work only for modal dialogs like search or tree. Add 2 for Lister, and 4 for compare by contents.
| Quote: | | The only thing that opens in the default monitor (which of course is controllable by windows) is the command prompt! |
Unfortunately that seems to be controlled by Windows itself. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
wanderer Power Member


Joined: 28 Mar 2003 Posts: 1011 Location: Floating in the clouds
|
Posted: Mon Oct 24, 2011 7:53 am Post subject: |
|
|
| ghisler(Author) wrote: | | Quote: | | The only thing that opens in the default monitor (which of course is controllable by windows) is the command prompt! |
Unfortunately that seems to be controlled by Windows itself. |
Yes, indeed, that's what i said.
| ghisler(Author) wrote: | | OK, in the next beta, SameScreenAsTC=1 will work only for modal dialogs like search or tree. Add 2 for Lister, and 4 for compare by contents. |
Compare by contents already follows the SameScreenAsTC=1 setting. Why change it? _________________
- - - Wanderer - - -
ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24621 Location: Switzerland
|
Posted: Mon Oct 24, 2011 7:56 am Post subject: |
|
|
So the user has a choice. Lister and Compare are special because they are independent windows. It could make sense to open them on the second screen while working with TC on the first. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
HolgerK Power Member


Joined: 26 Jan 2006 Posts: 3563 Location: Europe, Aachen
|
Posted: Mon Oct 24, 2011 5:25 pm Post subject: |
|
|
| ghisler(Author) wrote: | | OK, in the next beta, SameScreenAsTC=1 will work only for modal dialogs like search or tree. Add 2 for Lister, and 4 for compare by contents. |
Thanks for the option
Regards
Holger |
|
| Back to top |
|
 |
HolgerK Power Member


Joined: 26 Jan 2006 Posts: 3563 Location: Europe, Aachen
|
Posted: Fri Oct 28, 2011 1:42 pm Post subject: |
|
|
| History.txt wrote: | | 23.10.11 Added: SameScreenAsTC=1 now only works with modal dialogs (child windows of TC). For Lister, add 2, for Compare, add 4 (=7 for all 3) (32/64) |
Works as described in TC8.0ß7 (x64/x86).
Many thanks
Holger |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24621 Location: Switzerland
|
Posted: Sun Oct 30, 2011 8:48 am Post subject: |
|
|
Thanks! _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
|