Dialog box minimized in windows
I am developing a lightroom plugin with presentFloatingDialog, and facing an issue for the windows operating system. At some screen I need to use LrDialogs.promptForActionWithDoNotShow(args) with presentFloatingDialog. I have a warning checkbox on my screen and for that I have used presentFloatingDialog.
Now, I need to show a warning when clicked on the checkbox with the help of promptForActionWithDoNotShow but my main screen with presentFloatingDialog is minized when prompt dailog opens for the windows machine. The same issue is not happened with the mac machine.
f:checkbox {
enabled = false,
bind_to_object = props,
value = LrView.bind {
key = 'isChecked',
transform = function(value, fromModel)
if value == tostring(1) then
local args = {
message = "Here is my message to show users.",
actionPrefKey = 'autoStraightDoNotShow',
verbBtns = {
{
label = "I got it!",
verb = "checked"
}
}
}
LrDialogs.promptForActionWithDoNotShow(args)
end
return value
end
},
checked_value = "1",
unchecked_value = "0",
}Please find a above code for the same and guide me how to fix this issue.
I want prompt box above presentFloatingDialog like mac os as above screenshot. Thanking you in advance.
