Restore Session at startup

Nis Martensen nis.martensen at web.de
Wed Jul 15 21:21:35 UTC 2015


On 13.07.2015 00:21, Mike Hommey wrote:
> On Sun, Jul 12, 2015 at 08:05:31PM +0200, Nis Martensen wrote:
>> Hi,
>> I am running Debian stable (Jessie) and I have installed the latest
>> iceweasel (release) according to mozilla.debian.net.
>> Version: 39.0-1~bpo80+1
>>
>> When started from the xfce panel, iceweasel always shows the following:
>>
>> #  Well, this is embarrassing.
>> #
>> #  Iceweasel is having trouble recovering your windows and tabs.
>> #  This is usually caused by a recently opened web page.
>> #
>> # You can try:
>> #
>> #    Removing one or more tabs that you think may be causing the problem
>> #    Starting an entirely new browsing session
>>
>> This only happens when starting from the xfce panel, not when starting
>> from the menu, and not when started from the command line in a terminal.
>> And it only started happening after the latest iceweasel upgrade.
>> Behavior does not change when all add-ons are disabled.
>>

The panel starts iceweasel via
  exo-open --launch WebBrowser
which calls
  iceweasel -remote "openURL(about:blank,new-window)"
which fails, because the "-remote" option has been removed.

Therefore, nothing visible happens when the "web browser" panel icon  is
clicked for the first time. When it is clicked for the second time, the
same thing happens at first, but then something also invokes iceweasel
without any arguments, which then starts and shows the "Restore Session"
dialog.

So the problem is the incompatible command line from
/usr/share/xfce4/helpers/iceweasel.desktop
in the Jessie version of exo. This should already be fixed in testing
and unstable.

Workaround: Configure "/usr/bin/iceweasel" in the xfce preferred
applications (WebBrowser) dialog. Do not select the line saying
"Iceweasel" from the drop-down menu, since that refers to the broken
desktop file.

>> I'd appreciate any ideas about how to investigate further.
> 
> Set browser.sessionstore.debug to true. Then session store message
> should go in the browser console and/or stdout.

Thanks for the hint.

 Nis



More information about the pkg-mozilla-maintainers mailing list