[Bug 34977] New: WinDjView: missing checkbox in the set as default viewer dialog

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Nov 22 14:48:24 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=34977

             Bug #: 34977
           Summary: WinDjView: missing checkbox in the set as default
                    viewer dialog
           Product: Wine
           Version: 1.7.6
          Platform: x86
               URL: http://downloads.sourceforge.net/windjview/WinDjView-2
                    .0.2-Setup.exe
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: gohabsgo60 at yahoo.ca
    Classification: Unclassified


Created attachment 46610
  --> http://bugs.winehq.org/attachment.cgi?id=46610
WINEDEBUG=hook,msgbox log

to reproduce:

run installer in a clean prefix
 * uncheck 'Associate with Djvu files'
 * make sure 'Run WinDjView' is checked

the installer completes, the program starts and a dialog appears warning about
WinDjView not being the default viewer. this dialog has a checkbox missing and
some other stuff is wrong too.

The program's source can be downloaded here:
http://sourceforge.net/projects/windjview/files/WinDjView/2.0.2/WinDjView-2.0.2-Source.tar.bz2/download

it requires vc++ pro to compile due to usage of MFC.

the relevant code is in WinDjView.cpp inside the functions
int CDjViewApp::DoMessageBox(LPCTSTR lpszPrompt, UINT nType, UINT nIDHelp,
const MessageBoxOptions& mbo)
and
LRESULT CALLBACK CDjViewApp::MBHookProc(int nCode, WPARAM wParam, LPARAM
lParam)

the first function sets a CBT hook and creates the dialog and the second one is
the CBT hook itself which performs the dialog's custom initialization.

i have included a winedebug log. please note that CBT hook 0x4776d0 is the one
that matters here. the other one (0x4e79f6) is used internally by MFC.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list