Re: [Rosegarden-user] File Open Crash: gnome_vfs_mime_get_value (fwd)

2016-01-03 Thread Holger Marzen
I noticed that the GTK+ theme lets Rosegarden crash. Qtractor works fine
with it.

But choosing Plastique works for me and since I am probably the only one
using an old distribution this bug may vanish by itself.

-- Forwarded message --
Date: Sun, 3 Jan 2016 11:35:33 +0100 (CET)
From: Holger Marzen <hol...@marzen.de>
To: D. Michael McIntyre <rosegarden.trumpe...@gmail.com>
Cc: rosegarden-user@lists.sourceforge.net
Subject: Re: [Rosegarden-user] File Open Crash: gnome_vfs_mime_get_value

On Sat, 2 Jan 2016, D. Michael McIntyre wrote:

> On 01/02/2016 10:53 AM, Holger Marzen wrote:
> 
> > But why does Rosegarden SVN 14300 (with old build system) compile and
> > run fine on my system? I fetched and compiled it today.
> 
> We used to use the Plastique style internally.  It was eliminated in 
> Qt5, so we use the Windows style now, to correct various issues with the 
> stylesheet that could be corrected no other way.

Thanks for these explanations. Starting qtconfig and selecting
"Cleanlooks" instead of "Desktop Default Style" cured the problem.
"Plastique" works, too.

--
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] File Open Crash: gnome_vfs_mime_get_value (fwd)

2016-01-03 Thread Abrolag
On Sun, 3 Jan 2016 07:28:19 -0500
"D. Michael McIntyre"  wrote:

> On 01/03/2016 05:52 AM, Holger Marzen wrote:
> 
> > I noticed that the GTK+ theme lets Rosegarden crash. Qtractor works fine
> > with it.
> 
> Qtractor writes uncompressed XML.  Rosegarden writes XML compressed with 
> gzip, using zlib.  The zlib library was the root of the crash you 
> discovered.

I remember we had this same issue with Yoshimi at one time so went to
uncompressed XML, but I've not seen this issue for quite a long time. We now
default to it being enabled.

-- 
W J G

--
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] File Open Crash: gnome_vfs_mime_get_value (fwd)

2016-01-03 Thread D. Michael McIntyre
On 01/03/2016 05:52 AM, Holger Marzen wrote:

> I noticed that the GTK+ theme lets Rosegarden crash. Qtractor works fine
> with it.

Qtractor writes uncompressed XML.  Rosegarden writes XML compressed with 
gzip, using zlib.  The zlib library was the root of the crash you 
discovered.

I'm glad you were able to change something minor and get up and running 
again, Holger!

-- 
D. Michael McIntyre

--
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] File Open Crash

2016-01-02 Thread Ted Felix
On 01/02/2016 05:51 AM, Holger Marzen wrote:
> Same effect. I chatted with FalkTX, maintainer of KXStudio, and he had a
> similar effect. Rosegarden didn't crash when opening the file dialog but
> freezed.
>
> I'll ask him if he's still encountering that freeze.

   Ok.  I'll look a little more closely at this and see if I can see 
anything and/or add some more diagnostics to help track this down.

Ted.

--
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] File Open Crash: gnome_vfs_mime_get_value

2016-01-02 Thread Ted Felix
On 01/01/2016 05:41 PM, Holger Marzen wrote:
> Unfortunately Rosegarden still crashes when trying to open a file. It
> crashes before opening the file dialog.

   I'm guessing it's libraries.

#3  0x7f8109b61862 in gnome_vfs_mime_get_value () from 
/usr/lib/x86_64-linux-gnu/libgnomevfs-2.so.0

Googling on "gnome_vfs_mime_get_value" leads to this similar report from 
2012:

   https://github.com/OpenMS/OpenMS/issues/393

It indicates that the problem for them was with incompatible versions of 
zlib.  rg uses zlib, so this might be it.  A recent upgrade to your 
machine might have introduced a new version of zlib, or some other 
library that is causing trouble.

Ted.

--
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] File Open Crash: gnome_vfs_mime_get_value

2016-01-02 Thread D. Michael McIntyre
On 01/02/2016 10:53 AM, Holger Marzen wrote:

> But why does Rosegarden SVN 14300 (with old build system) compile and
> run fine on my system? I fetched and compiled it today.

After getting the new build system, we also acquired the possibility of 
building with Qt5.  This required numerous small changes, which mostly 
amounted to modernizing a lot of legacy code.

One area we had to modernize related to style.  Researching the 
GNOME/zlib error you're experiencing, the "Qt GTK" style comes up 
frequently as an offender.  Users were able to resolve various issues 
with various Qt applications by switching Qt to use some other theme, 
such as "Plastique" or "Windows."

We used to use the Plastique style internally.  It was eliminated in 
Qt5, so we use the Windows style now, to correct various issues with the 
stylesheet that could be corrected no other way.

Since the theme we use is one that's supposed to cure your problem, my 
guess is that you don't use the stylesheet.  Without the stylesheet, Qt 
would take steps to make itself more GNOME-like, and that would very 
likely invoke the code that's causing your trouble.

In any event, there was a lot of discussion of this exact issue right 
around 2012, and reports tapered off after that year.  You are having 
problems with things in an old distro that everybody has resolved since 
then.  A new Qt and a new GNOME should fix you right up.  Otherwise you 
have to take steps to ensure that the code that gets invoked avoids the 
broken GTK-compatibility code from that year.  Change your theme, run 
KDE instead of GNOME, upgrade your distro, or run old versions of 
Rosegarden.  There is no way you are going to make the particular 
combination you are trying to use work.  Something has to change somewhere.
-- 
D. Michael McIntyre

--
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] File Open Crash: gnome_vfs_mime_get_value

2016-01-02 Thread D. Michael McIntyre
On 01/02/2016 05:57 PM, D. Michael McIntyre wrote:
> Rosegarden.  There is no way you are going to make the particular
> combination you are trying to use work.  Something has to change somewhere.

Also, grabbing a binary distribution of Qt5 and compiling against that 
would probably cure the issue, with everything else left the same. 
That's seriously worth a try.
-- 
D. Michael McIntyre

--
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user


Re: [Rosegarden-user] File Open Crash: gnome_vfs_mime_get_value

2016-01-02 Thread D. Michael McIntyre
On 01/02/2016 05:57 PM, D. Michael McIntyre wrote:

> Since the theme we use is one that's supposed to cure your problem, my
> guess is that you don't use the stylesheet.  Without the stylesheet, Qt
> would take steps to make itself more GNOME-like, and that would very
> likely invoke the code that's causing your trouble.

If you do use the stylesheet, it could still be a difference between 
"plastique" and "windows" or there might be some subtle difference in 
the file dialog implementation that I'm forgetting.  I know I had to add 
something to our internal FileDialog class.  I don't remember making a 
change that would likely affect this GTK thing, but I could have.

If I did, it was to support Qt5.  I had to make a lot of small changes 
to get that working; changes that could well have invoked different code 
pathways in the library.  In the end, this is still a library issue, not 
a Rosegarden issue.  We tell the library to do a file dialog, and the 
library decides to perform steps that reveal the zlib version clash 
between Qt and GNOME, and BOOM!

-- 
D. Michael McIntyre

--
___
Rosegarden-user mailing list
Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user