TsButton misdrawn when not skinned.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #70208
    Alan Montgomery
    Participant

    We are seeing an issue when a TsButton’s Style is changed to bsSplitButton when not skinned.
    The button outline is drawn on the wrong colour and the content is mostly missing. There is something that might be the split button but no caption.
    Attached is a screen shot and a example project. The sample project has a skin provider but no skin manager.

    If you run the exe all appears as it should.
    If you click “Split” it converts to a normal button.
    If you click “Split” again then it goes back to being a split button but the style goes wrong.
    The odd thing is if you now click visible the style is corrected before the button is hidden. It also corrects if you press shift tab to move focus to the “Visible” check box or press the button.

    Attachments:
    You must be logged in to view attached files.
    #70211
    Alan Montgomery
    Participant

    It is drawing it as a command link.
    When I set breakpoints on the drawing code I only hit it for bsPushButton not for the other styles.

    #70213
    Support
    Keymaster

    Hello!
    This issue is solved in the v16.12
    Can you try a latest version of the package, plz?

    #70214
    Alan Montgomery
    Participant

    I have updated to 16.12 but it hasn’t had any effect.

    #70220
    Support
    Keymaster

    Hello!
    Try the v16.13, please.

    #70233
    Alan Montgomery
    Participant

    Updated to 16.13
    It is now drawn as expected most of the time.
    There is still an issue if the button is hidden, then changed to a split button and then shown.

    I am seeing a significant performance issue.
    I have an application. When I select an item in a tree view it builds a panel to show details based on properties of the associated object.
    In one example this produces a panel with 5 edit boxes, 4 check boxes 10 labels and 4 buttons.
    With 16.12 clicking on an item resulted in the form appearing immediately. There is a flicker as the previous panel disappears and is replaced.
    With 16.13 there is a blank view for 4 or 5 seconds before the new panel appears.

    In another case the panel has 3 edit boxes, 4 labels and 1 button and it is very much quicker but it is still a second or so.
    Note this application isn’t skinned but the control it uses to build the panel uses skinned components.

    #70234
    Support
    Keymaster

    Hello!
    Could you show a demo, please?

    #70235
    Alan Montgomery
    Participant

    Today the performance issue isn’t showing. I guess it was an issue with not having build the intermediate library.

    To see the issue with the button changing to split while hidden the existing demo above should show it if you recompile it.

    #70240
    Support
    Keymaster

    I see, this issue will be solved in the nearest release.

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