Logon Studio XP Problem

Usernames Unreadable

Friday, July 25, 2008 by Spectre7 | Discussion: Stardock Support General

Hey i'm create a logon screen for xp using Logon Studio XP and the usernames are unreadable unless you mouse over them.
Here's an image of them:
http://img501.imageshack.us/my.php?image=logonrs8.jpg
Sorry its a bit dark but you can see in the last two it appears to be writing the other usernames over eachother.
I've edited the UIFILE.txt a bit so the problem might be there :
I've cut out the bits where i dont think the problem is and im sorry for the long post lol, any help would be greatly appreciated.

/*
    UIFILE Generated by LogonStudio
        v1.2.2
    www.LogonStudio.net
*/

<style resid=hotaccountlistss>
    element
    {
        background: argb(0,0,0,0);
        fontface: rcstr(3);
    }
    selector
    {
        padding: rect(0,0,0,0);
    }
    logonaccount
    {
        cursor: hand;
        foreground: argb(0,239,153,102);
        background: argb(0,255,255,255);// rgb(48,70,179);
    //animation: /*LogonAnimation1*/ alpha | log | fast;
        alpha:30; // mouse within
    }
    logonaccount [logonstate=1]
    {
        //animation: /*LogonAnimation2*/ rectangle | s | mediumfast;
        cursor: arrow;
        alpha:255; //????
    }
    logonaccount [mousewithin]
    {
        cursor: hand;
        alpha:255; //MouseOver
    }
    logonaccount [selected]
    {
        cursor: hand;
        alpha:255; //Selected
    }
    element [id=atom(userpane)]
    {
        padding: rect(0,0,0,0);
        borderthickness: rect(0,0,0,0);
        bordercolor: argb(0,255,255,255);// rgb(48,70,179);
        foreground: argb(0,255,255,255);
    fontsize: 8 pt;
    fontface: "arial";

        /*fontsize: rcint(45) pt;*/
    }
    element [id=atom(userpane)][selected]
    {
      background: argb(0,255,255,255);
    }
    element [id=atom(pictureframe)]
    {
        //background: rcbmp(113,6,255,0,0,1,0);
        borderthickness: rect(0,0,0,0);
        margin: rect(0,0,0,0);
    }
    element [id=atom(pictureframe)] [mousefocused]
    {
        //background: rcbmp(119,6,255,0,0,1,0);
        borderthickness: rect(0,0,0,0);
        margin: rect(0,0,0,0);
        alpha: 255;
    }
    element [id=atom(pictureframe)] [selected]
    {
        //background: rcbmp(119,6,255,0,0,1,0);
        borderthickness: rect(0,0,0,0);
        margin: rect(0,0,0,0);
        alpha: 255;
    }
    element [id=atom(username)]
    {
        foreground: argb(0,255,255,255);
        contentalign: wrapleft;//endellipsis;
    }
    button [class="status"]
    {
        background: argb(0,0,0,0);
        foreground: rgb(255,255,255);
    fontsize: 10 pt;
    fontface: "tahoma";

        /*foreground: rgb(255,245,104);
        fontsize: rcint(46) pt;
        fontweight: bold;*/
    }
    button [class="status"][mousefocused]
    {
        fontstyle: underline;
    }
    button [class="status"][keyfocused]
    {
        fontstyle: underline;
    }
    button [class="status"][selected]
    {
        foreground: argb(0,239,247,255);
        foreground: argb(0,255,255,255);
    fontsize: 10 pt;
    fontface: "tahoma";

        /*fontsize: rcint(46) pt;
        fontweight: bold;*/
    }

</style>

<style resid=accountlistss>
    element
    {
        background: argb(0,0,0,0);
        fontface: rcstr(3);
    }
    selector
    {
        padding: rect(0,0,0,0);
    }
    logonaccount
    {
        cursor: hand;
        background: argb(0,255,255,255);// rgb(48,70,179);
        alpha:30;
    }
    logonaccount [logonstate=1]
    {
        //animation: rectangle | s | mediumfast;
        cursor: arrow;
    }
    element [id=atom(userpane)]
    {
        padding: rect(0,0,0,0);
        borderthickness: rect(0,0,0,0);
        bordercolor:argb(0,255,255,255);// rgb(48,70,179);
        foreground: argb(0,255,255,255);
    fontsize: 8 pt;
    fontface: "arial";

        /*fontsize: rcint(45) pt;*/
    }
    element [id=atom(userpane)][selected]
    {
        background: rcbmp(112,6,#FF00FF,0,0,1,0);
    }
    element [id=atom(pictureframe)]
    {
        //background: rcbmp(113,6,255,0,0,1,0);
        borderthickness: rect(0,0,0,0);
        margin: rect(0,0,0,0);
    }
    element [id=atom(username)]
    {
        foreground: argb(0,255,255,255);
        contentalign: wrapleft;//endellipsis;
    }
    button [class="status"]
    {
        background: argb(0,0,0,0);
        foreground: rgb(255,245,104);
        fontsize: rcint(46) pt;
        fontweight: bold;
        contentalign: wrapleft;
    }
    button [class="status"][mousefocused]
    {
        fontstyle: underline;
    }
    button [class="status"][keyfocused]
    {
        fontstyle: underline;
    }
    button [class="status"][selected]
    {
        foreground: rgb(239,247,255);
        fontsize: rcint(46) pt;
        fontweight: bold;
    }

</style>

<style resid=passwordpaness>
    element
    {
        background: argb(0,0,0,0);
    }
    element [id=atom(passwordpanelayer)]
    {
        padding: rect(71rp,0,0,0);
    }
    element [id=atom(instruct)]
    {
        foreground: rgb(255,255,255);
    fontsize: 9 pt;
    fontface: "tahoma";

        padding: rect(3rp,0,0,3rp);
    }
    edit [id=atom(password)]
    {
        background: rcbmp(102,6,#FF00FF,0,0,1,0);
        borderthickness: rect(3,3,5,5);
        passwordcharacter: 9679;
        fontface: "arial";
        fontsize: 16pt;
    }
    button [id=atom(go)]
    {
        margin: rect(5rp,0,0,0);
        content: rcbmp(103,3,-1,24rp,24rp,0,0);
        padding: rect(0rp,1rp,0,1rp);
    }
    button [id=atom(go)][keyfocused]
    {
        content: rcbmp(104,3,-1,26rp,26rp,0,0);
    }
    button [id=atom(info)]
    {
        margin: rect(5rp,0,0,0);
        content: rcbmp(105,3,-1,28rp,28rp,0,0);
    }
    button [id=atom(info)][keyfocused]
    {
        content: rcbmp(106,3,-1,28rp,28rp,0,0);
    }
    element [id=atom(keyboard)]
    {
        cursor: arrow;
        margin: rect(5rp,0,0,0);
    }
</style>

<logonframe resid=main id=atom(frame) sheet=styleref(framess) layout=borderlayout() layoutpos=client>

    /*<element id=atom(toppanel) sheet=styleref(toppanelss) layout=borderlayout() layoutpos=top height=80rp>
        <element id=atom(divider) layoutpos=bottom height=2rp/>
    </element>*/
   
    /*TopPanel*/
 
   <element id=atom(ccontainer) layout=filllayout() layoutpos=client>
    <element id=atom(contentcontainer) layout=borderlayout() layoutpos=client >
    <element id=atom(bottompanel) sheet=styleref(bottompanelss) layout=borderlayout() layoutpos=bottom height=0rp >
        /*BottomDivider*/
        <element id=atom(options) layout=borderlayout() layoutpos=client>
            <element layout=borderlayout() layoutpos=left>
                <button id=atom(power) layout=borderlayout() layoutpos=top accessible=true accRole=43 accName=rcstr(11)>
                    <element layoutpos=left content=rcbmp(107,3,-1,26rp,26rp,0,0) />
                    <element id=atom(label) layoutpos=client margin=rect(0,0,0,0)/>
                </button>
                <button id=atom(undock) layout=borderlayout() layoutpos=top margin=rect(0,0,0,0) accessible=true accRole=43 accName=rcstr(14)>
                    <element layoutpos=left content=rcbmp(108,3,-1,26rp,26rp,0,0)/>
                    <element id=atom(label) layoutpos=client margin=rect(0,0,0,0)/>
                </button>
            </element>
            <element id=atom(instruct) layoutpos=right content=rcstr(25) width=325rp/>
        </element>
    </element>

    <element id=atom(contentcontainer0) layout=filllayout() layoutpos=client /*BackPicture2*/ >
   
    /*CenterDivider*/
   
    <element id=atom(ContentContainerLeftPanel) layout=filllayout() layoutpos=left>
        <element id=atom(ContentContainerLeftPanel2) layout=flowlayout(1,3,2,3) layoutpos=client>
                <element id=atom(leftpanel) sheet=styleref(leftpanelss) layout=filllayout() layoutpos=left>
                    <element id=atom(logoarea) layout=verticalflowlayout(0,3,3,2)>
                        /*Logo*/
                        <element id=atom(help) contentalign=wrapright width=0rp padding=rect(0rp,0rp,0rp,0rp)/>
                    </element>
                    <element id=atom(msgarea) layout=verticalflowlayout(0,0,0,2) >
                        <element layout=filllayout() width=0rp>
                            <element id=atom(welcomeshadow) content=rcstr(7)/>
                            <element id=atom(welcome) content=rcstr(7)/>
                        </element>
                    </element>
                </element>
         </element>
     </element>
   
        <element id=atom(ContentContainerAccounts) layout=filllayout() layoutpos=right>
        <element id=atom(ContentContainerAccounts2) layout=flowlayout(1,3,2,3) layoutpos=bottom width=85>
            <element id=atom(rightpanel) sheet=styleref(rightpanelss) layout=borderlayout() layoutpos=client width=384rp>
                <scrollviewer id=atom(scroller) sheet=styleref(scroller) layoutpos=client xscrollable=false margin=rect(0,0,0,0)>
                    <selector id=atom(accountlist) sheet=styleref(accountlistss) layout=verticalflowlayout(0,3,3,2)/>
                </scrollviewer>
            </element>           
        </element>
        </element>
   
    </element>
  </element>
</element>
</logonframe>

<logonaccount resid=accountitem id=atom(accountitem) layout=filllayout() accessible=true accRole=43>
    <element id=atom(userpanelayer) layout=borderlayout() height=80rp>
        <element id=atom(userpane) layout=borderlayout() layoutpos=top height=80rp>
            <element id=atom(pictureframe0) layout=verticalflowlayout(0,2,2) layoutpos=left>
            <element id=atom(pictureframe) layout=flowlayout(0,2,2) layoutpos=top width=58rp height=58rp>
               <element id=atom(picture) />
            </element>
            </element>
            <element id=atom(username) layoutpos=top/>
            <button id=atom(status0) class="status" layoutpos=none/>
            <button id=atom(status1) class="status" layoutpos=none/>
        </element>
    </element>
</logonaccount>






<element resid=passwordpanel id=atom(passwordpanelayer) sheet=styleref(passwordpaness) layout=borderlayout() height=80rp>
    <element layout=borderlayout() layoutpos=bottom>
        <edit id=atom(password) layoutpos=left width=163rp/>
        <element id=atom(keyboard) layoutpos=left/>
        <button id=atom(go) layoutpos=left accessible=true accRole=43 accName= rcstr(100)/>
        <button id=atom(info) layoutpos=left accessible=true accRole=43 accName= rcstr(13)/>
    </element>
    <element id=atom(instruct) layoutpos=bottom content=rcstr(6)/>
</element>
 
 
TY in Advanced

Cavan1
Reply #1 Friday, July 25, 2008 9:32 PM
Sorry its a bit dark but you can see in the last two it appears to be writing the other usernames over eachother.


Can't tell anything from the image from your link, it is just completely black. Apply the logon, hit the print screen button on keyboard, paste into graphics app and post the complete image, actually maybe 2 images, one with out mouse over when unreadable and one with an account selected and mouse over on another.
Cavan1
Reply #2 Friday, July 25, 2008 9:36 PM
Once uploaded to imageshack use the direct link to post them here, click the insert image icon on reply toolbar, the one that is mountains with the sun over them.
Spectre7
Reply #3 Saturday, July 26, 2008 12:51 AM
Thanks Cavan1 for your quick response.
I wont post the whole image because it would be far too big as my resolution is 1920x1200.
I also lightened both images to make them easier too see.
Unselected:

Selected:



The Users are Ben, Ian and Trudi and it looks to me like its drawing all the usernames on each one.
Thanks for your help
Cavan1
Reply #4 Saturday, July 26, 2008 9:45 AM
it looks to me like its drawing all the usernames on each one.


Yes it does.

I've edited the UIFILE.txt a bit so the problem might be there :


Open the logon in LogonStudio editor, make a simple change, say background color for user accounts, save chnages, this will overwrite the UIFILE to standard, undoing the changes you made to it. This should fix it. Then start again editing the UIFILE, one change at a time, after save change to UIFILE, apply logon from LogonStudio config. This way if the problem happens again you will know what caused it by having done one edit at a time.

Edit: was just taking another look at the UIFILE you posted, you have for colors used argb when standard is rgb, did not check all but the ones I did see already have a alpha setting for that section, no need to have it in the color as well. Don't know if this has caused the issue but it could be the problem. As example, the foreground background colors for the logonaccount, the alpha for this is set in editor, as you have for mouse within, default is 96, you have it at 30, so no need for alpha in the color code.
Spectre7
Reply #5 Saturday, July 26, 2008 8:39 PM
Ok, Thank You so much for your help lol i have fixed the problem.

Whenever i set the background alpha to 0 under logonaccount it would screw up the names so i set it to 0 under [mousewithin] instead and that solved the problem.


logonaccount
{
cursor: hand;
foreground: rgb(239,153,102);
background: rgb(0,0,0); <---------
alpha:30; // mouse within
}

logonaccount [mousewithin]
{
cursor: hand;
background: argb(0,0,0,0); <------
alpha:255; //MouseOver
}

Thanks Again
Spectre7
Reply #6 Sunday, July 27, 2008 4:22 AM
Hey you dont happen to know how to change the colour of the password box do you, or even make it transparent, and why isnt there and documentation on this, its annoying having to ask on forums every time i get stuck when a help file would've been easier.
Anyway enough of my ranting.
Ty again
Cavan1
Reply #7 Sunday, July 27, 2008 10:42 AM
The password box is a image, Bitmap_102 in the logon folder, in order to mke it transparent you need to use a true 32 bit bitmap with alpha channel. This can be done with PhotoShop. I use AlphaConv, with it I make a png in Paint shop pro, at the trans I want then use it to convert to a 32 bit bitmap. It is made by one of the Stardock guys and is in the forums somewhere, I will see if I can link a link for you.

With a 32 bit bitmap you will also need to edit the UIFILE for bitmap_102.
from
edit [id=atom(password)]
{
background: rcbmp(102,6,#FF00FF,0,0,1,0);
to
edit [id=atom(password)]
{
background: rcbmp(102,7,#FF00FF,0,0,1,0);

7 = 32 bit bitmap.
Cavan1
Reply #8 Sunday, July 27, 2008 10:46 AM
AlphaConv WWW Link

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01