General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Unable to hide status bar - Workaround ?
Posted by: xto
Date: January 09, 2008 09:00PM

Hello,

I'm unable to hide the status bar. Click on View->Status Bar hide it but when I restart k-meleon it reappears.

It's really a problem for me as I must release a version without toolbar and status bar as soon as possible ( it's an application launcher based on XHTML).

Is there a preference I can set in about:config to hide the status bar ?

Or is there a way to hide it at startup with a macro ? (code snippet appreciated)

That's said k-meleon is a great piece of code !

Thanks,

Christophe

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: desga2
Date: January 09, 2008 09:25PM

You can used fullscreen mode to do this. Filter in about:config by 'fullscreen'.

kmeleon.plugins.fullscreen.hide_statusbar

And forced K-Meleon to start in fullscreen mode.

Or you can config all this fullscreen prefs in menu:
Edit -> Preferences -> Plugins -> Select 'Fullscreen plugin' and click in 'Config...' buton.

K-Meleon in Spanish

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: JujuLand
Date: January 10, 2008 08:33AM

Quote
View->Status Bar hide it but when I restart k-meleon it reappears.

Be sure, when you change the value that, before restarting K-Meleon, the loader don't be always launched.

In this case, K-Meleon wouldn't really be stopped, and when relaunching, modifications wouldn't be made.

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 01/10/2008 08:34AM by JujuLand.

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: xto
Date: January 10, 2008 09:24AM

Thanks for answers.

@desga2 : I don't want k-meleon in fullscreen mode (maybe for another version of my launcher but not for this one).

@jujuland : no loader.exe in the task manager. I tried to change the value from the menu, close k-meleon and restart my computer : do not work.

For info I tried with Pocket-K-Meleon 1.12, K-Meleon NX 1811, and KMeleon 1.1.3. None works on my computer (meaning : none hides the statusbar).

Does someone know where k-meleon store this parameter on the disk when it works ?

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: kko
Date: January 10, 2008 11:49AM

Add the following line to your profile's user.js (Edit > Configuration > User Settings):

user_pref("kmeleon.display.statusbar", false);


Alternatively you might add the following line to <InstallDir>\defaults\pref\kmeleon.js:

pref("kmeleon.display.statusbar", false);


I will add a switch to the km 1.5 preferences panel.

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: xto
Date: January 10, 2008 12:45PM

I did both. Still not working. I tried on another computer where it was the first install of k-meleon : same behaviour. Systems used : Windows XP Pro SP2 and Windows XP Family Edition V5.1.

But I finally get it by adding a line in the startup handler of main.kmm :

OnStartup{
...
id(ID_VIEW_STATUS_BAR);
}

Thanks to all who take time to answer.

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: kko
Date: January 10, 2008 04:48PM

Quote
xto
I did both. Still not working.

Sorry, I did not realize that the kmeleon.display.statusbar pref is new in km 1.5, which I'm using (and which preserves the status bar visibility BTW).


Quote
xto
But I finally get it by adding a line in the startup handler of main.kmm :

OnStartup{
...
id(ID_VIEW_STATUS_BAR);
}

That's what I tried first (before I knew about the pref) and that didn't work in 1.5.

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: Ish
Date: March 04, 2008 12:17AM

Quote
xto

But I finally get it by adding a line in the startup handler of main.kmm :

OnStartup{
...
id(ID_VIEW_STATUS_BAR);
}

SRY,it might be a stupid qestion but how to access main.kmm

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: Fred
Date: March 04, 2008 12:25AM

main.kmm is inside the folder macros in the K-Meleon
main folder (only in versions 1.1 and higher, not in
1.0 and related versions).

Fred

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: Meehowski
Date: March 10, 2008 11:55PM

Quote
xto
I did both. Still not working. I tried on another computer where it was the first install of k-meleon : same behaviour. Systems used : Windows XP Pro SP2 and Windows XP Family Edition V5.1.

But I finally get it by adding a line in the startup handler of main.kmm :

OnStartup{
...
id(ID_VIEW_STATUS_BAR);
}

Thanks to all who take time to answer.

No, thank you!!


Be well..........


Mike



Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: aree1987pl
Date: April 20, 2008 01:09PM

Quote
xto
I did both. Still not working. I tried on another computer where it was the first install of k-meleon : same behaviour. Systems used : Windows XP Pro SP2 and Windows XP Family Edition V5.1.

But I finally get it by adding a line in the startup handler of main.kmm :

OnStartup{
...
id(ID_VIEW_STATUS_BAR);
}

Thanks to all who take time to answer.


In which place of main.kmm file should I add this line?

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: desga2
Date: April 21, 2008 11:22AM

Search in main.kmm: OnStartup{
Add line: id(ID_VIEW_STATUS_BAR);

K-Meleon in Spanish

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: aree1987pl
Date: April 21, 2008 01:06PM

Quote
desga2
Search in main.kmm: OnStartup{
Add line: id(ID_VIEW_STATUS_BAR);

Thanks. But now I have still problem. When I open K-meleon status bar isn't active, but when I open new layer, this layer have status bar active. sad smiley Any suggestion?



Edited 1 time(s). Last edit at 04/21/2008 01:07PM by aree1987pl.

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: desga2
Date: April 21, 2008 02:26PM

Are you tried my Fullscreen plugin suggestion up in thread?

K-Meleon in Spanish

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: aree1987pl
Date: April 21, 2008 04:00PM

Quote
desga2
Are you tried my Fullscreen plugin suggestion up in thread?

Yes I've tried. In fulscreen plugin I unchecked status bar option, but when I am in fulscreen mode and I open new layer status bar still is. agrhhh I hate status bar sad smiley

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: desga2
Date: April 21, 2008 06:10PM

In 1.5 beta this is solved.

K-Meleon in Spanish

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: aree1987pl
Date: April 21, 2008 06:48PM

Quote
desga2
In 1.5 beta this is solved.
Yes. I've tried this beta too. I have problem with toolbars in K-Meleon 1.5 beta. When I customize toolbars and then restart, toolbars go back to defult settings. Also K-M 1.5beta crash sometimes so I prefer 1.15 on this moment.

Options: ReplyQuote
Re: Unable to hide status bar - Workaround ?
Posted by: aree1987pl
Date: April 21, 2008 09:16PM

I found the solution of my problem. I added line id(ID_VIEW_STATUS_BAR); under OnOpenwindow{ and everything works fine! smiling smiley



Edited 1 time(s). Last edit at 04/21/2008 09:16PM by aree1987pl.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.