Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
Pages: Previous12345678910Next
Current Page: 9 of 10
Re: K-Meleon 1.6.0 Beta Development
Posted by: deadlock
Date: February 27, 2012 06:37PM

@ndebord
>Is it truly that easy?
Yes!

Send a note if you can't open tabs
in background with this option.

It was rarely used and overlooked.
Changing all entries in chrome to
match K-Meleon.exe's entry would work too.

It only exists once in BrowserFrmTab.cpp (CVS).

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: ndebord
Date: February 28, 2012 02:47AM

Quote
deadlock
@ndebord
>Is it truly that easy?
Yes!

Send a note if you can't open tabs
in background with this option.

It was rarely used and overlooked.
Changing all entries in chrome to
match K-Meleon.exe's entry would work too.

It only exists once in BrowserFrmTab.cpp (CVS).

deadlock,

I open nothing in windows and all tabs are set to open in background (don't like to lose foreground focus), so as near as I can tell, I am opening tabs in background just fine. Is there something in particular I should try and identify for this?

Wouldn't know how to change Chrome or where to look, so, leave that to all youse coders. <vbg>

N



Edited 1 time(s). Last edit at 02/28/2012 02:48AM by ndebord.

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: guenter
Date: February 28, 2012 05:50AM

Quote
deadlock

It was rarely used and overlooked.
Changing all entries in chrome to
match K-Meleon.exe's entry would work too.

It only exists once in BrowserFrmTab.cpp (CVS).

What is easier and makes more sense?

Change the Chrome or change & compile the Exe code?

-

p.s. Someone told me that that my Exe Code is stable. :O
He compiled it stable. :s

How do I find out the reason for my unstable testing results?

Are there uncaught exceptions because of Prefs that are not in the Exe or kplugins?



Edited 1 time(s). Last edit at 02/28/2012 05:52AM by guenter.

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: rodocop
Date: February 28, 2012 10:13AM

Quote
deadlock
@ndebord
>Is it truly that easy?
Yes!

Send a note if you can't open tabs
in background with this option.

It was rarely used and overlooked.
Changing all entries in chrome to
match K-Meleon.exe's entry would work too.

It only exists once in BrowserFrmTab.cpp (CVS).

It can be made even much easier: open about:config and create new boolean key kmeleon.tabs.loadDivertedInBackground alongside with existing browser.tabs.loadDivertedInBackground (this 'equalizes' chrome with exe-file, not vice versa!), set it to true - and that's it! This works immediately.

No matter now what is the old key value.

Quote
ndebord
deadlock,

I open nothing in windows and all tabs are set to open in background (don't like to lose foreground focus), so as near as I can tell, I am opening tabs in background just fine. Is there something in particular I should try and identify for this?

This makes sense if some link or external app produces new window (opened as tab if this was set so). By default all such tabs are opened in foreground even if the box 'open diverted windows in background' in Preferences->Window Diversion is checked.
The tweak described corrects the behavior.

You can check this using the link provided by deadlock. Just click on the 'a new window' link in the table there.

I've found the real difference. :-)



Edited 7 time(s). Last edit at 02/28/2012 10:54AM by rodocop.

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: ndebord
Date: February 28, 2012 01:15PM

Deadlock,

One glitch: links say from email don't open, just empty tab.

N

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: guenter
Date: February 29, 2012 12:17AM

Quote
rodocop
Quote
deadlock
@ndebord
>Is it truly that easy?
Yes!

Send a note if you can't open tabs
in background with this option.

It was rarely used and overlooked.
Changing all entries in chrome to
match K-Meleon.exe's entry would work too.

It only exists once in BrowserFrmTab.cpp (CVS).

It can be made even much easier: open about:config and create new boolean key kmeleon.tabs.loadDivertedInBackground alongside with existing browser.tabs.loadDivertedInBackground (this 'equalizes' chrome with exe-file, not vice versa!), set it to true - and that's it! This works immediately.

No matter now what is the old key value.

To me. It now looks like the value was programmed but forgotten to add as pref?



Edited 1 time(s). Last edit at 02/29/2012 03:38AM by guenter.

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: rodocop
Date: February 29, 2012 12:16PM

Quote
guenter
To me. It now looks like the value was programmed but forgotten to add as pref?

Perhaps. I think its presence is assumed (or defined) by some of components. I don't really understand the whole architecture of K-Meleon but it seems so.

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: guenter
Date: March 01, 2012 03:02AM

Quote
rodocop
Quote
guenter
To me. It now looks like the value was programmed but forgotten to add as pref?

Perhaps. I think its presence is assumed (or defined) by some of components. I don't really understand the whole architecture of K-Meleon but it seems so.

Telling us that we just need add a pref is a good trick for someone that does not understand. grinning smiley

p.s. Can You send me history.dll from K-Meleon-1.7.26db+. I cannot get the build extracted and wonder which version of the dlll he uses.

You see my mail address in my profile when You click my name above this post.

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: rodocop
Date: March 01, 2012 09:08AM

Quote
guenter
Telling us that we just need add a pref is a good trick for someone that does not understand. grinning smiley

p.s. Can You send me history.dll from K-Meleon-1.7.26db+. I cannot get the build extracted and wonder which version of the dlll he uses.

You see my mail address in my profile when You click my name above this post.

Yes, I see only what is 'outside' but I don't understand anything in coding, compiling, etc.

P.S. Check your mailbox, please!

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: guenter
Date: March 01, 2012 12:08PM

Quote
rodocop

Yes, I see only what is 'outside' but I don't understand anything in coding, compiling, etc.

P.S. Check your mailbox, please!

But You know enough other stuff to find this cool solution.:cool:

p.s. Thank You for Your effort. I received Your mail.
The bitter point. His history.dll is no better than the one I can compile. sad smiley

Now. I wonder whether deadlock has one that works?
He compiles with VC 9 but maybe knows what is wrong.



Edited 1 time(s). Last edit at 03/01/2012 12:29PM by guenter.

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: TwoFish
Date: March 16, 2012 03:18PM

problem k-meleon v1.7 impossible autocomplete or save link url.

http://www.speed-battle.com/

test.

k-meleon v1.6 , v1.7 = overall 200 score

IE 9 = overall 300 score

firefox 11 = overall 800 score

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: JamesD
Date: March 16, 2012 05:38PM

Well, when you compare 2010 tech with 2012 tech those are the scores you should expect to get.

However, in the real world, 97 percent of the sites that I visit don't use the cutting edge, new technology. I use KM 1.6.0 beta 2.4 and more than 50 percent of the button and menu items there are specially crafted to my needs. Can't do that with CH, FF, and IE.

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: deadlock
Date: March 17, 2012 12:54PM

kmeleon.js in KM1.6b2 has following preferences:

pref('kmeleon.print.BGColors', false);
pref('kmeleon.print.BGImages', false);

Both don't exist in code and chrome and
can be replaced by working settings:

pref('print.print_bgcolor', false);
pref('print.print.BGImages', false);


Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: guenter
Date: March 18, 2012 08:25AM

Quote
deadlock
kmeleon.js in KM1.6b2 has following preferences:

pref('kmeleon.print.BGColors', false);
pref('kmeleon.print.BGImages', false);

Both don't exist in code and chrome and
can be replaced by working settings:

pref('print.print_bgcolor', false);
pref('print.print.BGImages', false);

Thx for the fix & how did You find it?

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: deadlock
Date: March 31, 2012 05:48PM

Years ago some menu options were added to
resources without description for status bar.

ID_NEW_TAB "Open a new tab"

And localization experts like Alain would
have to add this to French kmeleon.dll:

ID_NEW_TAB "Ouvrir un Nouvel Onglet"

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: JujuLand
Date: April 06, 2012 07:44PM

I think it's not possible to add this string because the program wouldn't be able to call it. But I think that if this string already exists with an index, we have just to translate it in k-meleon.dll

There is a very long time I haven't put my hand in this files smiling smiley

I had a look to kmeleon.kml, and I found some translation which are used for menus, for example line 240:

New Tab. Right-click for more options.=Nouvel onglet. Clic-Droit pour plus d'options.

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc





Edited 1 time(s). Last edit at 04/06/2012 07:53PM by JujuLand.

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: deadlock
Date: April 08, 2012 07:12AM

Quote
JujuLand
I think it's not possible to add this string because the program wouldn't be able to call it. But I think that if this string already exists with an index, we have just to translate it in k-meleon.dll

I think it is possible. Look at the source.
Line 465 #define ID_NEW_TAB 33900

You can use ID_NEW_TAB in your localized rc-file.

Quote
JujuLand
There is a very long time I haven't put my hand in this files smiling smiley

I had a look to kmeleon.kml, and I found some translation which are used for menus, for example line 240:

New Tab. Right-click for more options.=Nouvel onglet. Clic-Droit pour plus d'options.

Found it.
Those are in the tooltips of a tab toolbar button
and kml files can't be used for all menu options.

ID_NEW_TAB can only be modified/set in k-meleon.exe
and/or language dll resources.



Edited 1 time(s). Last edit at 04/11/2012 07:43PM by deadlock.

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: deadlock
Date: April 11, 2012 08:37PM

There is a way to get the missing status bar text
for all old programs and language libraries.

Export/Import of missing stringtable entries
with (*.res) files works using resource editors.

K-Meleon 1.6b2 knows that 33900 is 'New Tab'.

Expample EN

String Table
-2119
--1033

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
33900, 'Open a new tab'
}

Example FR

String Table
-2119
--1036

STRINGTABLE
LANGUAGE LANG_FRENCH, SUBLANG_FRENCH
{
33900, 'Ouvrir un nouvel onglet'
}

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: deadlock
Date: April 20, 2012 01:00PM

I'm missing the title in a dialog box of 1.6b2.

It opens if the browser has posted a
form request and refresh is clicked.

The window has an icon but no title.
The message and the 'resend button' are defined in Chrome:

confirmRepostPrompt=To display this page, the application must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.

resendButton.label=Resend


In KM 1.5.4 the dialog box has no
icon but 'K-Meleon' in title.
Chrome's brandShortName is used.

Gecko should set the title,
but it appears to depend on branding.

If nobody knows a trick for chrome or components,
a modification in GenericDlg.cpp can set a default title.

if(m_csTitle.IsEmpty()){ ...

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: JamesD
Date: April 20, 2012 03:24PM

Quote
deadlock
It opens if the browser has posted a
form request and refresh is clicked.
How do I create that situation?

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: deadlock
Date: April 21, 2012 12:50AM

@JamesD
>How do I create that situation?

Open tryhtml_form_method_post sample, enter text, click submit and press F5.

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: JamesD
Date: April 21, 2012 03:20PM

@ deadlock

Seems to me that we just need to look in chrome for the icon which is currently used if you only wish to replace that with "K-Meleon". I have looked at several other browsers and there is both brand and title but never both.

http://dl.dropbox.com/u/1522294/In_KM%20154.jpg
http://dl.dropbox.com/u/1522294/In_IE9.jpg
http://dl.dropbox.com/u/1522294/In_Blackhawk.jpg
http://dl.dropbox.com/u/1522294/In_xulrunner.jpg

I just do no know what part of chrome to inspect. I guess I would need to look for a jpg or bmp or png file?

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: deadlock
Date: April 22, 2012 06:23AM

@JamesD
It isn't from chrome.
I guess it is IDI_EXCLAMATION from Windows OS.

Thanks for the comparison.
You didn't post your 1.6b2 dialog, but
I guess it has no text in title bar.
On my system it looks like this.

I've removed the top left KM icon, added
K-Meleon name and version to title bar
and IDI_EXCLAMATION in message area:

Screenshot 1.6 betatest

What theme and OS did you use for 1.5.4 screenshot?



Edited 2 time(s). Last edit at 04/22/2012 09:54AM by deadlock.

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: JamesD
Date: April 22, 2012 12:09PM

@ deadlock

My 1.6.2.4 version is like your beta2 except that the icon is different. It is like the one in the throbber for Klassic. Klassic is the theme that I always use. I am too lazy to learn what the buttons mean in other themes.

http://dl.dropbox.com/u/1522294/In_beta%201624.jpg

For 1.5.4 the theme is Klassic and the OS is Win 7 (32bit).

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: deadlock
Date: April 22, 2012 01:14PM

@JamesD
Thanks for testing the dialog.
Didn't find any other title bar without text yet.

I've also used 256 colours Klassic skin,
but had to modify AuraAlpha for testing transparent
throbbers on custom toolbar backgrounds.

But, I was only asking for the name of the windows
theme, that provides the colours of all screenshots
except blackhawk. The greenish background.
Looks like Windows 7 aero glass effect was enabled.

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: JamesD
Date: April 22, 2012 01:37PM

OK, I misunderstood. It is a personal theme using window color 'leaf'.

Other theme colors did not allow the black letters to show very well.

http://dl.dropbox.com/u/1522294/Personal%20theme.jpg

Hanlon’s razor is an eponymous adage named after Robert J. Hanlon that states: “Never attribute to malice that which is adequately explained by stupidity.”

JamesD

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: deadlock
Date: April 22, 2012 02:39PM

@JamesD
Thanks

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: deadlock
Date: May 05, 2012 04:58PM

Enable/Disable Status Bar messages isn't implemented.
Existing unused Gecko preference name is:
dom.disable_window_status_change

Enable/Disable Tooltips isn't implemented.
Existing unused Gecko preference name is:
browser.chrome.toolbar_tips

I've modified and tested current beta
including Tooltips for Status Bar Icons.
Not sure if that was available before.

Found an old solution to
remove Tooltips for links.

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: deadlock
Date: May 18, 2012 03:41PM

Update:
All km printer entries in kmeleon.js can be replaced.

kmeleon.print -> print.print

The project owner removed them only 5 years ago:

kmeleon15-preferences

Options: ReplyQuote
Re: K-Meleon 1.6.0 Beta Development
Posted by: ndebord
Date: July 01, 2012 02:26PM

Quote
deadlock
Update:
All km printer entries in kmeleon.js can be replaced.

kmeleon.print -> print.print

The project owner removed them only 5 years ago:

kmeleon15-preferences

deadlock,

about the project owner and similar thoughts. It seems to me at this particular moment in time, that you and Fred and Rodocop are the only people interested in working with K-Meleon. at the coding level

Dorian and KKO (the script macro language guy) have not been around for quite some time now.

Do you see any way to move forward with K-Meleon, either with gecko 2.xxxx or with a radical redo with something like WebKit? I see some pretty interesting work done with tweaking the current Gecko engine and K-Meleon to make the browser that was always configurable into an even more useful piece of software.

Anyhow, I'm just talking a bit here. <g>

N



Edited 1 time(s). Last edit at 07/01/2012 02:26PM by ndebord.

Options: ReplyQuote
Pages: Previous12345678910Next
Current Page: 9 of 10


K-Meleon forum is powered by Phorum.