TsFloatButtons do not show stable hot state

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #37878
    HeDiBo
    Participant

    In the accompanying project there are two buttons, one TsSpeedButton and one TacFloatBtn:

    [attachment=8805:acHotTest.zip]

    Both use the same TsCharImageList, containing a power off picture in default and in green color.

    When the mouse hovers over the TsSpeedButton, the icon becomes green steadily.

    When the mouse hovers over the TacFloatBtn, the icon starts to flicker between black and green. It looks like it only becomes green when the mouse is on a colored pixel, not when it is on the surrounding (invisible) button.

    #58100
    Support
    Keymaster

    Thank you for the demo.

    FloatButton is fully transparent there (for mouse too), except of glyph pixels.

    #58103
    HeDiBo
    Participant
    'Support' wrote:

    Thank you for the demo.

    FloatButton is fully transparent there (for mouse too), except of glyph pixels.

    That means it cannot be clicked reliably. That cannot be the way it's meant.

    #58105
    Support
    Keymaster

    Yes, this button should not be transparent in your case.

    Transparent mode may be used for showing of images where transparent pixels are transparent for mouse (not rectangle region).

    If all pixels are not transparent for mouse then control will be pressed if you click on transparent corner pixels, it will looks weird, I think.

    #58108
    HeDiBo
    Participant
    'Support' wrote:

    Yes, this button should not be transparent in your case.

    Transparent mode may be used for showing of images where transparent pixels are transparent for mouse (not rectangle region).

    If all pixels are not transparent for mouse then control will be pressed if you click on transparent corner pixels, it will looks weird, I think.

    You're giving a technical response. None of my users will understand that. As it is now, I don't think it can get any weirder 💥

    #58111
    Support
    Keymaster

    I can add an additional property which will disable transparency of pixels for mouse, but don't know how to name it.

    #58114
    HeDiBo
    Participant
    'Support' wrote:

    I can add an additional property which will disable transparency of pixels for mouse, but don't know how to name it.

    MouseSensitive? (Values High or Low maybe)

    #58119
    Support
    Keymaster
    'HeDiBo' wrote:

    MouseSensitive? (Values High or Low maybe)

    Not very speaking name, I think. Because button is mousesensitive always (if enabled).

    Maybe AllowMouseTransparency is better..

    #58096
    HeDiBo
    Participant
    'Support' wrote:

    Not very speaking name, I think. Because button is mousesensitive always (if enabled).

    Maybe AllowMouseTransparency is better..

    I specifically said High and Low. Because with transparent pixels not hittable, sensitivity is Low (not absent, just lower than high sensitivity). So button is mouse sensitive always, just in different degrees.

    #58170
    HeDiBo
    Participant

    No change in AC 13.17 huh.gif

    #58180
    Support
    Keymaster

    Sorry, this feature will be added later.

    #58247
    HeDiBo
    Participant
    'HeDiBo' wrote:

    I specifically said High and Low. Because with transparent pixels not hittable, sensitivity is Low (not absent, just lower than high sensitivity). So button is mouse sensitive always, just in different degrees.

    It works. It is sufficient for my needs.

    I think the property name is very silly (AllowMouseTransparency means that the mouse itself can be transparent).

    Why did you not decide for MouseSensitivity being a [Low, High] selection. Believe me, that's much more descriptive.

    I looked for the property in the TsFloatButton, but didn't find it. Why did you decide to give the whole group this property. It seems more related to individual buttons, isn't it?

    But, again it works very well. a3.gif

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.