PDA

View Full Version : Hiding multiple windows after locking the screen



steveids
13 Mar 2012, 5:48 PM
Hi,
Under Ext I have a desktop with multiple windows. There is a lock function which basically should hide all windows and present a login screen. I got the login screen working just fine but I'm not sure what would be the smoothest way of hiding the desktop while it's locked. Obviously if you lock the desktop nothing should be legible or visible.

But when I lock the desktop it only dim the desktop and the windows somewhat, you can still read the content. There's probably a class called which sets opacity somewhere inside ext-all...

How do I change the opacity?

mitchellsimoens
14 Mar 2012, 10:01 AM
I would just get the components you want to hide and hide() them

steveids
14 Mar 2012, 12:51 PM
After looking closer at this I realized that hiding the whole Ext desktop is really what is needed. That way nothing is visible to anyone who should not see what is there once the user has locked it.

I guess I have to figure out what class the opacity is in and make a new one with my setting. Which in where one of the problems are - identifying classes in use in ext-all.

Which is silly easy as the Chrome debugger will give that! :)