MozillaZine

[Ext] Status-4-Evar 2017.03.19.12b

Announce and Discuss the Latest Theme and Extension Releases.
brf
 
Posts: 15
Joined: October 4th, 2014, 6:53 am

Post Posted November 30th, 2016, 11:33 am

I tried a few themes (including Adwaita which I believe is generally the GTK3 "default"?) and never got a gripper (without turning it on in S4E). Normally I'm using Clearlooks-Phenix. What theme are you using?

I do get a gripper in the latest version of Thunderbird, which is still GTK2 AFAIK...

lithopsian
 
Posts: 3663
Joined: September 15th, 2010, 9:03 am

Post Posted November 30th, 2016, 3:40 pm

Just tried Clearlooks-Phenix in GTK3.4 and there is a gripper. It is tiny in Firefox, compared to other apps. Easiest to spot in a blank window with no scrollbars, make sure it isn't maximised.

With the S4E gripper on it is a mess. Looks like two grippers, one above the other, but also drawing artefacts when the window is resized. Might just be GTK3 being its normal glitchy self. Not like your screenshot though, it has a proper background - bizarre. I'm going back to my theme now, the scrollbars are a bit too in my face :)

WooDude
New Member
 
Posts: 1
Joined: December 4th, 2016, 7:09 pm

Post Posted December 4th, 2016, 7:19 pm

Hi.
I am trying to make the download status button to open this:...

chrome://downloadmgr/content/downloadmgrOverlay.xul

...when you press it.

Couldn't find a way and the "3rd party" choice in preferences was gray-out.

So, I tried to edit the xpi (not sure for what I was doing BTW!)
and in the default.js inside the folder preferences of the xpi I changed 2 lines into this:

pref("extensions.caligon.s4e.download.button.action", 4);
pref("extensions.caligon.s4e.download.button.action.command", "chrome://downloadmgr/content/downloadmgrOverlay.xul");

The 4 instead of the 1 activated the option 3rd party! But when I press the download status button doesn't work.
Anyway.
How can I make the button to open this:
chrome://downloadmgr/content/downloadmgrOverlay.xul

?

greenknight

User avatar
 
Posts: 6181
Joined: December 13th, 2004, 2:28 am
Location: In the shadow of Mount St. Helens

Post Posted December 30th, 2016, 6:35 pm

Had to disable S4E in Nightly on Linux Mint 17.3 (from the Ubuntu-Mozilla-Daily PPA). Browser crashes immediately if it's enabled.
Win 10 Home x64, Linux Mint 17.3 MATE x64, AMD A4 5300 APU 3.6 GHz, ADATA XPG DDR3 1600 8GB, ATI Radeon HD 5450. Firefox 57.0.1, Developer Edition 58.0b4(Win only), Nightly 59.0a1x64 (Win), Nightly 56.0a1 (Linux AMD64) .

greenknight

User avatar
 
Posts: 6181
Joined: December 13th, 2004, 2:28 am
Location: In the shadow of Mount St. Helens

Post Posted January 15th, 2017, 9:54 am

The crash in Nightly on Linux Mint turns out not to be specific to S4E. I tried installing HTTPS Everywhere, crashed, so I disabled that, it still crashed. Got some work to do to track down the cause. All I know is it works in Safe Mode, but launch in normal mode and a black bar appears at the top, then it crashes.
Win 10 Home x64, Linux Mint 17.3 MATE x64, AMD A4 5300 APU 3.6 GHz, ADATA XPG DDR3 1600 8GB, ATI Radeon HD 5450. Firefox 57.0.1, Developer Edition 58.0b4(Win only), Nightly 59.0a1x64 (Win), Nightly 56.0a1 (Linux AMD64) .

bramweiser
 
Posts: 2
Joined: January 16th, 2017, 1:28 pm

Post Posted January 16th, 2017, 1:33 pm

Hello, Bluefang,

An issue arose with S4E and I'm hoping that you, or someone else here, could please assist me.

Suddenly, earlier today, my Firefox v43 forced me to open it in Safe Mode, thus removing all of my Add-ons, including S4E. However, upon trying to reinstall it, I was told that there was an error and it couldn't install. Indeed, the Add-on is flagged at Mozilla as being "not available for Firefox 43.0".

How can I please install a working version of S4E, or, failing that, is there another option you'd recommend, instead?

Thanks so much,
Bram Weiser

James
Moderator

User avatar
 
Posts: 27120
Joined: June 18th, 2003, 3:07 pm
Location: Made in Canada

Post Posted January 16th, 2017, 3:40 pm

The current Version 2016.10.11.01 Release of the Status-4-Evar extension is for Firefox 45.0 (Firefox 50.1.0 and 45.6.0esr are current Firefox) and later as you will need a older Release of Status-4-Evar for the old and vulnerable Firefox 43.0 you have

https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/versions/

Firefox 50.1.0 Release from www.mozilla.org/firefox/all/ works on Windows XP however Firefox 49.0 and later requires a CPU that supports the SSE2 flag. Also Firefox 53.0 and later will require Windows 7 and later then.

bramweiser
 
Posts: 2
Joined: January 16th, 2017, 1:28 pm

Post Posted January 16th, 2017, 7:19 pm

James wrote:The current Version 2016.10.11.01 Release of the Status-4-Evar extension is for Firefox 45.0 (Firefox 50.1.0 and 45.6.0esr are current Firefox) and later as you will need a older Release of Status-4-Evar for the old and vulnerable Firefox 43.0 you have

https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/versions/

Firefox 50.1.0 Release from http://www.mozilla.org/firefox/all/ works on Windows XP however Firefox 49.0 and later requires a CPU that supports the SSE2 flag. Also Firefox 53.0 and later will require Windows 7 and later then.


Thank you for responding so quickly, James.

Earlier, I'd looked at a page with earlier versions of S4E but apparently, only the current one was available for installation...though not for my version of Firefox. Indeed, when I try your link now (it looks like that same page), and try to "Add" the previous version (2015.11.16.23.1), I'm told that installation can't happen because the file is "corrupt", a message I'd gotten earlier from even older versions, too.

Also, I don't think that my PC has that SSE2 flag support you spoke of as some other executables that I'd downloaded won't launch, so I presume Firefox v50.1.0 won't either. (Aside: some of those non-launching executables were versions of Firefox after v43, like v47, etc.)

Given this, do you have other ideas I could try, please?

Thanks again,
Bram Weiser

riot504
 
Posts: 2
Joined: January 20th, 2017, 8:37 pm

Post Posted January 20th, 2017, 8:40 pm

Firefox just updated to 50.1.0 and disabled S4E for being unsigned.

riot504
 
Posts: 2
Joined: January 20th, 2017, 8:37 pm

Post Posted January 21st, 2017, 3:04 am

Weird. I just went reinstall it from the Mozilla add-on site and it installed and ran without issue. Not sure why it disabled before as it was the same version.
I also had originally got it from there when it was first released and it has just been auto updating since.

Guess everything is good for me now :)

Thanks

joeg

User avatar
 
Posts: 2617
Joined: October 10th, 2003, 12:37 pm
Location: How can you be in two places at once, when you're not anywhere at all?

Post Posted March 8th, 2017, 3:47 pm

Hi from Berlin,

As far as I'm able to see, with the update to Fx 55, Statu-4-Evar is broken :cry:.

Can anyone confirm this, please?

I've updated the install.rdf file to 57, but it didn't help.

Thanks in advance.
Although every day is Judgment Day, I nonetheless feel like a room without a roof.

Chris000001
 
Posts: 458
Joined: September 12th, 2005, 4:43 pm

Post Posted March 8th, 2017, 4:10 pm

It's broken in Nightly. To fix it In, modules>Australis.jsm:

Remark out:
//CU.import("resource://services-common/stringbundle.js");

Change:
const strings = new StringBundle("chrome://status4evar/locale/overlay.properties");
To:
const strings = Services.strings.createBundle("chrome://status4evar/locale/overlay.properties");

joeg

User avatar
 
Posts: 2617
Joined: October 10th, 2003, 12:37 pm
Location: How can you be in two places at once, when you're not anywhere at all?

Post Posted March 8th, 2017, 4:35 pm

@Chris000001 Thanks very much for your reply.

I've got zero programming knowledge, but I tried to follow your instructions. The following is now the code in my Australis.jsm file, which is in the Modules subfolder of my status-4-evar install folder. Just for the record, I also changed the install.rdf file back to 52.0a1.

For some reason, it didn't work. :-(
-------------------------------------------------------------------------------------------------------------------------------

/*
* ***** BEGIN LICENSE BLOCK *****
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright (C) 2013-2015 Matthew Turnbull <sparky@bluefang-logic.com>. All Rights Reserved.
*
* ***** END LICENSE BLOCK *****
*/

"use strict";

const EXPORTED_SYMBOLS = ["AustralisTools"];

const CU = Components.utils;

const STATUS_BAR_ID = "status4evar-status-bar";
const LEGACY_SHIM_ID = "status4evar-legacy-widget";
const WIDGET_ID_STATUS = "status4evar-status-widget";
const WIDGET_ID_PROGRESS = "status4evar-progress-widget";
const WIDGET_ID_DOWNLOAD = "status4evar-download-button";

const DEFAULT_WIDGETS = [WIDGET_ID_STATUS, WIDGET_ID_PROGRESS, WIDGET_ID_DOWNLOAD];

CU.import("resource:///modules/CustomizableUI.jsm");
CU.import("resource://gre/modules/Services.jsm");
//CU.import("resource://services-common/stringbundle.js");

const strings = new StringBundle("chrome://status4evar/locale/overlay.properties");

CustomizableUI.registerArea(STATUS_BAR_ID, {
type: CustomizableUI.TYPE_TOOLBAR,
defaultPlacements: DEFAULT_WIDGETS
});

var AustralisTools = {
migrateOnce: false,

migrate: function()
{
if(this.migrateOnce)
{
return;
}
this.migrateOnce = true;

DEFAULT_WIDGETS.forEach(function(id, index) {
let placement = CustomizableUI.getPlacementOfWidget(id);
if(!placement || placement.area === CustomizableUI.AREA_NAVBAR || placement.area === STATUS_BAR_ID)
{
Services.console.logStringMessage("S4E Australis migration - moving widget: " + id + " [" + CustomizableUI.isWidgetRemovable(id) + "]");
CustomizableUI.addWidgetToArea(id, STATUS_BAR_ID, index);
}
else if(id === DEFAULT_WIDGETS[0])
{
Services.console.logStringMessage("S4E Australis migration - adding spring");
CustomizableUI.addWidgetToArea("spring", STATUS_BAR_ID, index);
}
});

CustomizableUI.setToolbarVisibility(STATUS_BAR_ID, true);
},

updateLegacyShim: function(action)
{
if(action)
{
this.initLegacyShim();

let placement = CustomizableUI.getPlacementOfWidget(LEGACY_SHIM_ID);
if(!placement) {
CustomizableUI.addWidgetToArea(LEGACY_SHIM_ID, STATUS_BAR_ID);
CustomizableUI.setToolbarVisibility(STATUS_BAR_ID, true);
}
}
else
{
this.destroyLegacyShim();
}
},

initLegacyShim: function()
{
CustomizableUI.createWidget({
id: LEGACY_SHIM_ID,
type: "custom",
defaultArea: STATUS_BAR_ID,
onBuild: function(doc)
{
let item = doc.createElement("toolbaritem");
item.id = LEGACY_SHIM_ID;
item.setAttribute("removable", true);
item.setAttribute("label", strings.get("legacyWidgetTitle"));
item.setAttribute("class", "panel-wide-item");
item.setAttribute("closemenu", "none");
item.appendChild(doc.getElementById("status-bar") || palette.querySelector("status-bar"));

item.watcher = new doc.defaultView.MutationObserver(function(mutations)
{
if(!item.hasChildNodes())
{
Services.console.logStringMessage("S4E Repairing widget: " + LEGACY_SHIM_ID);
item.appendChild(doc.getElementById("status-bar"));
}
});
item.watcher.observe(item, { childList: true });

return item;
}
});
},

destroyLegacyShim: function()
{
let widgetInfo = CustomizableUI.getWidget(LEGACY_SHIM_ID);
if(widgetInfo)
{
widgetInfo.disabled = true;

widgetInfo.instances.forEach(function(instance)
{
let item = instance.node;

item.watcher.disconnect();

if(item.firstChild && item.firstChild.id === "status-bar")
{
item.ownerDocument.getElementById("addon-bar").appendChild(item.firstChild);
}
});
}

CustomizableUI.destroyWidget(LEGACY_SHIM_ID);
},

get TYPE_MENU_PANEL() CustomizableUI.TYPE_MENU_PANEL,
get TYPE_TOOLBAR() CustomizableUI.TYPE_TOOLBAR,
get WIDGET_ID_STATUS() WIDGET_ID_STATUS,
get WIDGET_ID_PROGRESS() WIDGET_ID_PROGRESS,
get WIDGET_ID_DOWNLOAD() WIDGET_ID_DOWNLOAD,

areaForWidget: function(widgetId)
{
let placement = CustomizableUI.getPlacementOfWidget(widgetId);
if(placement)
{
return CustomizableUI.getAreaType(placement.area);
}

return null;
}
}

var statusBarHandler = {

customizing: false,

getSpringId: function(aArea)
{
let springId = null;

let widgetIds = CustomizableUI.getWidgetIdsInArea(aArea);
if(widgetIds)
{
let widgetId = null;
for(let i = 0; i < widgetIds.length; i++)
{
widgetId = widgetIds[i];
if(CustomizableUI.isSpecialWidget(widgetId) && widgetId.indexOf('spring') > 0)
{
springId = widgetId;
break;
}
}
}

return springId;
},

updateWindows: function()
{
for(let window of CustomizableUI.windows)
{
if(window.caligon && window.caligon.status4evar) {
window.caligon.status4evar.updateWindow();
}
}
},

onWidgetAdded: function(aWidgetId, aArea, aPosition)
{
if(aArea === STATUS_BAR_ID && aWidgetId === DEFAULT_WIDGETS[0])
{
let springId = this.getSpringId(aArea);
if(springId)
{
CustomizableUI.removeWidgetFromArea(springId, STATUS_BAR_ID, 0);
}
}

if(!this.customizing && DEFAULT_WIDGETS.indexOf(aWidgetId))
{
this.updateWindows();
}
},

onWidgetRemoved: function(aWidgetId, aArea)
{
if(aArea === STATUS_BAR_ID && aWidgetId === DEFAULT_WIDGETS[0])
{
CustomizableUI.addWidgetToArea("spring", STATUS_BAR_ID, 0);
}

if(!this.customizing && DEFAULT_WIDGETS.indexOf(aWidgetId))
{
this.updateWindows();
}
},

onCustomizeStart: function(aWindow)
{
this.customizing = true;
if(aWindow.caligon && aWindow.caligon.status4evar) {
aWindow.caligon.status4evar.beforeCustomization();
}
},

onCustomizeEnd: function(aWindow)
{
this.customizing = false;
this.updateWindows();
}
}

CustomizableUI.addListener(statusBarHandler);
Although every day is Judgment Day, I nonetheless feel like a room without a roof.

Chris000001
 
Posts: 458
Joined: September 12th, 2005, 4:43 pm

Post Posted March 8th, 2017, 4:53 pm

You missed the second part:
Change:
const strings = new StringBundle("chrome://status4evar/locale/overlay.properties");
To:
const strings = Services.strings.createBundle("chrome://status4evar/locale/overlay.properties");

It's the line under the thing you remarked out (correctly.)

joeg

User avatar
 
Posts: 2617
Joined: October 10th, 2003, 12:37 pm
Location: How can you be in two places at once, when you're not anywhere at all?

Post Posted March 9th, 2017, 3:53 am

Chris000001 wrote:You missed the second part: ...
Yes :oops: , thank you very much.

Now it works, but now I see that other extensions also aren't working ... Oh well.

Thanks again very much for your help.
Although every day is Judgment Day, I nonetheless feel like a room without a roof.

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 3 guests