Add-ons Manager Hilite [Thunderbird & Legacy]

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
custom.firefox.lady
Posts: 407
Joined: February 28th, 2008, 3:48 am
Location: PA

Add-ons Manager Hilite [Thunderbird & Legacy]

Post by custom.firefox.lady »

Add-ons Manager Hilite

Compatibility: Thunderbird and Firefox Legacy
Description:
Adds a button in the Add-ons Manager to select previously hilited (selected) extension item. This is a workaround for the inability of the new Add-ons Manager in Firefox 4.0+ to remember the last selected item and re-hilite it (Bug 586956). It preserves access to the previously hilited item even through a restart of Firefox.

Download (and further details):
https://addons.thunderbird.net/en-US/thunderbird/addon/addons-manager-hilite/
Last edited by custom.firefox.lady on December 26th, 2018, 6:51 pm, edited 3 times in total.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: [Ext] Add-ons Manager Hilite

Post by patrickjdempsey »

Can you also make it remember which section of the Add-on Manager was open last? It always defaults to Extensions. :(
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
custom.firefox.lady
Posts: 407
Joined: February 28th, 2008, 3:48 am
Location: PA

Re: [Ext] Add-ons Manager Hilite

Post by custom.firefox.lady »

You mean as opposed to themes, etc.? What version of Firefox are you seeing that in? It reopens to whatever category I had open last (tested on 20100901 build). With or without this extension.
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: [Ext] Add-ons Manager Hilite

Post by patrickjdempsey »

Since the first 3.7 builds with the new AOM I've never had it be able to remember which section I was in. That includes 4.0b4 under a new profile. It always defautls to Extensions for me.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
custom.firefox.lady
Posts: 407
Joined: February 28th, 2008, 3:48 am
Location: PA

Re: [Ext] Add-ons Manager Hilite

Post by custom.firefox.lady »

Weird, WFM (just tried on beta4). Here's STR, just to make positive we are not doing something different.

1. Open new profile in Firefox 4.0b4 (Answer the 'default browser' Q)
2. Click 'Firefox Button' > Customize > Add-ons
3. Opens to 'Extensions'
4. Click 'Themes'
5. Close tab containing Add-ons Manager
6. Close other tabs (opened by default in the new profile)
7. Close Firefox (click the X)
8. Reopen Firefox and repeat step 2

Opens to 'Themes' for me.

IIUC, this info should be getting saved in localstore.rdf in the profile folder.
custom.firefox.lady
Posts: 407
Joined: February 28th, 2008, 3:48 am
Location: PA

Re: [Ext] Add-ons Manager Hilite

Post by custom.firefox.lady »

Announcing much improved version 0.5

Description:
Firefox 4 workaround for the inability of the new Add-ons Manager in Firefox 4.0 betas to remember the last selected item and re-hilite it (Bug 586956).
Automatically restores the hilite when changing between addon categories and provides a one-click method to restore the hilite after a restart. Menu list of all extensions provides quick access to any extension.

Changes from version 0.1:
* Added Menu containing list of all extensions, for quick navigation to any extension.
* Extension item gets focused as well as selected, resulting in a more prominently colored (hilited) background
* Item gets scrolled to top of the Extension List, rather than just into view (scrolls as near to top as scrollbar, if present, will allow)
* Previously selected item is automatically hilited upon changing back to 'Extensions' from another tab.

Version 0.5 gives this the functionality *I* want. If you need support for other categories (themes, etc.), want the hilite automatically restored after a restart, or have other rfe's, please make your requests. I'd rather not add features without knowing someone actually wants them.

Download (and further details):
https://addons.mozilla.org/firefox/addon/222537/
User avatar
rob64rock
Posts: 2122
Joined: November 11th, 2009, 6:16 am

Extension incompatibility bug report

Post by rob64rock »

Extension incompatibility bug report:

In the past few days after restarting Firefox 4b7pre after installing a new extension with ABP dev build installed. All Add-ons in the AOM state disabled but won't enable when selecting the Enable buttons, and also it appears that the Add-ons aren't truly disabled since some of my extensions functions still remain and my extension icons are still present in the navigation toolbar and the Add-on bar. Also, after 6 or more restarts the AOM shows all my Add-ons being enabled as before but, after uninstalling any of my extensions or installing any new extensions or updating Firefox 4b7pre to new hourly build or restarting a few more times the problem returns.

Image

Found the source of the problem:

I did fresh install with new profile and installed my extensions one by one until the problem started happening again. It turn out to be caused by an extension incompatibility bug between Adblock Plus Dev build extension and Addon Manager Hilite 0.5 extension.

Tested on WinXP with Win32 20101001 Firefox 4.0b7pre Nightly build and Hourly build.
Tested ABP Dev versions from 0915 to 1002.

Note: I notified Wladimir Palant the ABP developer about the Extension incompatibility bug report as well. I also haven't seen this bug occur with version Addons Manager Hilite 0.1.

Wladimir Palant wrote:Hi rob, thank you for your info on this issue. I could reproduce the problem and filed https://bugzilla.mozilla.org/show_bug.cgi?id=601458 - neither Adblock Plus nor Addons Manager Hilite seem to do anything wrong in this case, it is a Mozilla issue.
custom.firefox.lady
Posts: 407
Joined: February 28th, 2008, 3:48 am
Location: PA

Re: [Ext] Add-ons Manager Hilite

Post by custom.firefox.lady »

@rob64rock
Many thanks for reporting this!
Would you be willing to try my new test build at:
(Edit: removed from test site and uploaded to amo.)
and confirm if this fixes it for you? If you confirm fixed, I'll upload it to amo.

Not sure if my previous code was actually incorrect, or whether it is a Mozilla issue as Wladimir Palant suspects, but his bugzilla comments gave me an idea for a possible fix. Big thanks to him too for investigating this!
Last edited by custom.firefox.lady on October 4th, 2010, 10:34 am, edited 1 time in total.
User avatar
rob64rock
Posts: 2122
Joined: November 11th, 2009, 6:16 am

Re: [Ext] Add-ons Manager Hilite

Post by rob64rock »

custom.firefox.lady wrote:@rob64rock
Many thanks for reporting this!
Would you be willing to try my new test build at:
http://www.shadetreeapiary.com/extension/test/aomhilite_0.5.1_fx.xpi
and confirm if this fixes it for you? If you confirm fixed, I'll upload it to amo.

Not sure if my previous code was actually incorrect, or whether it is a Mozilla issue as Wladimir Palant suspects, but his bugzilla comments gave me an idea for a possible fix. Big thanks to him too for investigating this!


I'll give a try and let know my results.

And thank you for the all the hard work on your extension development.
User avatar
rob64rock
Posts: 2122
Joined: November 11th, 2009, 6:16 am

Re: [Ext] Add-ons Manager Hilite

Post by rob64rock »

custom.firefox.lady wrote:@rob64rock
Many thanks for reporting this!
Would you be willing to try my new test build at:
http://www.shadetreeapiary.com/extension/test/aomhilite_0.5.1_fx.xpi
and confirm if this fixes it for you? If you confirm fixed, I'll upload it to amo.

Not sure if my previous code was actually incorrect, or whether it is a Mozilla issue as Wladimir Palant suspects, but his bugzilla comments gave me an idea for a possible fix. Big thanks to him too for investigating this!


Test results are good after:install, restarting 20 or more times, installing/uninstalling multiple extensions and updating to latest hourly build.
Bug no longer seen using test build.

On another note: You might want add this your AMO page. I had the Stylish userstyle developer make this userstyle: http://userstyles.org/styles/35892 compatible with your extension's AOM Hilite button.
custom.firefox.lady
Posts: 407
Joined: February 28th, 2008, 3:48 am
Location: PA

Re: [Ext] Add-ons Manager Hilite

Post by custom.firefox.lady »

rob64rock wrote:And thank you for the all the hard work on your extension development.

You're welcome. I use the add-ons myself; I just don't use the nightlies for normal browsing.
rob64rock wrote:...Bug no longer seen using test build.

Thanks. It's now available at https://addons.mozilla.org/en-US/firefox/addon/222537/
rob64rock wrote:On another note: You might want add this your AMO page. I had the Stylish userstyle developer make this userstyle: http://userstyles.org/styles/35892 compatible with your extension's AOM Hilite button.

Sure, will check it out. Might be a few days, though.
User avatar
rob64rock
Posts: 2122
Joined: November 11th, 2009, 6:16 am

Re: [Ext] Add-ons Manager Hilite

Post by rob64rock »

Addons Manager Hilite 0.5.1 stopped working on and after Hourly trunk build: http://ftp.mozilla.org/pub/mozilla.org/ ... 286410768/ , most likely due to bug: https://bugzilla.mozilla.org/show_bug.cgi?id=597178 . If I'm not mistaken that bug will land on FF 4.0b7 when it's released if I read the bug comments correctly.
custom.firefox.lady
Posts: 407
Joined: February 28th, 2008, 3:48 am
Location: PA

Re: [Ext] Add-ons Manager Hilite

Post by custom.firefox.lady »

Thanks for the report. Yes, it's due to bug 597178. That's been backed out and reopened for now. Target milestone lists b8. Looks like Addons Manager Hilite will eventually need to support both sets of back/forward buttons.
custom.firefox.lady
Posts: 407
Joined: February 28th, 2008, 3:48 am
Location: PA

Re: [Ext] Add-ons Manager Hilite

Post by custom.firefox.lady »

Announcement: Version 0.6 is now available

Significant changes from previous version:
* Improved implementation/performance
* Support both sets of back/forward arrows
* Include button's image in extension
* Fixed: Duplicate menus appear if you open Add-ons Manager in a new window
* Compatibility fixes for recent changes in Firefox code

Download (and further details):
https://addons.mozilla.org/firefox/addon/222537/
custom.firefox.lady
Posts: 407
Joined: February 28th, 2008, 3:48 am
Location: PA

Re: [Ext] Add-ons Manager Hilite

Post by custom.firefox.lady »

Announcement:
Addons Manager Hilite 0.7.1 has passed AMO review making it 'fully public'.

A new 0.8.0 'beta version' is also available.
Changes since 0.7.1:
* Add support for experimental feature that reverts extension list to a plain alphabetical sort order (Explanation below)
* Fix intermittent issue of hilite button getting sized incorrectly

Details:
In Firefox 4.0b11 the sort order of the add-ons changes from a plain alphabetical list to grouping by state.

Edit: The sorting is too complex and looks jumbled in b11 (depending on how many extension you have in various states), but gets scaled back before b12. The simpler (basically just enabled/disabled) sorting is much better, though I still prefer the plain alphabetical list.

Since Addons Manager Hilite already does an alphabetical sort for the added menulist, little additional code is required to apply that sort to the page's extensions. Currently this feature must be switched on via about: config (Instructions in release notes linked below. Just remove the pref or reset it to 'false' to turn it back off.)

Note that Addons Manager Hilite current functionality applies only to extensions, not other add-on types.

Download (and further details)
https://addons.mozilla.org/firefox/addon/222537/
'Beta version' (and release notes) on 'All versions' page: https://addons.mozilla.org/en-US/firefo ... /versions/
Post Reply