Not so new addon to compact header pane in Thunderbird

Discussion about official Mozilla Thunderbird builds
Post Reply
Tuxman
Posts: 646
Joined: August 23rd, 2004, 11:53 am
Contact:

Re: New addon to compact header pane in Thunderbird 3.0

Post by Tuxman »

The toolbar doesn't have a context menu for me ...
C@rb0n
Posts: 1428
Joined: February 19th, 2005, 11:22 am

Re: New addon to compact header pane in Thunderbird 3.0

Post by C@rb0n »

I just unzipped and took a look at: CompactHeader-0.99.2\chrome\CustomizeHeaderToolbar\content\CHTMessenger.js. I don't understand the code, but are you missing something here? (empty else{} near the bottom):

Code: Select all

function loadToolboxData() {
  var hdrToolbox = document.getElementById("header-view-toolbox");
  var hdrToolbar = document.getElementById("header-view-toolbar");
  var saveToolbox = document.getElementById("CHTSaveToolboxData");
  var saveToolbar = document.getElementById("CHTSaveToolbarData");
  if (hdrToolbox && hdrToolbar && saveToolbox && saveToolbar && saveToolbox.getAttribute("gotData") == "true") {
    hdrToolbar.firstPermanentChild = saveToolbar.firstPermanentChild;
    hdrToolbar.lastPermanentChild = saveToolbar.lastPermanentChild;
    hdrToolbox.palette = saveToolbox.palette.cloneNode(true);
    if (saveToolbox.toolbarset) {
      hdrToolbox.toolbarset = saveToolbox.toolbarset.cloneNode(true);
    } else {
    }
  }
}
jmozmoz
Posts: 365
Joined: August 3rd, 2009, 12:28 pm

Re: New addon to compact header pane in Thunderbird 3.0

Post by jmozmoz »

Tuxman wrote:The toolbar doesn't have a context menu for me ...

The customization dialog should be there (see screenshot in the first post of this thread). It's a little hard to find. Then choose restore default set. This should solve the rest of the problems.
Tuxman
Posts: 646
Joined: August 23rd, 2004, 11:53 am
Contact:

Re: New addon to compact header pane in Thunderbird 3.0

Post by Tuxman »

I don't get it... if I click "a little above the date" (below the toolbar), no context menu appears.
C@rb0n
Posts: 1428
Joined: February 19th, 2005, 11:22 am

Re: New addon to compact header pane in Thunderbird 3.0

Post by C@rb0n »

jmozmoz wrote:The customization dialog should be there (see screenshot in the first post of this thread). It's a little hard to find.

Wow. Overly complicated. Is there no way to make it show icons by default? Plus, is there no way to make the "Customize..." option accessible over a greater region of the header pane?

Thanks
Last edited by C@rb0n on October 29th, 2009, 5:36 am, edited 1 time in total.
jmozmoz
Posts: 365
Joined: August 3rd, 2009, 12:28 pm

Re: New addon to compact header pane in Thunderbird 3.0

Post by jmozmoz »

Ok, try this:
search for the file compactHeaderOverlay.xul in the directory where the add ons are installed. Search for msgHeaderViewDeck. Replace the line with

Code: Select all

<deck id="msgHeaderViewDeck" context="header-toolbar-context-menu">

Will be fixed in next version.
C@rb0n
Posts: 1428
Joined: February 19th, 2005, 11:22 am

Re: New addon to compact header pane in Thunderbird 3.0

Post by C@rb0n »

That works. Thanks.

Another issue though. Is the following your bug or TB3 "Classic" theme extension bug?:

With TB3 "Classic" theme, the "other actions" button looks a mess, like the following screenshot:

Image

However, if I remove the button, dragging it to the "Customize Toolbar" dialog, it looks normal there. It is only when on the header pane that it looks bad.

Why I'm not sure who's bug this is is because the button looked normal on the header pane with CompactHeader 0.8.3.

Also, because of this incompatibility, the "Customize Toolbar" dialog ends up looking like this:

Image

I've notified zamula and linked to this post from the TB3 "Classic" theme extension thread.
C@rb0n
Posts: 1428
Joined: February 19th, 2005, 11:22 am

Re: New addon to compact header pane in Thunderbird 3.0

Post by C@rb0n »

More bugs. :-(

Now I'm also getting the following in Error Console, and navigating between messages is slow:

Error: aElt is null
Source file: chrome://global/content/customizeToolbar.js
Line: 654
----------
Error: toolbar is null
Source file: chrome://global/content/customizeToolbar.js
Line: 778

Edit: Seems to have gone away after updating to today's nightly and restarting. Hopefully for good, but we shall see...
zamula
Posts: 102
Joined: January 31st, 2009, 8:59 pm

Re: New addon to compact header pane in Thunderbird 3.0

Post by zamula »

jmozmoz -- could you let me know where you get the icons for the header icons from now? Something recently changed in the default theme and I'm not sure what to fix. Thanks!
zamula
Posts: 102
Joined: January 31st, 2009, 8:59 pm

Re: New addon to compact header pane in Thunderbird 3.0

Post by zamula »

Classic theme updated to Version 1.1.4:
Updated to use latest default theme changes -- fixes issues with buttons in header pane.
Folder pane uses default Aero icons for Server, Inbox, and Outbox.
Thread pane uses default Star icon, since it's smaller.
User avatar
Paenglab
Posts: 206
Joined: December 30th, 2006, 2:20 am
Location: Switzerland

Re: New addon to compact header pane in Thunderbird 3.0

Post by Paenglab »

I have in the error console with version 0.99.4 this error:

No chrome package registered for chrome://compcatheader/content/mainToolbarOverlay.xul

0.99.3 has no such error.
Nuvola theme for Firefox and Thunderbird
farcus
Posts: 60
Joined: November 14th, 2002, 4:11 am

Re: New addon to compact header pane in Thunderbird 3.0

Post by farcus »

I am unable to use any version of compact header (event the latest 0.99.4). Using TB 3.0b4 on Opensuse get the message when trying to install that it could not be installed because not compatible with TB 3.0b4.
is this a linux/Opensuse specific problem? Does the compact header only work on Windows? I used to have it running no problem on XP
jmozmoz
Posts: 365
Joined: August 3rd, 2009, 12:28 pm

Re: New addon to compact header pane in Thunderbird 3.0

Post by jmozmoz »

Paenglab wrote:I have in the error console with version 0.99.4 this error:

No chrome package registered for chrome://compcatheader/content/mainToolbarOverlay.xul

0.99.3 has no such error.

Should be fixed in version 0.99.5.
jmozmoz
Posts: 365
Joined: August 3rd, 2009, 12:28 pm

Re: New addon to compact header pane in Thunderbird 3.0

Post by jmozmoz »

farcus wrote:I am unable to use any version of compact header (event the latest 0.99.4). Using TB 3.0b4 on Opensuse get the message when trying to install that it could not be installed because not compatible with TB 3.0b4.
is this a linux/Opensuse specific problem? Does the compact header only work on Windows? I used to have it running no problem on XP

The versions 0.9.x and 0.99.x are only working with recent nightly builds of TB and the release candidate 1, which should be publicly announced this week end or next week. Please either stay with 0.8.x for TB 3.0b4 or update TB.
Eriatile
Posts: 84
Joined: December 27th, 2003, 7:28 am

Re: New addon to compact header pane in Thunderbird 3.0

Post by Eriatile »

I stil have the forward button bigger than other with version 0.99.5.
Is it possible to fix it the same way than print and mark buttons ?

Image
Post Reply