Menu

#8 No captions

open
nobody
None
5
2005-01-06
2005-01-06
Anonymous
No

i compile idesk 0.6.1 in freebsd 5.3, and used my old
config file without captions and it kept crashing, and
i change:
on XIcon::mouseOverEffect
{
image->mouseOverEffect();
if (captionOn)
{
caption->mouseOverEffect();
}
}
and it worked, i dont know what problems that could bring.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    i forgot my mail is rene.delagarza@gmail.com

     
  • renealberto

    renealberto - 2005-01-06

    Logged In: YES
    user_id=1191841

    this is my account since i didnt have one before

     
  • FixXxeR

    FixXxeR - 2005-01-16

    Logged In: YES
    user_id=1073934

    Hi ..
    Please give me more info ...

    Which were your changes?

    or send me your .ideskrc file ....

    thanks ...

     
  • renealberto

    renealberto - 2005-01-16

    Logged In: YES
    user_id=1191841

    this is my .ideskrc
    table Config
    FontName: tahoma
    FontSize: 8
    FontColor: #ffffff
    Locked: false
    Transparency: 125
    Shadow: true
    ShadowColor: #000000
    ShadowX: 1
    ShadowY: 2
    Bold: false
    ClickDelay: 300
    IconSnap: true
    SnapWidth: 55
    SnapHeight: 100
    SnapOrigin: BottomRight
    SnapShadow: false
    SnapShadowTrans: 200
    CaptionOnHover: false
    CaptionTipOnHover: true
    CaptionTipPlacement: right
    CaptionPlacement: bottom
    end

    table Actions
    Lock: control right doubleClk
    Reload: middle doubleClk
    Drag: left hold
    EndDrag: left singleClk
    Execute[0]: left doubleClk
    Execute[1]: right doubleClk
    end

    and i modified xicon.cpp on the function XIcon::mouseOverEffect
    i only removed one line there and leave it like this:
    XIcon::mouseOverEffect
    {
    image->mouseOverEffect();
    if (captionOn)
    {
    caption->mouseOverEffect();
    }
    }
    there was a dynamic cast there and i think the prob was that
    the caption was null and that brings the exceptio, since i
    didnt have any caption in there, also i didnt find any side
    effects in removing it.
    its working now with and without captions.

    hope this helps

     
  • renealberto

    renealberto - 2005-01-16

    Logged In: YES
    user_id=1191841

    i forgot to say that it only crashed when i moved the mouse
    over an icon thats why i found that function.

     
  • renealberto

    renealberto - 2005-01-16

    Logged In: YES
    user_id=1191841

    i forgot to say that it only crashed when i moved the mouse
    over an icon thats why i found that function.

     

Log in to post a comment.