ofOverWritePrompt and ofAllowMultiSelect for MAC does not work as expected
Original Reporter info from Mantis: torstenchr
-
Reporter name: Torsten Bonde Christiansen
Original Reporter info from Mantis: torstenchr
- Reporter name: Torsten Bonde Christiansen
Description:
Using either of the above mentioned dialog options on a MAC does not always do as expected. On some MAC's the options work fine, but on others it doesn't.
Steps to reproduce:
Create a program with a save dialog.
Add ofOverWritePrompt to options.
Execute dialog and select a random file and choose save.
-> No prompt is executed, save is performed normally.
Additional information:
There is a bug in the carbonwsdialogs.pp file which incorrectly sets the bit "kNavDontConfirmReplacement" based on an XOR statement.
This is not correct, since the bit WILL be activated is not set prior.
I have attached a patch that correctly disables this bit.
Mantis conversion info:
- Mantis ID: 20149
- OS: Mac OS
- OS Build: 10.5
- Build: 32179
- Platform: i386
- Version: 0.9.31 (SVN)
- Fixed in revision: 32181 (#ac40960c)