Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257542 - gtk-engines-qt-1.1-r1 makes gtk apps fail with floating point exception
Summary: gtk-engines-qt-1.1-r1 makes gtk apps fail with floating point exception
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-03 23:20 UTC by Theofilos Intzoglou
Modified: 2009-05-17 15:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
1.1-scrollbar.patch (1.1-scrollbar.patch,711 bytes, patch)
2009-02-03 23:22 UTC, Theofilos Intzoglou
Details | Diff
1.1-firefoxOpenFileDialogFix.patch (1.1-firefoxOpenFileDialogFix.patch,1.70 KB, patch)
2009-02-03 23:26 UTC, Theofilos Intzoglou
Details | Diff
1.1-fixsegfault.patch (1.1-fixsegfault.patch,403 bytes, patch)
2009-02-03 23:27 UTC, Theofilos Intzoglou
Details | Diff
gtk-engines-qt-1.1-r2.ebuild (gtk-engines-qt-1.1-r2.ebuild,1.15 KB, text/plain)
2009-02-03 23:29 UTC, Theofilos Intzoglou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Theofilos Intzoglou 2009-02-03 23:20:43 UTC
If you try using the skulpture theme for kde and apply the same theme for gtk applications in kde's system-settings, gtk apps stop running. This seems to be a known bug.

Reproducible: Always

Steps to Reproduce:
1.Emerge gtk-engines-qt-1.1 (or -r1)
2.Apply the skulpture theme in kde
3.Try to run firefox or any other gtk app

Actual Results:  
The apps fail to start

Expected Results:  
To start of course :-)
Comment 1 Theofilos Intzoglou 2009-02-03 23:22:38 UTC
Created attachment 180860 [details, diff]
1.1-scrollbar.patch

This patch seems to fix the problem
Comment 2 Theofilos Intzoglou 2009-02-03 23:26:38 UTC
Created attachment 180862 [details, diff]
1.1-firefoxOpenFileDialogFix.patch
Comment 3 Theofilos Intzoglou 2009-02-03 23:27:01 UTC
Created attachment 180864 [details, diff]
1.1-fixsegfault.patch
Comment 4 Theofilos Intzoglou 2009-02-03 23:29:21 UTC
Created attachment 180865 [details]
gtk-engines-qt-1.1-r2.ebuild
Comment 5 Theofilos Intzoglou 2009-02-03 23:30:54 UTC
These files are some patches that I got straight from gtk-engines-qt subversion repository. The ebuild is the same as the one for -r1 however it does apply the above patches. After those patches everything seems to work just fine.
Comment 6 Patrizio Bassi 2009-02-14 21:58:33 UTC
one file is missing...

1.1-stdlib.patch

can you provide it?
Comment 7 Patrizio Bassi 2009-02-14 22:05:17 UTC
uh sorry i just found it.

anyhow, i tried firefox with the patches and i see no difference:
1) i have a seg fault on shutdown i always have, with no data loss or issues so i'm just ignoring

2) combobox or submit buttons are not properly drawn. i need to pass mouse over it.

3) scrollbar has a similar issue, i need to pass over it to have the up/down arrows drawn.

i didn't have the crash on open with -r1

to be since -r1 and this ebuild/patches make no difference for me.
Comment 8 Theofilos Intzoglou 2009-02-15 19:28:23 UTC
Unfortunately that's what happened for me and it seems to be well known as I asked about it in the kde irc channel and the developer of the skulpture theme informed me that there is an issue with gtk apps and the no arrow scrollbar that the theme uses. There is a bug in gtk-engines-qt that has to do with scrollbars. You can check all the patches if you want for validity. I took them from here:

http://gtk-qt.ecs.soton.ac.uk/trac/browser/gtk-qt/trunk/gtk-qt-engine

I just created an ebuild that uses those patches so I could test it on my computer and it seems to work for me so I thought it might be of interest if someone else has the same problem. This is on an amd64 system if that is of importance and I can also post emerge --info if you need it. Of course those patches wouldn't be of importance to anyone that didn't have any problem before unless they broke something :-)
Comment 9 Jonathan Stringer 2009-02-22 06:19:21 UTC
(In reply to comment #8)
> Unfortunately that's what happened for me and it seems to be well known as I
> asked about it in the kde irc channel and the developer of the skulpture theme
> informed me that there is an issue with gtk apps and the no arrow scrollbar
> that the theme uses. There is a bug in gtk-engines-qt that has to do with
> scrollbars. You can check all the patches if you want for validity. I took them
> from here:
> 
> http://gtk-qt.ecs.soton.ac.uk/trac/browser/gtk-qt/trunk/gtk-qt-engine
> 
> I just created an ebuild that uses those patches so I could test it on my
> computer and it seems to work for me so I thought it might be of interest if
> someone else has the same problem. This is on an amd64 system if that is of
> importance and I can also post emerge --info if you need it. Of course those
> patches wouldn't be of importance to anyone that didn't have any problem before
> unless they broke something :-)
> 

I've just downloaded these and put them in a local overlay, and voila, I have gtk programs rendering with my qt4 theme again. amd64 aswell.

Cheers :-)
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2009-05-17 15:33:07 UTC
Fixed in the tree.
Thx for the patches.
Sorry for delay.