tigerdog ([info]tigerdog) wrote in [info]bezilla,
@ 2008-03-22 15:01:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Thunderbird in Haiku
I've build a BONE version of Thunderbird for testing. It seems to work well under Haiku, however I've noted one odd thing:
When Thunderbird is running and I launch Firefox, Thunderbird closes! If Firefox is running when Thunderbird starts - Firefox closes. Seems to happen at the point during launch when the app restarts. Fyysik, is this a bug worth reporting to the Haiku folks?



(Post a new comment)


[info]fyysik
2008-03-22 10:34 pm UTC (link)
Isn't it case for same TB and FF builds in BeOS too? If so, we have wrong signature for one of then - not unique, but same as for other app.

(Reply to this) (Thread)


[info]mmadia
2008-03-23 12:40 am UTC (link)
using my re-ordered builds on r5bone, SM, FF, TB, and SB can be running at the same time with no apparent conflicts. Note: i've also applied the apprunner-beos.rsrc to SB.

(Reply to this) (Parent)

It works fine in BeOS and Zeta
[info]tigerdog
2008-03-23 04:28 am UTC (link)
BUT the mimetypes have already been registered on my BeOS and Zeta systems. Haiku was a fresh install. I suspect something funky with the Thunderbird resource file because Firefox had been working fine.

I'll be doing a clean Haiku build from the nightlies tomorrow or Monday. I'll create a new Thunderbird and Firebird installer and try again with a clean install.

Fyysik, if this can be caused by a bad resource file, I probably screwed something up. Sometimes its tough to be a dog...

(Reply to this) (Parent)(Thread)

Re: It works fine in BeOS and Zeta
[info]fyysik
2008-03-23 09:11 am UTC (link)
It may be screwed by resource file.
Also, did you look at name of process(es) rynnibg in Haiku for TB and Haiku?

(Reply to this) (Parent)

Re: It works fine in BeOS and Zeta
[info]fyysik
2008-03-23 09:36 am UTC (link)
look here
http://lxr.mozilla.org/mozilla1.8/source/toolkit/xre/nsNativeAppSupportBeOS.cpp#215

this is place where it tries to get app_signature from binary
file, and if it fails, it assigns common one - "application/x-vnd.Mozilla" - so both apps will use that one - and both are single-launch programs - which allows only one instance running

(Reply to this) (Parent)(Thread)

Re: It works fine in BeOS and Zeta
[info]tqh
2008-03-23 02:39 pm UTC (link)
I think we should remove that crap and replace it with some preprocessor programming (Who would think I'd suggest that) that sets the mimetype to a string depending on what is built. I'd suggest choking when it fails to detect what we are building so we fix it fast :)

(Reply to this) (Parent)(Thread)

Re: It works fine in BeOS and Zeta
[info]mmadia
2008-03-23 03:59 pm UTC (link)
something like "application/x-vnd.Mozilla$(PROGRAM)"
where $(PROGRAM) is : http://lxr.mozilla.org/mozilla1.8/source/browser/app/Makefile.in#65

note, if my re-ordering patches are landed, PROGRAM would not have "-bin".

(Reply to this) (Parent)(Thread)

Re: It works fine in BeOS and Zeta
[info]tqh
2008-03-24 09:15 am UTC (link)
Yes, something in that fashion could definatly work. XULRunner probably being the exception. Maybe use the old code for XULRunner only.

(Reply to this) (Parent)

Re: It works fine in BeOS and Zeta
[info]fyysik
2008-03-23 09:53 am UTC (link)
also, look here:
http://community.livejournal.com/bezilla/276698.html

(Reply to this) (Parent)


[info]tqh
2008-03-23 02:42 pm UTC (link)
It might also be an issue with how Mozilla communicates internally. It is (or was) actually built to have a common Mozilla base for all apps.

(Reply to this)

Applies to *all* mozilla products running in Haiku.
[info]mmadia
2008-04-04 02:15 pm UTC (link)
in haiku r24784, i saw the same behavior.
one app either closing the other.
these are my re-ordered builds and the filetype information is identified before running and they all have proper app signatures.

(Reply to this) (Thread)

Re: Applies to *all* mozilla products running in Haiku.
[info]fyysik
2008-07-07 08:46 am UTC (link)
http://community.livejournal.com/bezilla/281777.html?thread=1439921#t1439921

(Reply to this) (Parent)

created Haiku bug ticket
[info]mmadia
2008-04-08 10:28 am UTC (link)
http://dev.haiku-os.org/ticket/2049

(Reply to this)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…