28 February 2023

Directory Opus 12.31

Directory Opus 12.31 is now available as a free update for all Directory Opus 12 users.

New versions are often made available several days before they will be detected by the update checker. You can download Opus using the links below if you don't want to wait.


The following changes were part of the 12.30.1 - 12.30.3 beta updates:

  • Fixed problem reading empty directories with SFTP servers which return a completely empty list for them (missing the usual "." and ".." entries).
  • Fix for viewer status bar's text potentially appearing bold (overprinted) if status icons were displayed on it.
  • Added a kludge to block duplicate DropBox context menu items on Windows 11. (The actual cause is a DropBox bug).
  • Scripting:
    • DialogListColumns object has new GetDisplayOrder and SetDisplayOrder methods for changing the order columns are displayed on-screen, including the ability to move secondary columns before the primary column which usually appears first.

    • Added Control.redraw property. Set to false to disable redraw in some types of control (e.g. listviews) while making multiple changes to them. Set back to true to redraw changes.

    • File objects (representing open file handles which are being read/written) can now be passed directly to Command.AddFile and similar methods without conversion. (Provided the File object has a path; not for virtual files that only exist in memory.)

    • Fixed rendering issue with group boxes with no title set in script dialogs

  • Removed Open Office extensions from the default ActiveX viewer extension list, as it's unlikely that kind of viewer is installed for them these days.
  • Improved viewer compatibility with FoxIt PDF preview handler. (Now works again without having to move the .PDF extension to FoxIt's other handler.)
  • Rich Text files (.rtf) with names starting "~" are no longer sent to preview handlers in the viewer pane. Microsoft Word uses this pattern for temporary files while editing documents, and Microsoft's preview handlers go wrong (freezing or opening unwanted conversion dialogs) when asked to view the files.
  • When in multi-column sort mode, the Set SORTREVERSE=Toggle command did not properly update the arrow in the sort header that indicates the overall sort direction.
  • In a dual Lister with two folder trees, clicking on an item in the inactive folder tree no longer causes it to "jump" to show the previously selected item before reading the new folder.
  • The icon size is now correct on high-DPI systems when changing view modes in a hosted virtual folder (e.g. Recycle Bin.)
  • Windows 11 context menus:
    • Fixed items for some Store apps not appearing if they used a new method to register themselves against file extensions.

    • Fixed for unlabeled sub-menus for OneDrive and iCloud appearing. (These didn't appear in File Explorer, didn't work when clicked, and looked wrong due to having icons without labels. We now filter them out.)

  • Extended the Delete command's SKIPNOTEMPTY and FAILNOTEMPTY modes to skip or error on files, including zero-byte files. (These modes are for cleaning up empty folders after other commands -- e.g. moving everything up a level -- so passing a file to them would be unexpected and will now be treated as such.)
  • Fix for Explorer.exe crash which could happen when dragging a file to the Windows desktop using the right mouse button. (Fix requires reboot or log-out after installing the update.)

The following changes are new for 12.31:

  • You can now block "Packaged COM" context menus (the new style for Windows 11) by name using the Preferences / Miscellaneous / Advanced [Troubleshooting]: ignore_context_menus value. For example, to block the context menus added by Skype, you could enter "Microsoft.SkypeApp*". Use context_menu_debug to find the name of the particular package you want to block.