[Suggestion] Have double-click on a macro’s icon open the Icon Chooser with the icon selected

I would find it very useful if double-clicking a macro’s icon would open up the icon chooser with the current icon — and in the case of a character icon, its properties — selected. There are two parts to this: open up the icon chooser if not already open and selecting the existing icon (and its properties).

Here is what I propose. There are three cases. The purpose of the suggested implementation is really for the third case, but it would be convenient for the second also.

  1. No (default) icon or user-pasted icon
  • no-op — alert sound
  1. Internal or Applications icon
  • select the Internal Applications tab of the Icon Chooser
  • select the icon
  • ensure selected icon is scrolled into view
  1. Character ion
  • select the Character icon tab of the Icon Chooser
  • select the double-clicked icon’s character
  • set the shape to that of the double-clicked icon
  • set the foreground and background colors to that of the double-clicked icon
  • set the horizontal and vertical positions to that of the double-clicked icon
  • set the size to that of the double-clicked icon

Opening the Icon Chooser the way it is currently done could mean “don’t select the double-clicked icon”.

One of the reasons to select the current Internal icon is that related icons are sometimes near the existing one in the chooser.

Case 3 is elaborate (see [Feature Request] Edit Macro Icon for a long discussion). I would find what I proposed above for selecting the character icon to be extremely useful for editing existing character icons. It would also solve problems I am having getting what KM is supposed to be doing to work, and I find what it is supposed to be doing to be awkward.

As would I but I do not believe the NSImageWell view has support for capturing double clicking. I will look in to it.

I'd like this also, if possible.

Ah, come on, just subclass it. (I realize this isn't exactly the same control, but it might work.) (And obviously I know this is low priority. Just sayin' :stuck_out_tongue:).

We had a quote going back to my uni days (which is a long time ago now)

It’s just code

1 Like