http://bugs.cinelerra.org/show_bug.cgi?id=221
------- Additional Comments From [EMAIL PROTECTED] 2006-01-20 03:03 -------
The patch below fixes this bug, but the question is:
Should raise_window(); be called in run_window(); ???
Anyone have some comments, (isn't the bcwindowbase used for widgets, which would
mean that raise_window() on the widgets is quite stupid)
Pierre
diff -uarN ../hvirtual_clean/cinelerra/assetedit.C cinelerra/assetedit.C
--- ../hvirtual_clean/cinelerra/assetedit.C 2006-01-18 23:04:15.000000000
+1030
+++ cinelerra/assetedit.C 2006-01-20 12:27:57.000000000 +1030
@@ -69,6 +69,7 @@
window = new AssetEditWindow(mwindow, this);
window->create_objects();
+ window->raise_window();
result = window->run_window();
if(!result)
diff -uarN ../hvirtual_clean/cinelerra/confirmsave.C cinelerra/confirmsave.C
--- ../hvirtual_clean/cinelerra/confirmsave.C 2006-01-18 23:04:16.000000000
+1030
+++ cinelerra/confirmsave.C 2006-01-20 12:28:08.000000000 +1030
@@ -47,6 +47,7 @@
{
ConfirmSaveWindow window(mwindow, &list);
window.create_objects();
+ window.raise_window();
result = window.run_window();
}
else
diff -uarN ../hvirtual_clean/cinelerra/render.C cinelerra/render.C
--- ../hvirtual_clean/cinelerra/render.C 2006-01-18 23:04:17.000000000
+1030
+++ cinelerra/render.C 2006-01-20 12:28:32.000000000 +1030
@@ -251,6 +251,7 @@
mwindow->gui->get_abs_cursor_x(1),
mwindow->gui->get_abs_cursor_y(1));
error_box.create_objects("Already rendering");
+ error_box.raise_window();
error_box.run_window();
}
}
@@ -272,6 +273,7 @@
mwindow->gui->get_abs_cursor_x(1),
mwindow->gui->get_abs_cursor_y(1));
error_box.create_objects("Already rendering");
+ error_box.raise_window();
error_box.run_window();
}
}
@@ -803,6 +805,7 @@
mwindow->gui->get_abs_cursor_x(1),
mwindow->gui->get_abs_cursor_y(1));
error_box.create_objects(_("Error rendering
data."));
+ error_box.raise_window();
error_box.run_window();
}
else
diff -uarN ../hvirtual_clean/cinelerra/savefile.C cinelerra/savefile.C
--- ../hvirtual_clean/cinelerra/savefile.C 2006-01-18 23:04:17.000000000
+1030
+++ cinelerra/savefile.C 2006-01-20 12:28:45.000000000 +1030
@@ -87,6 +87,7 @@
mwindow->gui->get_abs_cursor_x(1),
mwindow->gui->get_abs_cursor_y(1));
error.create_objects(string2);
+ error.raise_window();
error.run_window();
return 1;
}
@@ -186,6 +187,7 @@
mwindow->gui->get_abs_cursor_x(1),
mwindow->gui->get_abs_cursor_y(1));
error.create_objects(string2);
+ error.raise_window();
error.run_window();
return;
}
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra