Links in programs open 2 tabs. Topic is solved

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
Joel Cairo

Links in programs open 2 tabs.

Post by Joel Cairo » 2016-03-16, 06:53

Hi,

In Mint 17.3 KDE x64: shortcuts on the desktop/in the Application Menu/in the panel/in web pages, work as expected. But click a link from within a program UI and 2 identical tabs open.

I'm sure it isn't a Pale Moon issue. I suspect it is a configuration one, though can't for the life of me think what exactly!

Any ideas appreciated!
Last edited by Joel Cairo on 2016-03-17, 18:35, edited 2 times in total.

Andrew Gilbertson

Re: Links in programs open 2 tabs.

Post by Andrew Gilbertson » 2016-03-17, 11:23

This thread at support.mozilla.org indicates that this problem can be caused by extensions:

https://support.mozilla.org/en-US/questions/992144

So that's one possibility. You could try disabling extension one by one until the problem goes away.

Another possibility is that your /usr/share/applications/mimeinfo.cache or /usr/share/applications/palemoon.desktop files have something weird set in them that's causing the multiple tabs (for example, the "Exec" line in palemoon.desktop might read "Exec=palemoon %u %u").

Joel Cairo

Re: Links in programs open 2 tabs.

Post by Joel Cairo » 2016-03-17, 18:32

Hmm. In the KDE System Settings Default Applications - which would seem the only place such misconfiguration might be - the shortcuts working as expected - 'preferred web browser' was 'palemoon %u'. I originally added the '%u' because other, default, entries had it. Tentatively-speaking, removing it looks to have fixed it - implying the '%u' is added automatically. Having removed it, and looking at /usr/share/applications/palemoon.desktop properties I see it does indeed include '%u'. I didn't see it in mimeinfo.cache.

Putting '%u' back, in 'preferred web browser', yes links within program UIs again open 2 tabs! However 'palemoon.desktop' still shows just the one '%u' entry. At a wild guess I imagine the one calls the other and is duplicated that way? Anyway, disregarding the overall perplexing way Linux seems to work under the bonnet, problem solved!

Thanks for the pointers! Little by little I seem to be adjusting from the Windows-centric understanding of how this stuff works.

Locked