Hi
With all recent stable releases (1.8.4, 2.0.0), but
only on Linux, when I preview a report and then use the button to save it, the save dialog is displayed, the report is correctly saved, but after that the preview Windows goes behind the others and I can't close it and it's parent. I must kill the application.
Setting the preview as modal or not has no effect.
I have searched in the source (LR_Preview.pas) and found that it looks like it is caused by the save dialog.
If I remove the call to the save dialog and replace the filename by a constant like this :
{
SaveDialog.FilterIndex := Index;
if SaveDialog.Execute then
begin
Index := SaveDialog.FilterIndex - 1;
if fExtList.Objects[Index]=nil then
SaveToFile(SaveDialog.Filename) // using .frp
else
begin
Index := PtrInt(fExtList.Objects[Index])-1;
ExportToWithFilterIndex(Index, SaveDialog.FileName);
}
ExportToWithFilterIndex(0, '/tmp/test.pdf');
{
end;
end;
}
I have no more problem, the preview remains on foreground and can be closed, as the other windows.
Has anyone found this issue or any idea to solve this ?
Thanks