Bug 889644 - firefox will no more start from the gnome3 favorites bar
Summary: firefox will no more start from the gnome3 favorites bar
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: icedtea-web
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Deepak Bhole
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-22 05:28 UTC by Joachim Backes
Modified: 2013-01-20 03:21 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-20 03:21:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Joachim Backes 2012-12-22 05:28:42 UTC
Description of problem:

After updating to icedtea-web.x86_64 0:1.3.1-2.fc18, firefox  no more starts from the gnome3 dashboard. Only starts inside a gnome-terminal let firefox run correctly (See http://lists.fedoraproject.org/pipermail/test/2012-December/112704.html and http://lists.fedoraproject.org/pipermail/test/2012-December/112742.html)

Version-Release number of selected component (if applicable):

icedtea-web.x86_64 0:1.3.1-2.fc18

How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Joachim Backes 2012-12-29 13:54:55 UTC
Additionally, firefox disappears each time for some reasons from the favorites bar if I log out. If I relogin and do "add to favorites", firefox appears there, but only until exiting the gnome3 session.

Comment 2 Joachim Backes 2012-12-29 13:57:48 UTC
It seems that all described effects do not depend on icedtea-web, because erasing icedtea-web from my box has no influence on this behaviour. Seems that another one is the culprit :-(

Comment 3 Joachim Backes 2012-12-29 14:01:21 UTC
firefox-17.0.1-1.fc18.x86_64

Comment 4 Julian Sikorski 2012-12-31 10:18:25 UTC
I have to disagree. Observe:
1. Start firefox from gnome-shell → it starts normally
2. yum update icedtea-web
3. Start firefox from gnome-shell → it starts normally
4. Close firefox
5. Start firefox from gnome-shell → does not work anymore, process is running but no window appears
6. yum downgrade icedtea-web
7. killall firefox (maybe you missed this step, Joachim)
8. Start firefox from gnome-shell → it works again

If this is not enough of a proof that icedtea-web then I'm not sure what is. True, it might be that it triggers some odd behaviour in firefox itself, but it definitely is necessary to see the bug.

Comment 5 Joachim Backes 2012-12-31 11:34:38 UTC
(In reply to comment #4)
> I have to disagree. Observe:
> 1. Start firefox from gnome-shell → it starts normally
> 2. yum update icedtea-web
> 3. Start firefox from gnome-shell → it starts normally
> 4. Close firefox
> 5. Start firefox from gnome-shell → does not work anymore, process is
> running but no window appears
> 6. yum downgrade icedtea-web
> 7. killall firefox (maybe you missed this step, Joachim)
> 8. Start firefox from gnome-shell → it works again
> 
> If this is not enough of a proof that icedtea-web then I'm not sure what is.
> True, it might be that it triggers some odd behaviour in firefox itself, but
> it definitely is necessary to see the bug.

Hi Julian,

I cannot agree:

1. Creating a fresh user and then logging in with this new user will run firefox from the favourites bar too! Not only from a terminal window!

2. The described effect occurs even if icedtea-web is completely uninstalled. I think that some file in ~/.local or ~/.config is or are the culprint(s) (See pt. 1!)

Comment 6 Joachim Backes 2012-12-31 12:14:06 UTC
After investigating a little bit, I can report that by removing ~/.local (by root) and relogin, I got rid from the problem!

Comment 7 Joachim Backes 2012-12-31 13:04:33 UTC
My final post: It seems that copying

/usr/share/applications/firefox.desktop

to

~/.local/share/applications/firefox.desktop

could solve all pain:-)

Comment 8 Joachim Backes 2012-12-31 13:25:35 UTC
The difference between /usr/share/applications/firefox.desktop and
~/.local/share/applications/firefox.desktop was the additional line

Hidden=true

at the end of .local/share/applications/firefox.desktop

Comment 9 Julian Sikorski 2013-01-02 12:21:41 UTC
Killing .local did not work for me. Even if it did, it is hardly a solution for an update that is introduced as a 0-day one.

Comment 10 Deepak Bhole 2013-01-12 16:29:30 UTC
Changing component, as this seems unrelated to icedtea-web.

Comment 11 Per Arnold Blåsmo 2013-01-14 17:21:42 UTC
I had the same problem, and downgrading icedtea-web from 1.3.1-2 to 1.3.1-1 fixed it for me.

I tried first to check if the desktop files was the problem, then I reinstalled firefox. Noting helped.

Downgrading icedtea-web helped.

Comment 12 Per Arnold Blåsmo 2013-01-14 17:25:51 UTC
After downgrading icedtea-web, I tried to upgrade it again.

The problem reappeared. Firefox did not start.
Downgrading icedtea-web fixed it again.

So, why this seems to have to do with icedtea-web or not, I do not know. But it certainly seems to be related.

Comment 13 Michele Baldessari 2013-01-14 20:51:29 UTC
I have started to notice this too lately, it is hard to pinpoint as it does not always happen, but for sure a me too here.

Will investigate more.

Comment 14 Antonio Augusto Santos 2013-01-15 03:25:44 UTC
I can also confirme that downgrading icedtea-web (from 1.3.1-2.fc18 to icedtea-web-1.3.1-1.fc18.x86_64) solved the issue. As soon as I upgraded the package again firefox stop working from the launcher.

I managed to do a diff between the contents of the packages, and the only differences I found where these:

diff -r icedtea-web-1.3.1-1/ icedtea-web-1.3.1-2/
Binary files icedtea-web-1.3.1-1/usr/lib64/IcedTeaPlugin.so and icedtea-web-1.3.1-2/usr/lib64/IcedTeaPlugin.so differ
diff -r icedtea-web-1.3.1-1/usr/share/applications/itweb-settings.desktop icedtea-web-1.3.1-2/usr/share/applications/itweb-settings.desktop
9c9
< X-Desktop-File-Install-Version=0.20
---
> X-Desktop-File-Install-Version=0.21
diff -r icedtea-web-1.3.1-1/usr/share/applications/javaws.desktop icedtea-web-1.3.1-2/usr/share/applications/javaws.desktop
11c11
< X-Desktop-File-Install-Version=0.20
---
> X-Desktop-File-Install-Version=0.21
Binary files icedtea-web-1.3.1-1/usr/share/icedtea-web/netx.jar and icedtea-web-1.3.1-2/usr/share/icedtea-web/netx.jar differ

Comment 15 Antonio Augusto Santos 2013-01-15 03:26:24 UTC
By the way, I'm running Firefox firefox-18.0-1.fc18.x86_64

Comment 16 Deepak Bhole 2013-01-15 03:56:59 UTC
Weird. I can't see why a .desktop file version would prevent Firefox from starting. 

When it fails, is anything written to ~/.xsession-errors?

Comment 17 Antonio Augusto Santos 2013-01-15 04:15:10 UTC
Not a single error on my home, or my firefox profile.

Dunno if this helps, but looking at the libraries linked against IcedTeaPlugin.so in both versions I came out with this:

diff ldd_IcedTeaPlugin.so-1.3.1-1 ldd_IcedTeaPlugin.so-1.3.1-2 
2a3,5
> libatk-bridge-2.0.so.0
> libatspi.so.0
> libcairo-gobject.so.2
4a8
> libdbus-1.so.3
13a18
> libgdk-3.so.0
15d19
< libgdk-x11-2.0.so.0
23c27
< libgtk-x11-2.0.so.0
---
> libgtk-3.so.0



Where ">" are libraries added on version 1.3.1-2 (not on 1.3.1-1) and "<" are libraries removed from 1.3.1-1 (not present on 1.3.1-2). So it seens the new version was compiled agains gtk3 (> libgtk-3.so.0) where the previous one was compiled against gtk2 (< libgtk-x11-2.0.so.0).

Maybe the plugin is trying to talk with the gnome-shell when invoked from it?
Just guessing... I'm not really a GTK/Gnome developer.

Comment 18 Deepak Bhole 2013-01-15 04:28:06 UTC
Ah, that is true. I know the -2 version was compiled with GTK3 support; it was a fix for an open bug that requested it.

I am going to re-assign this bug to icedtea-web and to Jiri, who is the author of the original change in -2.

Jiri, can you please take a look at the above? Seems like compiling against 1.3 has some odd (and bad) side-effects :/

Comment 19 Simon Arnaud 2013-01-15 11:20:07 UTC
I had the same problem.

I fixed it by disabling/removing "Adblock Plus" extension. Installed from Mozilla, not repos.

firefox-18.0-1.fc18.x86_64
icedtea-web-1.3.1-2.fc18.x86_64

hope it helps.

Comment 20 Antonio Augusto Santos 2013-01-15 11:50:12 UTC
I also have "Adblock Plus", from Mozilla installed. But I'm not at home right now to test it.

Comment 21 Simon Arnaud 2013-01-15 16:48:36 UTC
After further testing. it seems related to icedtea-web and adblock plus for me.

If I install both, the problem appears.

If I install one only, no problem.

Comment 22 Per Arnold Blåsmo 2013-01-15 17:58:53 UTC
I confirm that enabling and disabling Adblock Plus add-on in Firefox has the same effect on my setup also.

Adblock plus 2.2.1
icedtea-web-1.3.1-2.fc18.x86_64 
Does not work well together.

Disabling Adblock Plus makes icedtea-web-1.3.1-2 work ok.  I do not have to remove Adblock Plus, it is enough to disable it.

I use firefox-18.0-1.fc18.x86_64

Comment 23 Antonio Augusto Santos 2013-01-15 23:15:50 UTC
Same here. Even tried installing mozilla-adblockplus from the repos, but i get the same thing as others.

Comment 24 Darryl L. Pierce 2013-01-16 12:34:16 UTC
I have the same problem with launching Firefox from either the favorites toolbar or (after removing from there) the search bar. I can only start Firefox from the commandline.

Comment 25 Fedora Update System 2013-01-16 21:21:19 UTC
icedtea-web-1.3.1-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/icedtea-web-1.3.1-3.fc18

Comment 26 Deepak Bhole 2013-01-16 21:22:15 UTC
Hi. The above update should fix this issue. 

I apologize that this got shipped without us noticing. Even now we have machines where we are unable to reproduce this (the machines we happen to test on) -- I am not sure why it triggers in some places and not others (despite same versions of firefox/gtk3/xulrunner).

In any event, we have removed the GTK dependency completely, so the above build should work with all browsers available in Fedora. Please try it out and add karma. Thanks!

Comment 27 Per Arnold Blåsmo 2013-01-19 11:28:45 UTC
I confirm that the icedtea-web-1.3.1-3.fc18 fixes the issue for me.

Comment 28 Fedora Update System 2013-01-20 03:21:54 UTC
icedtea-web-1.3.1-3.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.