Duplicate icon in some launchers

Support and discussions for the x86/x64 Linux version of Pale Moon and specific Linux distribution questions related to the browser.

Moderator: trava90

Forum rules
If your question is about general use of the browser and not specific to Linux, then please use the General Support board.
Locked
User avatar
AgentOrange
Hobby Astronomer
Hobby Astronomer
Posts: 15
Joined: 2020-03-22, 20:20

Duplicate icon in some launchers

Post by AgentOrange » 2020-03-28, 09:48

The recommended .desktop file in the installation instructions lacks, I believe, one line:

Code: Select all

StartupWMClass="Pale moon"
The capitalization as I have typed it is given by:

Code: Select all

$ xprop | grep -i class
WM_CLASS(STRING) = "Navigator", "Pale moon"
$ 
This being different from the Name field confuses some desktop environments, and can lead to situations where the windows aren't recognized as belonging to the .desktop file, so can appear as a "duplicate" from the Pinned/Favorites entry.

:think: …I'm actually unclear on where, exactly, this WM_CLASS entry is coming from—it looks like it's being dynamically generated?: widget/gtk/nsWindow.cpp:4075 is as far as I could trace it—should it be more-deterministically set?

[ETA: yes, I have linked to 28.8.4—it's the latest release indicated in Git—but it seems that bit of code is identical to the latest version (which I am running): official binary 28.9.0.2. I just wanted to make sure that my link wouldn't bit-rot, so I anchored it to a tag]

User avatar
blipk
Newbie
Newbie
Posts: 5
Joined: 2019-02-07, 06:53

Re: Duplicate icon in some launchers

Post by blipk » 2020-04-15, 23:58

Hey, thanks for finding that, I had posted a thread about this over a year ago and it has been bugging me.

Just one thing, I had to use StartupWMClass=Pale moon - without the quotes or it did not work. This is on Fedora 32 with Gnome Shell 3.36

Any info on whether this will be updated in the builds?

User avatar
SpockFan02
Astronaut
Astronaut
Posts: 535
Joined: 2017-09-24, 16:35
Location: Mak pupulusšum, California

Re: Duplicate icon in some launchers

Post by SpockFan02 » 2020-04-16, 02:50

AgentOrange wrote:
2020-03-28, 09:48
28.8.4—it's the latest release indicated in Git
Pale Moon has been moved back to the Pale-Moon repository, UXP is just for the platform (and XULRunner).

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 8909
Joined: 2012-10-09, 19:37
Location: Seriphia Galaxy

Re: Duplicate icon in some launchers

Post by New Tobin Paradigm » 2020-04-16, 03:04

I am pretty sure I been marking UXP Releases listing the applications that build with that release and have been cross linking everything since this started.. So dunno what he is talking about...
How far are you prepared to go? How much are you prepared to risk? How many people are you prepared to sacrifice for victory?
Are you willing to die friendless, alone, deserted by everyone? Because that's what may be required of you in the war that is to come.

Image

User avatar
blipk
Newbie
Newbie
Posts: 5
Joined: 2019-02-07, 06:53

Re: Duplicate icon in some launchers

Post by blipk » 2020-04-16, 03:53

Neither.

Made a PR here https://github.com/MoonchildProductions ... /pull/1779 to remove the quotes, although it got marked as no issue.
I'm fairly new to git so not sure how this works.

User avatar
SpockFan02
Astronaut
Astronaut
Posts: 535
Joined: 2017-09-24, 16:35
Location: Mak pupulusšum, California

Re: Duplicate icon in some launchers

Post by SpockFan02 » 2020-04-16, 05:24

blipk wrote:
2020-04-16, 03:53
Neither.

Made a PR here https://github.com/MoonchildProductions ... /pull/1779 to remove the quotes, although it got marked as no issue.
I'm fairly new to git so not sure how this works.
It's OK you're just supposed to open an issue describing what the problem/situation is so it's easier to keep track of and there can be discussion about it, etc. and then reference the issue in your commit message and PR—When you use the # of the issue in the PR description GitHub will automatically link them. :)

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29256
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Duplicate icon in some launchers

Post by Moonchild » 2020-04-16, 10:54

Please read the contribution guideline document that was written. It's in /docs. Github even automatically links to it in various places I think.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29256
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Duplicate icon in some launchers

Post by Moonchild » 2020-05-26, 14:26

Considering no verification was done, and the patch submitter has suddenly turned negative and scoffing the project as a whole, patch will be backed out until such time as someone can provide conclusive answers to the questions asked. The provided "solution" is illogical and needs verification and explanation, neither of which was provided.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

Locked