From 57e4e4d134d16d35aa0ca566534d46a59fd78ed3 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Tue, 27 Jun 2017 08:32:48 -0400 Subject: Add some debugging to the unified process --- src-qt5/core/lumina-desktop-unified/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src-qt5/core/lumina-desktop-unified/main.cpp') diff --git a/src-qt5/core/lumina-desktop-unified/main.cpp b/src-qt5/core/lumina-desktop-unified/main.cpp index 6141f1ea..50092a46 100644 --- a/src-qt5/core/lumina-desktop-unified/main.cpp +++ b/src-qt5/core/lumina-desktop-unified/main.cpp @@ -8,7 +8,7 @@ #include "global-includes.h" #include "LSession.h" -#define DEBUG 0 +#define DEBUG 1 int main(int argc, char ** argv) { @@ -29,6 +29,7 @@ int main(int argc, char ** argv) setenv("XDG_CURRENT_DESKTOP","Lumina",1); unsetenv("QT_QPA_PLATFORMTHEME"); //causes issues with Lumina themes - not many people have this by default... //Startup the session + if(DEBUG){ qDebug() << "Starting unified session"; } LSession a(argc, argv); if(!a.isPrimaryProcess()){ return 0; } QTime *timer=0; -- cgit From 23e6d3530c092e336bd8d9cd89e4146d9e74ef43 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Tue, 27 Jun 2017 08:39:06 -0400 Subject: Some more debugging --- src-qt5/core/lumina-desktop-unified/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src-qt5/core/lumina-desktop-unified/main.cpp') diff --git a/src-qt5/core/lumina-desktop-unified/main.cpp b/src-qt5/core/lumina-desktop-unified/main.cpp index 50092a46..7a454eab 100644 --- a/src-qt5/core/lumina-desktop-unified/main.cpp +++ b/src-qt5/core/lumina-desktop-unified/main.cpp @@ -12,6 +12,7 @@ int main(int argc, char ** argv) { + qDebug() << "Starting lumina-desktop-unified..."; if (argc > 1) { if (QString(argv[1]) == QString("--version")){ qDebug() << LDesktopUtils::LuminaDesktopVersion(); @@ -42,6 +43,6 @@ int main(int argc, char ** argv) theme.refresh(); if(DEBUG){ qDebug() << "Exec Time:" << timer->elapsed(); delete timer;} int retCode = a.exec(); - qDebug() << "Finished Closing Down Lumina"; + qDebug() << "Finished Closing Down Unified Lumina"; return retCode; } -- cgit From f5b60b2681bc6fc8e9171566e28064fe7048aa8b Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 19 Jul 2017 13:53:34 -0400 Subject: Another checkpoint in the compositing saga. Got most of it working, but still getting random artifacting *outside* of the window that we are painting from time to time. --- src-qt5/core/lumina-desktop-unified/main.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src-qt5/core/lumina-desktop-unified/main.cpp') diff --git a/src-qt5/core/lumina-desktop-unified/main.cpp b/src-qt5/core/lumina-desktop-unified/main.cpp index 7a454eab..0b67de46 100644 --- a/src-qt5/core/lumina-desktop-unified/main.cpp +++ b/src-qt5/core/lumina-desktop-unified/main.cpp @@ -28,6 +28,7 @@ int main(int argc, char ** argv) LXDG::setEnvironmentVars(); setenv("DESKTOP_SESSION","Lumina",1); setenv("XDG_CURRENT_DESKTOP","Lumina",1); + setenv("QT_NO_GLIB", "1", 1); //Disable the glib event loop within Qt at runtime (performance hit + bugs) unsetenv("QT_QPA_PLATFORMTHEME"); //causes issues with Lumina themes - not many people have this by default... //Startup the session if(DEBUG){ qDebug() << "Starting unified session"; } -- cgit