Opening an URL in private mode window from command line does't work

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
peiner

Opening an URL in private mode window from command line does't work

Unread post by peiner » 2017-01-21, 18:27

Opening an URL in private mode window from command line does't work.

To confirm the bug try to open an URL via terminal:

Code: Select all

palemoon -private-window http://www.example.com
This will open the URL always in normal window and an additional second empty private window. There is no difference when Pale Moon is already running in private or normal mode. This command opens always two windows.

Firefox has no problems und opens the URL as expected in a single private window.


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

Re: Opening an URL in private mode window from command line does't work

Unread post by Moonchild » 2017-01-22, 12:57

It's not a bug because it simply isn't functionality we had before. We're not Firefox, please don't expect everything that works in Firefox to work in Pale Moon.

That being said, it's easy to add and seems to already have been offered as a patch :)
Thanks, GMforker!
"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

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

Re: Opening an URL in private mode window from command line does't work

Unread post by gracious1 » 2017-02-28, 01:02

So I gather the patch wasn't part of the latest upgrade? I got the same result as the OP reported when I tried the command.

[Using Ubuntu 14.0.5, PM 27.1.1 (64-bit).]
20 July 1969 🌗 Apollo 11 🌓 "One small step for [a] man, one giant leap for mankind." 🚀

GMforker

Re: Opening an URL in private mode window from command line does't work

Unread post by GMforker » 2017-02-28, 14:35

gracious1 wrote:So I gather the patch wasn't part of the latest upgrade? I got the same result as the OP reported when I tried the command.
[Using Ubuntu 14.0.5, PM 27.1.1 (64-bit).]
You must use a higher version: http://www.palemoon.org/unstable/

http://www.palemoon.org/unstable/releasenotes.shtml:
Current trunk progress since release (major changes only):
Added the feature to pass a URL to open in a private window from the command-line.

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

Re: Opening an URL in private mode window from command line does't work

Unread post by gracious1 » 2017-03-01, 02:04

GMforker wrote: You must use a higher version: http://www.palemoon.org/unstable/
Ah, thank you for the clarification. It appears to be only for Windows, not for Linux, so it's not something I can install.
20 July 1969 🌗 Apollo 11 🌓 "One small step for [a] man, one giant leap for mankind." 🚀

User avatar
Nigaikaze
Board Warrior
Board Warrior
Posts: 1322
Joined: 2014-02-02, 22:15
Location: Chicagoland

Re: Opening an URL in private mode window from command line does't work

Unread post by Nigaikaze » 2017-03-01, 02:39

gracious1 wrote:not for Linux, so it's not something I can install.
Actually, yes you can. See here ...

https://linux.palemoon.org/download/unstable/

... and here:

viewtopic.php?f=37&t=14482
Nichi nichi kore ko jitsu = Every day is a good day.

GMforker

Re: Opening an URL in private mode window from command line does't work

Unread post by GMforker » 2017-03-01, 05:01

gracious1 wrote:It appears to be only for Windows, not for Linux
I didn't realize it.
But has already been answered :-)

Locked