There was an idea to replace its menu items with Lister/QuickView menu:ghisler(Author) wrote: 2019-03-31, 13:15 UTCwhich of the right click commands would make any sense while quick view is active?
In email discussion, Christian Ghisler also looked for options to combine current QuickView tab header context menu and Lister one:petermad wrote: 2019-03-31, 17:15 UTCFor the tab that shows the Quick View, I think that the text on the tab should be changed either to "Quick View" (or the Quick View icon). Right click menu could either be disabled or it could be used to show the "Options" menu of Lister - in that way it could be easy to change plugin, which it not always is now, because the plugin "steals" the keyboard input, so you cannot just press 4 to change plugin (you have to click on the header bar of the Quick View, an sometime that doesn't even work)
I suggested the way without removing of ViewModes menu completely:Christian Ghisler wrote:regarding the Lister menu above quick view, I could show them in the tab right click menu instead of the view modes. Currently when you choose a view mode, it closes quick view and switches to the selected view. But this isn't really that useful. When I remove these while quick view is shown, I could shown the Lister menus directly in the context menu
Hovewer, Christian Ghisler's finale conclusion about above ideas was that such implementations will still bloat tab header's context menu too much, so neither of that options is implemented in TC 9.50.DrShark wrote:Currently view modes indeed aren't really useful in QuickView, but in theory they could be:
if in "Auto-switch" to add an additional rule "Quick View", then it could be a trigger for View Mode "Auto-run commands" action.
To leave a room for above possible feature, and still add Lister's menu items to Tab's menu with QuickView opened, it's possible to do following:
1) replace "Configure view modes" menu item and view modes items behind it with one "Show view modes" menu item which will call a menu opened with a command cm_SrcViewModeList
2) behind that new "Show view modes" menu it's possible can place Lister's menu items.
Maybe there is another good way to add Lister's context menu to QuickView tab header? If there is no such one, I suggest to consider an alternative way to call Lister context menu when QuickView is opened: via new cm_ command, which, similar to cm_ChangeArchiveEncoding which works only in opened archive, will work only if QuickView is opened. And, since QuickView may be opened only in 1 panel, such command may work when called both either while file list or QuickView panel is on a focus at the moment.