Re: restarting firefox

2007-02-10 Thread Alexander Sack
On Fri, Feb 09, 2007 at 10:52:13PM -0600, David Farning wrote:
> On Fri, 2007-02-02 at 08:46 -0800, Matt Zimmerman wrote:
> > On Sat, Jan 27, 2007 at 11:37:01PM -0600, David Farning wrote:
> > > A number of browser related bug seem to caused by not restarting the
> > > browser after updating some packages in the system.  These packages seem
> > > to be firefox itself, some themes, and some fonts.
> > > 
> > > Until the mozillateam gets these issues sorted out, would it be feasible
> > > to have update manager request that firefox be restart if any themes or
> > > fonts are updated.
> > 
> > This is already done for Firefox itself.  Can you point to some of the
> > apparent issues with themes and fonts?  I've never known those to cause a
> > problem.
> 
> Matt,
> Sorry for the delay in responding to your request.
> 
> There is a family of bugs that are showing up in firefox that can be
> found at https://bugs.launchpad.net/firefox/+bug/74576 
> 
> We need to do more work in tracking this down... But they sometimes
> occur when closing firefox after updating and/or changing the theme|
> fonts.  I currently believe that it is a gtk issues.
> 

Actually, the main bug for lots of our crashes and freezes when
switching gnome theme can be found at
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/67886.

There is a patch in the upstream bug for that; I am currently
investigating, why it has not yet been landed on the branches.

For bug 74576 I am currently still unsure whether this is just another
variant of that bug, or something new. That's why I haven't linked it
as duplicate of the bug above so far.

 - Alexander


-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: restarting firefox

2007-02-09 Thread David Farning
On Fri, 2007-02-02 at 08:46 -0800, Matt Zimmerman wrote:
> On Sat, Jan 27, 2007 at 11:37:01PM -0600, David Farning wrote:
> > A number of browser related bug seem to caused by not restarting the
> > browser after updating some packages in the system.  These packages seem
> > to be firefox itself, some themes, and some fonts.
> > 
> > Until the mozillateam gets these issues sorted out, would it be feasible
> > to have update manager request that firefox be restart if any themes or
> > fonts are updated.
> 
> This is already done for Firefox itself.  Can you point to some of the
> apparent issues with themes and fonts?  I've never known those to cause a
> problem.

Matt,
Sorry for the delay in responding to your request.

There is a family of bugs that are showing up in firefox that can be
found at https://bugs.launchpad.net/firefox/+bug/74576 

We need to do more work in tracking this down... But they sometimes
occur when closing firefox after updating and/or changing the theme|
fonts.  I currently believe that it is a gtk issues.

Thanks
-- 
David Farning <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: restarting firefox

2007-02-02 Thread Martin Pitt
Hi,

Matt Zimmerman [2007-02-02  8:46 -0800]:
> Martin: how about an apport hook which would check for the existence of the
> file which indicates that a restart is needed, and suppresses the problem
> report, apologizing and telling the user that Firefox must be restarted
> after updating it.

That's not what apport hooks are currently designed to do, but it
isn't hard at all to add this feature.

I added it to the TODO list for now.

Martin
-- 
Martin Pitthttp://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: restarting firefox

2007-02-02 Thread Matt Zimmerman
On Sat, Jan 27, 2007 at 11:37:01PM -0600, David Farning wrote:
> A number of browser related bug seem to caused by not restarting the
> browser after updating some packages in the system.  These packages seem
> to be firefox itself, some themes, and some fonts.
> 
> Until the mozillateam gets these issues sorted out, would it be feasible
> to have update manager request that firefox be restart if any themes or
> fonts are updated.

This is already done for Firefox itself.  Can you point to some of the
apparent issues with themes and fonts?  I've never known those to cause a
problem.

Martin: how about an apport hook which would check for the existence of the
file which indicates that a restart is needed, and suppresses the problem
report, apologizing and telling the user that Firefox must be restarted
after updating it.

-- 
 - mdz

-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: restarting firefox

2007-01-28 Thread Martin Pitt
Hi David,

David Farning [2007-01-28  6:43 -0600]:
> Dennis was answering my question on how to extend this functionality to
> font and theme packages.

Ah, I see, so maybe I misunderstood his answer then. Sorry for the
confusion.

> I'm sorry if it sounds like I am criticizing apport and friends.  I am
> not, but a working crash reporter without methods for handling those
> reports is turning drinking from the firehose into drowning from the
> firehose for firefox and friends;)

Please *do* criticize our bug reporting infrastructure. A lot of
people do and good feedback helps to make it better. 

Thanks,

Martin

-- 
Martin Pitthttp://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org


signature.asc
Description: Digital signature
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: restarting firefox

2007-01-28 Thread David Farning
On Sun, 2007-01-28 at 13:20 +0100, Martin Pitt wrote:
> Hi,
> 
> Dennis Kaarsemaker [2007-01-28  8:55 +0100]:
> > echo "Please restart any running Firefoxes, or you will experience
> > problems."
> > unud=/var/lib/update-notifier/user.d
> > 
> > if pgrep firefox-bin >/dev/null 2>&1 && test -d $unud; then
> > cp -f /usr/share/firefox/firefox-restart-required.update-notifier \
> > "$unud/firefox-restart-required"
> > fi
> 
> Something like this already happens, for quite a long time.
> 
> Pitti
> 
Dennis was answering my question on how to extend this functionality to
font and theme packages.

I'm sorry if it sounds like I am criticizing apport and friends.  I am
not, but a working crash reporter without methods for handling those
reports is turning drinking from the firehose into drowning from the
firehose for firefox and friends;)

thanks
David


signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: restarting firefox

2007-01-28 Thread Martin Pitt
Hi,

Dennis Kaarsemaker [2007-01-28  8:55 +0100]:
> echo "Please restart any running Firefoxes, or you will experience
> problems."
> unud=/var/lib/update-notifier/user.d
> 
> if pgrep firefox-bin >/dev/null 2>&1 && test -d $unud; then
> cp -f /usr/share/firefox/firefox-restart-required.update-notifier \
> "$unud/firefox-restart-required"
> fi

Something like this already happens, for quite a long time.

Pitti

-- 
Martin Pitthttp://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org


signature.asc
Description: Digital signature
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


Re: restarting firefox

2007-01-27 Thread Dennis Kaarsemaker
On za, 2007-01-27 at 23:37 -0600, David Farning wrote:

> Until the mozillateam gets these issues sorted out, would it be
> feasible to have update manager request that firefox be restart if any
> themes or fonts are updated. 

That's not too hard to do, you'll need to add a postinst snippet like
what's used in firefox itself:

echo "Please restart any running Firefoxes, or you will experience
problems."

unud=/var/lib/update-notifier/user.d

if pgrep firefox-bin >/dev/null 2>&1 && test -d $unud; then
cp -f /usr/share/firefox/firefox-restart-required.update-notifier \
"$unud/firefox-restart-required"
fi

-- 
Dennis K.

Time is an illusion, lunchtime doubly so.


signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss


restarting firefox

2007-01-27 Thread David Farning
A number of browser related bug seem to caused by not restarting the
browser after updating some packages in the system.  These packages seem
to be firefox itself, some themes, and some fonts.

Until the mozillateam gets these issues sorted out, would it be feasible
to have update manager request that firefox be restart if any themes or
fonts are updated.


Thanks
David 


signature.asc
Description: This is a digitally signed message part
-- 
Ubuntu-devel-discuss mailing list
Ubuntu-devel-discuss@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss