Lightning 68.1 - cannot customize toolbar

For discussing the Mozilla Calendar, Sunbird and Lightning projects.
Locked
ton85
Posts: 163
Joined: May 30th, 2005, 7:18 am

Lightning 68.1 - cannot customize toolbar

Post by ton85 »

I can't customize the calendar tool bar. Every time I restart Thunderbird, it rolls back to the default.
Thunderbird 68.1

Thank you
User avatar
WaltS48
Posts: 5141
Joined: May 7th, 2010, 9:38 am
Location: Pennsylvania, USA

Re: Lightening 68.1 - cannot customize toolbar

Post by WaltS48 »

ton85 wrote:I can't customize the calendar tool bar. Every time I restart Thunderbird, it rolls back to the default.
Thunderbird 68.1

Thank you
You are correct.

Tested with Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 and Lightning 68.1.0.

Added the Print icon and restarted Thunderbird and it was gone back into the Customize widget. Same with the Find Events and Go to Today icons.

EDIT #1: Works properly in TB 60.9.1, but I can reproduce in 70.0b1.

EDIT #2: I can also reproduce using Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0
Linux Desktop - AMD Athlon(tm) II X3 455 3.3GHz | 8.0GB RAM | GeForce GT 630
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
User avatar
WaltS48
Posts: 5141
Joined: May 7th, 2010, 9:38 am
Location: Pennsylvania, USA

Re: Lightning 68.1 - cannot customize toolbar

Post by WaltS48 »

ton85 wrote:I can't customize the calendar tool bar. Every time I restart Thunderbird, it rolls back to the default.
Thunderbird 68.1

Thank you
I filed Can't customize Calendar Toolbar if you want to follow along.
Linux Desktop - AMD Athlon(tm) II X3 455 3.3GHz | 8.0GB RAM | GeForce GT 630
Windows Notebook - AMD A8 7410 2.2GHz | 6.0GB RAM | AMD Radeon R5
morat
Posts: 6434
Joined: February 3rd, 2009, 6:29 pm

Re: Lightning 68.1 - cannot customize toolbar

Post by morat »

I am having a similar problem with a legacy type="xul" button extension and the menu bar.

A workaround to both problems for me is to set the nglayout.debug.disable_xul_cache pref to true, customize the toolbar, exit the app, then startup.

http://kb.mozillazine.org/Nglayout.debu ... _xul_cache

Code: Select all

// show currentset for menu bar using error console

(function () {
  var url = "chrome://messenger/content/messenger.xul";
  var id = "mail-toolbar-menubar2";
  var toolbar = document.getElementById(id);
  alert(Services.xulStore.getValue(url, id, "currentset"));
  alert(toolbar.getAttribute("currentset"));
  alert(toolbar.currentSet);
})();

Code: Select all

// show currentset for calendar toolbar using error console

(function () {
  var url = "chrome://messenger/content/messenger.xul";
  var id = "calendar-toolbar2";
  var toolbar = document.getElementById(id);
  alert(Services.xulStore.getValue(url, id, "currentset"));
  alert(toolbar.getAttribute("currentset"));
  alert(toolbar.currentSet);
})();
The currentset is correct with the pref set to false, but the buttons fail to show.

Lightning 68.1.0
Thunderbird Portable 68.1.0
Windows 7 SP1 32-bit
Locked