RealRaven2000 / SmartTemplates

Thunderbird Add-on: SmartTemplates
http://smarttemplates.quickfolders.org/
Other
25 stars 15 forks source link

Clicking on Hide Button Label in header menu doesn't work as expected #304

Closed RealRaven2000 closed 3 months ago

RealRaven2000 commented 4 months ago

Hide button label should hide the label of the header action menu immediately. I think it doesn't work as expected...

RealRaven2000 commented 4 months ago

The line which determines current status (to be toggled) is only called once (when setting up the menu)

let isLabelHidden = (await messenger.LegacyPrefs.getPref("extensions.smartTemplate4.toolbar.hideLabel"));

it needs to be updated every time the menu item is clicked.

RealRaven2000 commented 4 months ago

Fixed:

smartTemplate-fx-4.6.2pre4.zip

I had to update the status during the event handler, which also required making it async


To try the version above download zip file and drag the file into Thunderbird Add-ons Manager (do not extract contents, it won't install like that)

RealRaven2000 commented 3 months ago

Fixed in 4.7 - published 05/08/2024