Bug 52535 - QMessageBox objects in KDE apps freeze X under GNOME
Summary: QMessageBox objects in KDE apps freeze X under GNOME
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Ravikiran Rajagopal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-02 23:58 UTC by Quel Qun
Modified: 2003-03-11 00:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Sample kde app freezing under gnome (3.35 KB, application/octet-stream)
2003-01-03 00:00 UTC, Quel Qun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Quel Qun 2003-01-02 23:58:55 UTC
Version:           3.1-0.rc5.4mdk (using KDE KDE 3.0.99)
Installed from:    Mandrake RPMs
Compiler:          gcc-3.2.1 (GCC) 3.2.1 (Mandrake Linux 9.1 3.2.1-2mdk) libqt3-3.1.1-1mdk
OS:          Linux

I previously sent this pb to Trolltech, but their answer was:

"I am afraid this problem resides in KDE's code rather than ours. As long
as a pure Qt-app runs fine it's not really much we can do about it. You
can send the bug-report to KDE I guess and see what they make of it.
Good luck."

So, I now hope you can figure out what is happening.

If a kde application containing a QMessageBox dialog, the dialog never shows up if the app in run in the GNOME environment. The dialog shows up correctly under KDE.

I attach a very simple application showing the problem. The about button should trigger an about dialog but freezes X under GNOME.

The same application written as a pure qt app runs fine.

I am running a mandrake cooker system:

libqt3-devel-3.1.1-1mdk
kdelibs-devel-3.1-0.rc5.4mdk
glibc-devel-2.3.1-6mdk
libgnome2_0-devel-2.1.5-1mdk
Comment 1 Quel Qun 2003-01-03 00:00:51 UTC
Created attachment 687 [details]
Sample kde app freezing under gnome

extract with 'tar xjf qttest.tbz2'
Comment 2 Ravikiran Rajagopal 2003-03-09 00:07:01 UTC
Subject: Re:

Cannot reproduce the bug with KDE 3.1 (or CVS HEAD) & Gnome on Redhat 8.0. 
"qttest" works as expected. This suggests that this is probably a packaging 
bug. Did you link to libkdecore and libqt-mt (note the mt) on your system, as 
your Makefile did not?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+aneHbI8Y8y0oVXcRAmG4AJ96Jy4Arm27bqoMcqjlUrxR4DfozACeLmrb
X1vNQV/qtqtExuDjUasKM7Y=
=Za5Q
-----END PGP SIGNATURE-----

Comment 3 Quel Qun 2003-03-09 08:55:09 UTC
Subject: Re:  QMessageBox objects in KDE apps freeze X under GNOME

Hi,

When I wrote the first app, I had symlinks from qt-mt to qt, so the app was 
linking to the mt lib. I since rewrote a pure qt app (with a correct 
Makefile) that still does not behave correctly.

It seems that the problem is coming from Metacity, and may be specific to 
Mandrake. Some other people start to have troubles with few other KDE apps 
under GNOME.

Here is a link to the Metacity bug entry:

http://bugzilla.gnome.org/show_bug.cgi?id=107806

Thank you for looking at it.
=-=
kk1




>From: Ravikiran Rajagopal <ravi@ee.eng.ohio-state.edu>
>Reply-To: 52535@bugs.kde.org
>To: kelk1@hotmail.com
>Subject: [Bug 52535] QMessageBox objects in KDE apps freeze X under GNOME   
>       Date: 8 Mar 2003 23:07:05 -0000
>
>------- You are receiving this mail because: -------
>You reported the bug, or are watching the reporter.
>
>http://bugs.kde.org/show_bug.cgi?id=52535
>
>
>
>
>------- Additional Comments From ravi@ee.eng.ohio-state.edu  2003-03-09 
>00:07 -------
>Subject: Re:
>
>Cannot reproduce the bug with KDE 3.1 (or CVS HEAD) & Gnome on Redhat 8.0.
>"qttest" works as expected. This suggests that this is probably a packaging
>bug. Did you link to libkdecore and libqt-mt (note the mt) on your system, 
>as
>your Makefile did not?
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.7 (GNU/Linux)
>
>iD8DBQE+aneHbI8Y8y0oVXcRAmG4AJ96Jy4Arm27bqoMcqjlUrxR4DfozACeLmrb
>X1vNQV/qtqtExuDjUasKM7Y=
>=Za5Q
>-----END PGP SIGNATURE-----


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

Comment 4 Ravikiran Rajagopal 2003-03-10 22:45:37 UTC
Subject: Re:

It seems like a Metacity problem to me. I cannot reproduce it on Suse 8.0 
either. On the off chance that it may be a kded bug (I don't see how), I am 
leaving this bug open. If the Metacity folks fix this bug, could you please 
let us know?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+bQd3bI8Y8y0oVXcRAngYAJ0ST7pohJDxLi0gXilkGflh/vsZTACfYFp2
6XP77/FEzXofyU3mvlBdock=
=Nd8U
-----END PGP SIGNATURE-----

Comment 5 Ravikiran Rajagopal 2003-03-11 00:43:27 UTC
Subject: Re:

Just saw your latest message. Since even a pure Qt app fails, I assume this is 
a Metacity bug, and am closing it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+bSMYbI8Y8y0oVXcRAjq/AJ4uf7oNIBNs6zUzh7f7JB26rMsP6wCfYmyU
/7SVetbubq4QTmsDGE/9NC0=
=XF3S
-----END PGP SIGNATURE-----

Comment 6 Quel Qun 2003-03-13 07:14:59 UTC
Subject: Re:  QMessageBox objects in KDE apps freeze X under GNOME

Just to close the story, this is now fixed in qt-3.1.2 and Metacity.
Thanks.
=-=
kk1




>From: Ravikiran Rajagopal <ravi@ee.eng.ohio-state.edu>
>Reply-To: 52535@bugs.kde.org
>To: kelk1@hotmail.com
>Subject: [Bug 52535] QMessageBox objects in KDE apps freeze X under GNOME   
>       Date: 10 Mar 2003 23:43:29 -0000
>
>------- You are receiving this mail because: -------
>You reported the bug, or are watching the reporter.
>
>http://bugs.kde.org/show_bug.cgi?id=52535
>ravi@ee.eng.ohio-state.edu changed:
>
>            What    |Removed                     |Added
>----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |FIXED
>
>
>
>------- Additional Comments From ravi@ee.eng.ohio-state.edu  2003-03-11 
>00:43 -------
>Subject: Re:
>
>Just saw your latest message. Since even a pure Qt app fails, I assume this 
>is
>a Metacity bug, and am closing it.
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.0.7 (GNU/Linux)
>
>iD8DBQE+bSMYbI8Y8y0oVXcRAjq/AJ4uf7oNIBNs6zUzh7f7JB26rMsP6wCfYmyU
>/7SVetbubq4QTmsDGE/9NC0=
>=XF3S
>-----END PGP SIGNATURE-----


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail