Opened 16 years ago
Closed 16 years ago
#49 closed defect (wontfix)
File dialogs and "not ready" drives
Reported by: | rudi | Owned by: | dmik |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | 3rdparty | Version: | |
Severity: | normal | Keywords: | |
Cc: |
Description
If the user selects a drive that is not ready (empty floppy or CD) from the file open dialog, the OS/2 critical error box will show up. However, it is necessary to acknowledge "Return error code to program" 9 (nine !!!) times, before it is possible to continue.
My suggested workaround is to generally disable critical error popups by for example adding
DosError(FERR_DISABLEHARDERR);
to qt_init() in qapplication_pm.cpp.
Note:
See TracTickets
for help on using tickets.
Actually, I did exactly the same thing (see http://svn.netlabs.org/qt3/browser/trunk/src/kernel/qapplication_pm.cpp?rev=110#L502) but then decided to remove it for the reason stated in the comment above that line. In other words, if you don't like this behavior you should add
SET AUTOFAIL=YES
to yourconfig.sys
.Closing the defect for now; feel free to reopen if you have good objections.