Double-click on .txt file fails to open Notepad, or do anything

I wish to be able to double-click on a txt file and for it to open in Notepad as it does in Windows Explorer. I can change it to open with Word, or Wordpad (which works) but I want Notepad (which fails). Bug???

Which method are you using to try and change it? Right click > Open With > Choose Default Program (or similar, depending on Windows version) should usually work, unless the double-click event has been overridden in Settings > File Types.

Preferences / File Operations / Double-click on Files also contains an options for how to open files that look like text but aren't a recognised extension, which could come into play if the .txt file type is broken in the registry.

Have tried both these options. Changing Double click behaviour to follow path to Noteoad.exe fails. Using Right-click, Open with...Notepad works, but this is fiddly. The more efficient/quick method of Double-clicking should also work if Open with works. A work around is to install the third party program Notepad 3 and allow it to open .txt files as the default handler. Many people work with the plain Windows Notepad, and would be frustrated at Opus's failure to invoke it by double-clicking .txt files.

I should clarify: choosing Open with ...Notepad (once), works, but Choosing Open with and setting Notepad as the default program fails!

It works fine on a stock Windows system. I suspect something has broken the .txt file type in some way on your system,

You could look at the registry and compare with another machine, but an easier fix is to go to Settings > File Types in Opus, then find the .txt type and change the double-click event to explicitly run
C:\Windows\notepad.exe {filepath$}

My system is quite new, and opens Windows Notepad fine in all other explorer programs I have tried. I note others have had this issue, so I am not convinced that the problem is at my end. In any event, as I said, Notepad 3 works OK if I set it as the default text handler (it is actually an improvement on the old Windows Norepad program, and loads just as quickly). I appreciate your getting back to me.

I can 100% say this is in fact a DOpus issue. I have been trying to associate .xml files to Notepad++. When I double click an .xml file, it opens with MS Edge. However if I right click an .xml file, choose open, it opens with Notepadd++, which is already strange behavior.

HOWEVER, if I right click a folder with .xml files in it, and choose "Open in Explorer", it opens the folder in the standard windows explorer. If I double click on an .xml file it does indees open with Notepad++ that I have associated .xml files to.

Further Testing:
I have 2 windows side by side on screen with .xml files in the folders, on the left is MS Windows explorer, and on the right is Dopus. If I double click on an .xml in the Windows explorer window, Notepad++ opens the file. If I double click on an .xml file the right window using DOpus, MS edge opens the file.

I have now (painstakenly) uninstalled The edge browser completely thinking it was "Stealing" and hoding onto the .xml extension. Now when I double click on an .xml in Dopus, the screen flashes and nothing opens at all. One would think, as always happens, if there is no association, windows would ask what to open it with. Nothing of the sort, the screen just flashes.

I have reset file associations in the registry, right clicking and doing the whole "Open always", I even uninstalled NotePad++ completely, registry entries ect in the hope re-installing it fresh would reset associations to no avail.

Again, file assocoations ALWAYS open as set in default Windows Explorer, just not in a Dopus window, proving 100% it is in fact a Dopus Issue.

I'm running a curently updated windows 11 install, on a pretty decent spec machine: Intel 13900k CPU, GTX 4070 16GB, and 64 gigs of DDR5 RAM.

Which Opus version are you using? (Microsoft introduced a new file association mechanism recently which won’t be understood by older versions of Opus.)

What are your double-click settings in Opus? (See my earlier reply for where to look.)

And is anything overridden on the XML type under Settings > File Types?

(If XML has been added to any file type groups, in the same dialog, check those as well.)