This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Improving the behavior of cm_FocusTrg and cm_RereadSource

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC9.1x bug reports (English) Printable version
View previous topic :: View next topic  
Author Message
AlexandrT
Junior Member
Junior Member


Joined: 19 Jun 2016
Posts: 14
Location: Russia

PostPosted: Mon Dec 04, 2017 5:11 am    Post subject: Improving the behavior of cm_FocusTrg and cm_RereadSource Reply with quote

In version 9.12rc3 the behavior of the commands cm_Exchange and an cm_ExchangeWithTabs was fixed.

Quote:
09.11.17 Release Total Commander 9.12 release candidate 3 (32/64)
08.11.17 Fixed: View modes: Re-apply view modes to current panels for commands cm_Exchange and cm_ExchangeWithTabs (32/64)


In my opinion, the behavior of cm_FocusTrg and cm_RereadSource should be fixed in the same way (Re-apply view modes).

As there is one incorrect feature when using View Mode.

For example:
- In left (active) file panel is set View Mode "Mode 1" (which has in Auto-run command "cm_100Percent 70" and active panel really has width of 70%)
- In right (inactive) panel also is set View Mode "Mode 1",

in case of transfer of focus to right panel of its automatic extension to 70% doesn't occur (Auto-run command for it isn't executed). Probably it is considered that View Mode for it was already set. But it doesn't consider switching between file panels. Add please re-apply View Mode when changing file panels.
_________________
#231783 Single user license
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Mon Dec 04, 2017 9:42 am    Post subject: Reply with quote

View modes are only applied automatically when the current directory goes from one zone to another. For example, when you set Mode 1 for c:\ and Mode 2 for c:\images, going from c:\to c:\images switches to mode 2.But if both panels show c:\images then tab between the two panels does not reapply Mode 2 each time.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AlexandrT
Junior Member
Junior Member


Joined: 19 Jun 2016
Posts: 14
Location: Russia

PostPosted: Mon Dec 04, 2017 1:59 pm    Post subject: Reply with quote

But cm_Exchange and cm_ExchangeWithTabs commands do not re-open directories too. However for them re-apply view mode is made.

Or it is necessary adding new internal cm_ReapplyViewMode command applied to the active file panel. Which could be used, for example in command chain em_usercmd...
_________________
#231783 Single user license
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Thu Dec 07, 2017 5:08 am    Post subject: Reply with quote

Actually they do - they change the directory which was on the left side to another directory (the one which was on the right side), and vice versa.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
AlexandrT
Junior Member
Junior Member


Joined: 19 Jun 2016
Posts: 14
Location: Russia

PostPosted: Thu Dec 07, 2017 5:17 am    Post subject: Reply with quote

I got it. But it seems to me that a like cm_ReapplyViewMode command is needed.
_________________
#231783 Single user license
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC9.1x bug reports (English) All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group