Synchronize dirs: minor context menu issue

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
astrotzky
Junior Member
Junior Member
Posts: 48
Joined: 2006-09-18, 10:37 UTC

Synchronize dirs: minor context menu issue

Post by *astrotzky »

If the file exists only in the left directory, "view right" should be disabled.
If the file exists only in the right directory, "view left" should be disabled.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately it's not that easy to disable items in the menu, because multiple items can be selected. "View left/right" then opens all these files, you can switch through them with n/p keys.
Author of Total Commander
https://www.ghisler.com
astrotzky
Junior Member
Junior Member
Posts: 48
Joined: 2006-09-18, 10:37 UTC

Post by *astrotzky »

This is not a big issue, but it would be pretty easy to solve it.
Just iterate through the selected items keeping two counters, one for the number of left files and one for the right files.
After that if the left files counter stays zero, the "view left" menu item can be disabled. The same goes for the right files.
Once again, this doesn't bother me that much though...
Post Reply