[mythtv] UI update/paint problems on Mac OS X 10.4.6 (ppc)

Nigel Pearson nigel at ind.tansu.com.au
Mon Apr 24 05:46:48 UTC 2006


> I just updated this ticket with some of my findings - in synopsis
> changing the inheritance of MythMainWindow to remove the OpenGL stuff
> fixes this

	Thanks for your research work here, Andrew.
Sadly, I wasn't able to reproduce your success.
Are these the same changes you made?

% svn diff libs/libmythui
Index: libs/libmythui/mythmainwindow.cpp
===================================================================
--- libs/libmythui/mythmainwindow.cpp   (revision 9772)
+++ libs/libmythui/mythmainwindow.cpp   (working copy)
@@ -218,7 +218,7 @@
  }

  MythMainWindow::MythMainWindow()
-              : QGLWidget(NULL, "mainWindow")
+              : QWidget(NULL, "mainWindow")
  {
      d = new MythMainWindowPrivate;

@@ -301,8 +301,6 @@
      RegisterKey("Global", "8", "8", "8");
      RegisterKey("Global", "9", "9", "9");

-    setAutoBufferSwap(false);
-
      d->gestureTimer = new QTimer(this);
      connect(d->gestureTimer, SIGNAL(timeout()), this, 
SLOT(mouseTimeout()));

Index: libs/libmythui/mythmainwindow.h
===================================================================
--- libs/libmythui/mythmainwindow.h     (revision 9772)
+++ libs/libmythui/mythmainwindow.h     (working copy)
@@ -43,7 +43,7 @@

  class MythMainWindowPrivate;

-class MythMainWindow : public QGLWidget
+class MythMainWindow : public QWidget
  {
      Q_OBJECT
    public:
%

--
Nigel Pearson, nigel at ind.tansu.com.au | "Now the world has gone to bed,
Telstra Net. Eng., Sydney, Australia  |  Darkness won't engulf my head,
Office: 9202 3900    Fax:  ???? ????  |  I can see by infrared,
Mobile: 0408 664435  Home: 9792 6998  |  How I hate the night." -Marvin



More information about the mythtv-dev mailing list