Right clicking files freezes Opus (Quick PDF Tools)

This condition has existed for a couple of weeks now, and renders Opus pretty useless! Right clicking in the file list results in the following:

  1. The cursor egg-timer starts
  2. Opus uses up between 50 - 90% of CPU resources
  3. After a period of several seconds (10- 20) the Opus window goes white apart from the Lister title
  4. Opus stays like that until eventually, but not always, being flagged as "not responding"
  5. After (3) the "x" close window button works and the lister can be closed.
  6. Whilst in this condition, other listers can be opened
    I've re-installed Opus over the existing installation, but haven't tried un-installing it first: this had no effect.

Has anyone come across this problem before?

That is probably caused by a 3rd party shell extension.

Please see this guide for suggestions on tracking it down:

[ul][li]Crash, exit or high CPU usage when right-clicking certain files.[/li][/ul]

Thanks for the speedy response and for providing the solution. It turned out to be Quick PDF Tools Pro - as your linked guidance says, the last item on the debug list.
Glad to say that Opus is now working normally again. Once again, many thanks.

I was about to post a report for this Quick PDF Tools bug. :slight_smile:

Please report the issue to the makers of Quick PDF Tools as they'll be able to debug it easier than we can, and it's probably a bug in their component.

I've had a detailed look at this and added a workaround for the next Opus update.

It's definitely a bug in Quick PDF Tools, but I was able to work out what it was doing wrong and avoid the situation.

(If their shell extension is asked to add itself to a menu, for some reason it goes and queries the details of all existing items in that menu, even though they are nothing to do with it. If the menu is initially empty -- as happens to be the case with Opus -- then Quick PDF Pro has a bug where it queries all the menu items from 0 to count-1... Since count is zero, that wraps around and it queries from 0 to 0xFFFFFFFF. i.e. It asks for a non-existent menu item 4,294,967,295 times, which uses a lot of time and CPU. :slight_smile:)

They're also not doing the menu icon properly, so it's on a solid white background instead of a transparent background, but lots of people do that and it's only cosmetic.

If you want to disable Quick PDF Tools within Opus until the update with the workaround is released, adding the following CLSID to the ignore_context_menus, similar to the one shown in the screenshot below:

{1A359BC8-317D-462a-AD1C-51022D771581}


(Once you update to Opus 10.1.0.2 or above, you can remove the CLSID again and you should be able to use Quick PDF Tools again in Opus without problems.)