Pale Moon 28.9.0

Discussions for the Apple Mac OS builds of Pale Moon

Moderator: dbsoft

Forum rules
Important note:
The old Mac OS versions of Pale Moon were provided by various people and not official or in any way organized. Please make sure you check the date of topic threads to know if the topic is current or relevant! We are using this board for both old discussions and new development of Pale Moon on Mac.

Any specific bugs you find that don't have their own topic yet: please make a new topic; one bug per topic please to keep things organized.
dbsoft
Project Contributor
Project Contributor
Posts: 419
Joined: 2020-02-21, 17:35

Pale Moon 28.9.0

Unread post by dbsoft » 2020-03-24, 19:50

Here is the new Pale Moon version 28.9.0, same build environment new release. Popup window fix made it into this release:

Download

Personas should be disabled as Tobin suggested in this build.

Hope it works well for you.

Brian

KlarkKentThe3rd
Astronaut
Astronaut
Posts: 556
Joined: 2018-04-20, 20:31

Re: Pale Moon 28.9.0

Unread post by KlarkKentThe3rd » 2020-03-24, 21:43

Everything works as expected, yet still unable to log in Citibank Online. Will have to keep using Waterfox for that.

Kasane

Re: Pale Moon 28.9.0

Unread post by Kasane » 2020-03-24, 22:29

Thanks for the new build. The popup windows work as expected, but the problem with the windows controls in private mode still persist.

dbsoft
Project Contributor
Project Contributor
Posts: 419
Joined: 2020-02-21, 17:35

Re: Pale Moon 28.9.0

Unread post by dbsoft » 2020-03-24, 22:38

Kasane wrote:
2020-03-24, 22:29
Thanks for the new build. The popup windows work as expected, but the problem with the windows controls in private mode still persist.
I included the --disable-personas in the config settings, but wasn't sure how to test it. I am not sure that the private browsing titlebar is the same thing or not... But that was the next thing on my todo-list since the private browsing window on my screen at least is missing the window title text. I did not notice issue with the buttons, but I'll look into it in depth soon.

dbsoft
Project Contributor
Project Contributor
Posts: 419
Joined: 2020-02-21, 17:35

Re: Pale Moon 28.9.0

Unread post by dbsoft » 2020-03-25, 03:44

Not sure if it is necessary but there was a point release, 28.9.0.1 so here is an updated build:

Download

New Tobin Paradigm

Re: Pale Moon 28.9.0

Unread post by New Tobin Paradigm » 2020-03-25, 05:09

Yeah it was. Also come back to the irc. :thumbup:

dbsoft
Project Contributor
Project Contributor
Posts: 419
Joined: 2020-02-21, 17:35

Re: Pale Moon 28.9.0

Unread post by dbsoft » 2020-03-25, 10:13

New Tobin Paradigm wrote:
2020-03-25, 05:09
Yeah it was. Also come back to the irc. :thumbup:
Yeah I will, was IRCing from my server and in the middle of an upgrade, will be back when the upgrade is finished. :)

dbsoft
Project Contributor
Project Contributor
Posts: 419
Joined: 2020-02-21, 17:35

Re: Pale Moon 28.9.0

Unread post by dbsoft » 2020-03-25, 22:29

Another minor update to 28.9.0.2:

Download

KlarkKentThe3rd
Astronaut
Astronaut
Posts: 556
Joined: 2018-04-20, 20:31

Re: Pale Moon 28.9.0

Unread post by KlarkKentThe3rd » 2020-03-25, 23:35

Great stuff. Still cannot log into Citibank Online.

As an aside, I experimented with the Otter browser today, and could log in no problem (despite the browser being a buggy testing alpha mess).

dbsoft
Project Contributor
Project Contributor
Posts: 419
Joined: 2020-02-21, 17:35

Re: Pale Moon 28.9.0

Unread post by dbsoft » 2020-03-26, 02:23

KlarkKentThe3rd wrote:
2020-03-25, 23:35
Great stuff. Still cannot log into Citibank Online.
Was looking at the error you posted earlier:

Error: ReferenceError: event is not defined
Source File: https://online.citi.com/GFC/branding/re ... js/main.js

I think this error is saying the "event" object is not defined, but from what I can see it should be a global scope object that is an alias for window.event

https://stackoverflow.com/questions/642 ... llback-cha

I am not sure what code is triggering it since it is compressed into a single line of javascript code, but after beautifying the code I see at least two javascript functions in that file that access the event object:

Code: Select all

function mobileDropdown() {
    event.preventDefault(), event.stopPropagation(), $("#mobileNav").removeAttr("style").css("display", "none"), $("#mobileNav").css("display", "block"), document.getElementById("mobileDrop").classList.contains("show") && hideMobileDrop(), document.getElementById("mobileDrop").classList.toggle("show"), document.getElementById("icon").classList.toggle("expanded"), document.getElementById("icon").classList.toggle("collapsed")
}
$("#main-nav > li > a").each(function() {
    ids_dropbtn.push($(this).attr("id"))
}), window.addEventListener("keydown", function(e) {
    var n = document.activeElement.id,
        s = document.activeElement.parentElement.id;
    if (null != s) var a = document.activeElement.getAttribute("data-menu");
    if (-1 == $.inArray(n, ids_dropbtn) && null == a) var t = ids_dropbtn.indexOf(s);
    else t = -1 == $.inArray(s, ids_dropbtn) && null == a ? ids_dropbtn.indexOf(n) : $.inArray(a, ids_dropbtn);
    var i = event.keyCode || event.which,
        o = ids_menu.indexOf(s);
((I only included enough of the second function to show the event object use for brevity))
Does anyone more versed in the javascript subsystem have any ideas?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35639
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Pale Moon 28.9.0

Unread post by Moonchild » 2020-03-26, 10:19

dbsoft wrote:
2020-03-26, 02:23
it should be a global scope object that is an alias for window.event
We don't have window.event -- global event handlers are per-document for us, not per window (it's more logical on documents). This is an open enhancement issue. See Issue #595 (UXP) -- it's bounty material, by the way so if you want to tackle this, you'll get paid for it.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

KlarkKentThe3rd
Astronaut
Astronaut
Posts: 556
Joined: 2018-04-20, 20:31

Re: Pale Moon 28.9.0

Unread post by KlarkKentThe3rd » 2020-03-26, 23:55

I wish I was already a real programmer so I could get paid for helping myself.

dbsoft
Project Contributor
Project Contributor
Posts: 419
Joined: 2020-02-21, 17:35

Re: Pale Moon 28.9.0

Unread post by dbsoft » 2020-03-27, 22:45

KlarkKentThe3rd wrote:
2020-03-26, 23:55
I wish I was already a real programmer so I could get paid for helping myself.
I took a quick look at this, and it is a major project... due to some serious code drift. I got the patches mostly applied, with major changes due to a split nsGlobalWindow into two separate classes. It also looks like this huge patch may need to be applied, or need to convert from nsIDOMEvent to mozilla::dom::Event in a particular location. The huge patch seems to unify the two types.

https://bugzilla.mozilla.org/show_bug.cgi?id=1455055

KlarkKentThe3rd
Astronaut
Astronaut
Posts: 556
Joined: 2018-04-20, 20:31

Re: Pale Moon 28.9.0

Unread post by KlarkKentThe3rd » 2020-03-28, 00:03

Well, I'll keep waiting patiently.

User avatar
gracious1
Keeps coming back
Keeps coming back
Posts: 891
Joined: 2016-05-15, 05:00
Location: humid upstate NY

Re: Pale Moon 28.9.0

Unread post by gracious1 » 2020-03-28, 08:42

Is there a setting in about:config to restore personas, or has that functionality been completely removed in 28.9.x?
20 July 1969 🌗 Apollo 11 🌓 "One small step for [a] man, one giant leap for mankind." 🚀

New Tobin Paradigm

Re: Pale Moon 28.9.0

Unread post by New Tobin Paradigm » 2020-03-28, 10:49

It is hard-disabled at build time as a workaround to issues with custom window frames across multiple OS X versions. Personas specifically use custom frames on Macintosh so as a consequence they are also disabled.

EITHER we fix custom frames and everything goes back to the way it was OR we disable them permanently but re-enable personas to just be on the toolbars (like how personas work on Windows when the menubar is visible). The third option is to fix them but severely limit the versions of MacOS X that Pale Moon can run on being limited to some of the most recent versions only. That is something we want to avoid unless absolutely necessary.

dbsoft
Project Contributor
Project Contributor
Posts: 419
Joined: 2020-02-21, 17:35

Re: Pale Moon 28.9.0

Unread post by dbsoft » 2020-03-28, 22:16

New Tobin Paradigm wrote:
2020-03-28, 10:49
It is hard-disabled at build time as a workaround to issues with custom window frames across multiple OS X versions. Personas specifically use custom frames on Macintosh so as a consequence they are also disabled.
How do I reproduce the issue that is being worked around by disabling personas anyway? Reenable them and install a particular persona from the site or any one? Does it only affect certain versions?

New Tobin Paradigm

Re: Pale Moon 28.9.0

Unread post by New Tobin Paradigm » 2020-03-28, 22:42

Previous discussion indicated it affects newer OSX when compiled targeting older OSX. Or something. Go read the issues and search the forum and channel logs.

dbsoft
Project Contributor
Project Contributor
Posts: 419
Joined: 2020-02-21, 17:35

Re: Pale Moon 28.9.0

Unread post by dbsoft » 2020-03-28, 23:13

New Tobin Paradigm wrote:
2020-03-28, 22:42
Previous discussion indicated it affects newer OSX when compiled targeting older OSX. Or something. Go read the issues and search the forum and channel logs.
https://github.com/MoonchildProductions/UXP/issues/491
https://github.com/MoonchildProductions/UXP/issues/584
https://github.com/MoonchildProductions/UXP/issues/740

Guessing these are the issues? Posting them here for reference.

Are we sure we need to disable personas? Even with personas disabled I see issues with the private browsing window titlebar.

KlarkKentThe3rd
Astronaut
Astronaut
Posts: 556
Joined: 2018-04-20, 20:31

Re: Pale Moon 28.9.0

Unread post by KlarkKentThe3rd » 2020-03-28, 23:42

This might be relevant, but recently I went on my first (and last) theme binge. I got about 8 of them now, and none caused any problems. Mac OS = High Sierra.