Skip to content

Incorrect tooltip in Customize window #76

@brinkdinges

Description

@brinkdinges

Every now and then, I open the Customize window and see a Drew or Lightning icon where I don't expect it. We talked about it in #67, but I wanted to give this issue its own topic. @LiuNing0306 also ran into the issue.

An old image:
Image

Today:
Image

I've been debugging it and found out the following:

  • The Shortcut Bars tab only shows flyouts. Drew has four, which are shown correctly. But there is one extra, our Drew icon. Correct flyouts in green, extra one in red. It uses the main icon path for your toolbar/tab:
Image
  • If I remove one flyout, its correct icon disappears. If I remove all flyouts, all correct buttons disappear and only the Drew icon stays.
  • If I remove our toolbar (comment out CommandManager.CreateCommandTab), the Drew icon does not appear.
  • Changing the ID of the command tab does not make the icon move or disappear.
  • Changing the ID of a flyout (we start at 1000 and count up) to a random integer, the tooltip text or the location of the icon does not change.
  • If I actually drag the Drew icon onto a toolbar, all the correct icons and buttons appear. So it seems like this is a correct link to our add-in or toolbar. Just with an incorrect caption.
Image

This makes me think that only the tooltip is incorrect, that the button is supposed to be there, and that this is a solidworks bug. I'll create a bug report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions