emacs-snapshot-gtk unusable with gtk-qt-engine

Bug #31633 reported by Alessio Caiazza
10
Affects Status Importance Assigned to Milestone
gtk-qt-engine (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

emacs-snapshots-gtk is unusable with gtk-qt-engine, only the text background is white, and the rest of the page remain grey (window color).

I suppose that should exist the possibility to disable gtk-qt-engine from some apps (something like a list of apps).

Revision history for this message
Alessio Caiazza (nolith) wrote : screenshot

I've added a screenshot of the problem

Revision history for this message
DeeZsombor (zsombor) wrote :

I can confirm this, window color is used where text is not present.

Changed in gtk-qt-engine:
status: Unconfirmed → Confirmed
Revision history for this message
Joseph Garvin (k04jg02) wrote :

I can also confirm this bug.

It's probably a better solution to fix whatever the bug is in gtk-qt-engine rather than making a whitelist.

Revision history for this message
David Sansome (me-davidsansome) wrote :

This has been fixed upstream.

Changed in gtk-qt-engine:
status: Confirmed → Fix Committed
Revision history for this message
Martin Ellis (martin-ellis) wrote : Re: [Bug 31633] Re: emacs-snapshot-gtk unusable with gtk-qt-engine

On Saturday 24 June 2006 22:25, David Sansome wrote:
> This has been fixed upstream.
>
> ** Changed in: gtk-qt-engine (Ubuntu)
> Status: Confirmed => Fix Committed

On Saturday 24 June 2006 22:24, you wrote:
> ------- Additional Comments From <email address hidden> 2006-06-24 14:24
> ------- This appears to be fixed in the latest version of the theme engine
> in CVS.
>
> Please reopen this bug if you still encounter problems after updating :)

Works here.... Kind of.

I've rebuild a package by applying the Ubuntu diff to CVS (sans Ubuntu patches
that are already in CVS).

It didn't build on a 64 bit machine, failing with the following error (sorry
about the wrapping):

if /bin/sh ../libtool --silent --tag=CXX --mode=compile
g++ -DHAVE_CONFIG_H -I. -I/home/martin/gtk-qt/gtk-qt-engine/./kcm_gtk -I.. -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT
kcmgtk.lo -MD -MP -MF ".deps/kcmgtk.Tpo" -c -o
kcmgtk.lo /home/martin/gtk-qt/gtk-qt-engine/./kcm_gtk/kcmgtk.cpp; \
        then mv -f ".deps/kcmgtk.Tpo" ".deps/kcmgtk.Plo"; else
rm -f ".deps/kcmgtk.Tpo"; exit 1; fi
/home/martin/gtk-qt/gtk-qt-engine/./kcm_gtk/kcmgtk.cpp:57: warning: unused
parameter 'name'
/home/martin/gtk-qt/gtk-qt-engine/./kcm_gtk/kcmgtk.cpp: In member
function 'void KcmGtk::firefoxFixClicked()':
/home/martin/gtk-qt/gtk-qt-engine/./kcm_gtk/kcmgtk.cpp:387: error: cast
from 'MozillaProfile*' to 'int' loses precision

I've managed to get it to build with the following fix (again, sorry about
wrapping):

--- ../cvs/gtk-qt-engine/kcm_gtk/kcmgtk.cpp 2006-06-24 19:04:28.000000000
+0100
+++ kcm_gtk/kcmgtk.cpp 2006-06-25 00:01:02.809634032 +0100
@@ -384,7 +384,7 @@
                        KListViewItem* i = new KListViewItem(w->profilesList);
                        i->setPixmap(0, icon);
                        i->setText(0, (p->type ? i18n("Thunderbird") :
i18n("Firefox")) + " - " + p->name);
- i->setText(1, QString::number((int)p));
+ i->setText(1, QString::number((Q_ULLONG)p));
                }

                dialog->setMainWidget(w);

I don't know if this is 'right', but I'm not that fussed since it just looks
like something for firefox, and I don't care if that breaks :)

Other than that, Emacs looks great - apart from the fact that emacs-unicode-2
doesn't build from CVS on 64 bit either!

Thanks very much,
Martin

Changed in gtk-qt-engine:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.