I found when trying to view or double click to open a file whose text starts with /* the C code to start a multi line comment, dopus thinks its a picture (if double click) and if the viewer pane is active there is no display.
My current solution is to add a blank line at the beginning of the file.