Bugs :  K-Meleon Web Browser Forum
You can talk about issues with k-meleon here.  
New K-M window opens as ...
Posted by: Kurt
Date: January 31, 2002 11:39AM

If you choose in perferences "New Window should display: Blank Page" and there is still a URL in the URL box, the new window opens with that URL nonetheless as with "New Window should display: URL" still checked.

The value in:
user_pref("kmeleon.display.newWindowOpenAs", 0);
has changed to 0 (for Blank Page).

But right on the next line is still for example:
user_pref("kmeleon.display.newWindowURL", http://www.alltheweb.com/"winking smiley;
and with that "alltheweb" starts with the next (new) page.

My guess is, the line
user_pref("kmeleon.display.newWindowURL", http://www.alltheweb.com/"winking smiley;
and with that the URL box as well should be altered (cleared) automatically when choosen Blank Page.

Kurt

Options: ReplyQuote
Re: New K-M window opens as ...
Posted by: Bernard Mercier
Date: February 01, 2002 08:16AM

I don't have this problem, but my prefs read:
user_pref("kmeleon.display.newWindowURL", "");

You can change this from within K-M or when K-M is closed edit the prefs.js with notepad.

Bernard

Options: ReplyQuote
Re: New K-M window opens as ...
Posted by: Kurt
Date: February 01, 2002 09:41AM

Bernard,

Sure, I can do that.
But what is then the point of having those check-boxes in Edit - Preferences, when I still have to edit the prefs.js-file after all.

Kurt

Options: ReplyQuote
Re: New K-M window opens as ...
Posted by: Bernard Mercier
Date: February 01, 2002 06:10PM

Kurt,

You are right.
I never used these options in edit|preferences|display and I did a test now.
Indeed if you enter a URL and tick the box, a new window opens with that URL.
But if you tick blank page again, a blank page should be displayed again, but it doesn't.
If you empty the URL box in edit|preferences|display, you can correct also.

So you are right, in my opinion also it's a bug.

For the deloppers:

prefs.js contains when new window should display a blank page.
user_pref("kmeleon.display.newWindowOpenAs", 0);
user_pref("kmeleon.display.newWindowURL", "");

prefs.js contains when ticking new window uses URL to display:
user_pref("kmeleon.display.newWindowOpenAs", 3);
user_pref("kmeleon.display.newWindowURL", "www.wanadoo.be");

prefs.js contains when ticking new window should display blank page:
user_pref("kmeleon.display.newWindowOpenAs", 0);
user_pref("kmeleon.display.newWindowURL", "www.wanadoo.be");
and in this case www.wanadoo.be is displayed instead of the blank page.

prefs.js contains when clearing by hand the url entry:
user_pref("kmeleon.display.newWindowOpenAs", 0);
user_pref("kmeleon.display.newWindowURL", "");

Conclusion:
When configuring for a blank page for the new window, either a blank page should be displayed and the entry in url should be ignored,
or
the url box should be cleared automatically.

I prefer the first option.

Bernard

Options: ReplyQuote


K-Meleon forum is powered by Phorum.