[chronojump] app1 is shown before destroy/hide splashWin. Added debug messages.
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] app1 is shown before destroy/hide splashWin. Added debug messages.
- Date: Sat, 9 Dec 2017 18:20:21 +0000 (UTC)
commit e1f5c071fdc031f0078aecd6e3a7f7d17fa1ee51
Author: Xavier de Blas <xaviblas gmail com>
Date: Sat Dec 9 14:04:20 2017 +0100
app1 is shown before destroy/hide splashWin. Added debug messages.
src/gui/chronojump.cs | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 deletions(-)
---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 8bcb330..8e1d133 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -698,17 +698,28 @@ public partial class ChronoJumpWindow
testNewStuff();
- if(splashWin != null)
- splashWin.Destroy();
- else
- SplashWindow.Hide();
-
+ //show before destroying/hiding app1 to see if this fixes rare problems of exiting/not
showing app1
+ LogB.Information("Showing app1");
app1.Show();
//ensure chronopicRegisterWindow is shown after (on top of) app1
app1Shown = true;
+
+ if(splashWin != null) {
+ LogB.Information("Destroying splashWin");
+ splashWin.Destroy();
+ }
+ else {
+ LogB.Information("Hiding splashWin");
+ SplashWindow.Hide();
+ }
+
if(needToShowChronopicRegisterWindow)
+ {
+ LogB.Information("Show chronopic resgister win");
chronopicRegisterWin.Show();
+ }
+ LogB.Information("Chronojump window started");
}
private void testNewStuff()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]