Closed Cowpatz closed 7 years ago
i have the same problem... windows 10 pro
I can confirm this on my end too. here are the exact steps to reproduce:
[Expected results]:
[Actual results]:
Interesting, this seems to only be reproducible when installed through test pilot, not by using a custom xpi.
Related: #490
exact same problem here..
ericawright, how do you install a custom xpi?
@fredfred41 if you'd like to take a look at the work on here before we release it you can by building your own XPI. Steps:
about:config
in the awesome barxpinstall.signatures.required
to falsenpm install
and npm install jpm
then:jpm xpi
to generate an installable XPI file locallyExact same problem for me too, Firefox 49.0.1 on Windows 10. The context menu (right-click menu) on items in the bookmarks toolbar is grayed out: all the expected options appear, but are disabled. If I access the same items through the main Bookmarks menu, they work OK. It's pretty annoying.
Still ongoing, Windows 7 Professional SP1, Firefox 49.0.1.
thanks to @brennie for pointing out this is possibly related to this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=625778
(And this provides a possibility for testing, as I could not reproduce in an environment where I could easily change the code, but now I can! 🎉 )
@ericawright Shouldn't it have some higher prio ? For me it makes using this extension very difficult because I often add bookmarks and now I cannot rename them easily.
@kkot I would say this is probably one of the highest priority bugs we have at the moment. It is simply difficult to fix 😄
@ericawright , thanks, but I dont know how to do what you writed :
After cloning this repository, in the terminal, run npm install and npm install jpm then: jpm xpi to generate an installable XPI file locally once you have the XPI file, you can drag and drop it onto nightly to install.
@fredfred41 to make it easier for you you can find the xpi file here: https://www.dropbox.com/s/ne5i2wu62a0j4hn/tabcentertest1%40mozilla.com-1.26.0.xpi?dl=0 That contains the most current code as of today. If you open the file with Nightly or Dev Edition it will work (it will not work with regular Firefox).
We should be releasing a new version soon though, and if you start using the custom xpi you will not get future updates.
@ericawright thanks, I will try it, would you please tell us when the new version would be available please. Si when it will, I could manually uninstall the custom xpi.
Off topic, I tried "repair" fonction and I lost all my opened tabs (not synchronisés with Sync of course...) Do you have a way to retrieve them? Thanks
@fredfred41 Check out Mozilla Support for answers to questions like that…
I also have this issue on two distinctive (not connected) installations, both Firefox 50.1.0, Fedora 25 (up-to-date)
ericawright commented on Sep 6, 2016 Interesting, this seems to only be reproducible when installed through test pilot, not by using a custom xpi.
@ericawright This issue is bugging me also a lot, so I've put some time in it to figure out the exact behavior. It seams that there has nothing to do with Test Pilot install since I've managed to reproduce it with a custom build made today from the repo. Instead it seams to be directly related to the bookmarks toolbar and Tab Center. See the "Notes" section in my scenario for additional details. Here is the scenario to reproduce this:
[Prerequisites]:
[Steps to reproduce]:
[Expected results]: All options are available and can be selected for the bookmark.
[Actual results]: All options are grayed out and unusable.
[Notes]:
Hope this helps in figuring out the exact cause. If you need any details or want me to help you with testing, let me know.
looks like rearranging XUL elements results in releasing this._viewElt.controllers
, that had a controller for Places:
this._viewElt.controllers.appendController(this._controller);
maybe released here: https://dxr.mozilla.org/mozilla-central/rev/698de2db1b16a5ef3c6a39f0f72885e69aee4022/dom/xul/nsXULElement.cpp#880
NS_IF_RELEASE(slots->mControllers);
or here: https://dxr.mozilla.org/mozilla-central/rev/698de2db1b16a5ef3c6a39f0f72885e69aee4022/dom/base/FragmentOrElement.cpp#635 NS_IF_RELEASE(mControllers); or somewhere similar to that.
and controllers is regenerated after that, when gets accessed:
rv = NS_NewXULControllers(nullptr, NS_GET_IID(nsIControllers), reinterpret_cast<void**>(&slots->mControllers));
and regenerated controllers doesn't have the controller appended before, and returns null
here:
return view.controllers.getControllerForCommand(aCommand);
so placesController
below becomes null
and all places commands are set to disabled:
var placesController = doGetPlacesControllerForCommand("placesCmd_open"); function updatePlacesCommand(aCommand) { goSetCommandEnabled(aCommand, placesController && placesController.isCommandEnabled(aCommand));
the controller is released at this line in rearrangeXUL
in verticaltabs.js:
https://github.com/bwinton/TabCenter/blob/48f4b66f67762210023ca1e937d1f6e7f27e206f/verticaltabs.js#L603
contentbox.insertBefore(top, contentbox.firstChild);
forgot to mention that top
there is #navigator-toolbox
and it contains #PlacesToolbar
that is this._viewElt.
above.
Still present in 51.0.1 (32-bit).
🎉 When can I get this fix in test pilot?
We'll try to get it out ASAP
Me and @SoftVision-CiprianMuresan tested the build with the fix for a few days now and we can confirm that seems to be a good fix. Life saver ! 👍 🎉
Right clicking on a tool bar books mark to select "pen in a new tab" not working. In fact all of the right click menu is not working for firefox tabs since installing this. Menu appears greyed out. Using Win 7 64 bit.