Problem Description:
Windows Alert Dialog showing two titles while on iOS/Android there is only one title exist.
Steps to Reproduce:
1. Run the below sample code with "app build -p windows -T ws-local"
Ti.UI.setBackgroundColor('white');
var win = Ti.UI.createWindow({
title: 'Click window to test',
backgroundColor: 'white',
exitOnClose: true,
fullscreen: false
});
win.addEventListener('click', function(e){
var dialog = Ti.UI.createAlertDialog({
message: 'The file has been deleted',
ok: 'Okay',
title: 'File Deleted'
});
dialog.show();
});
win.open();
3. Click on the screen anywhere.
4. An alert dialog will appear with the title displayed two times as " !Windows Alert Dialog.png|thumbnail! ".
5. On iOS, it only shows single title and then message.
Expected Result:
Title should appear only once. Windows doc also shows only single title on dialogs.
https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/dialogs
It turns out
Windows::UI::Popups::MessageDialog.Title
does this all, seems like it only happens on Windows 10 Store app. Resolving this as "not our bug".thanks [~kiguchi]
Closing with reference to the above observations.