Ghost Modifier Buttons

Describe the bug
I have set a set of touchbar buttons to appear when I hold option, but an additional button that should not show up, well it shows up.

I also have the same issue with the command button. No buttons are set to show on command, but two of the buttons decide they want to show themselves when command is held.

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.): TouchBar

Screenshots


I can't screenshot the option button because option is held, but the 'WidgetMode' button thats highlighted above shows.

Device information:

  • Type of Mac: MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
  • macOS version: 10.13.4
  • BetterTouchTool version: 2.605

Could you copy & paste the json of one of these buttons here?

View JSON for 'WidgetMode' button (shows on option)
{
  "BTTTouchBarButtonName" : "WidgetMode",
  "BTTTriggerType" : 629,
  "BTTTriggerClass" : "BTTTriggerTypeTouchBar",
  "BTTPredefinedActionType" : 191,
  "BTTPredefinedActionName" : "Close currently open Touch Bar group",
  "BTTEnabled2" : 1,
  "BTTUUID" : "7D810F9B-075B-43EE-AD65-671BAD47AFC8",
  "BTTEnabled" : 1,
  "BTTOrder" : 1,
  "BTTIconData" : "iVBORw0KGgoAAAANSUhEUgAAAJgAAACYCAYAAAAYwiAhAAABYWlDQ1BrQ0dDb2xvclNwYWNlRGlzcGxheVAzAAAokWNgYFJJLCjIYWFgYMjNKykKcndSiIiMUmB_yMAOhLwMYgwKicnFBY4BAT5AJQwwGhV8u8bACKIv64LMOiU1tUm1XsDXYqbw1YuvRJsw1aMArpTU4mQg_QeIU5MLikoYGBhTgGzl8pICELsDyBYpAjoKyJ4DYqdD2BtA7CQI+whYTUiQM5B9A8hWSM5IBJrB+API1klCEk9HYkPtBQFul8zigpzESoUAYwKuJQOUpFaUgGjn_ILKosz0jBIFR2AopSp45iXr6SgYGRiaMzCAwhyi+nMgOCwZxc4gxJrvMzDY7v____9uhJjXfgaGjUCdXDsRYhoWDAyC3AwMJ3YWJBYlgoWYgZgpLY2B4dNyBgbeSAYG4QtAPdHFacZGYHlGHicGBtZ7__9_VmNgYJ_MwPB3wv__vxf9__93MVDzH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+Ctu17q7+U3Aa+gyHKV129Q_9Lf2c9fkd47irf2k+8bdZd1OpHvVc6WlvSactTvYpx+anbZXh+zhpxix9azWuN9XcEhrCddM5UWm1iYYTQxdpPka7cG33lrY55Mbmpy1vgM0rceg4CyozKW3Dsfs8t3Pjb595U2Naf1NjDm1v9zzXh7mn5Lakdu0+j+Hczr3E7ypO29wg9fFdga5AV6Ar0BXoCnQFugJdga5AV6Ar0BXoCnQFugJdga5AV6Ar0BXoCnQFugJXosD_A9c+SZfuHEtQAAAAAElFTkSuQmCC",
  "BTTTriggerConfig" : {
    "BTTTouchBarAlternateBackgroundColor" : "0.000000, 0.000000, 0.000000, 0.000000",
    "BTTTouchBarFreeSpaceAfterButton" : 1,
    "BTTTouchBarButtonCornerRadius" : 6,
    "BTTTouchBarApplyCornerRadiusTo" : 1,
    "BTTTouchBarButtonName" : "WidgetMode",
    "BTTTouchBarItemPlacement" : 1,
    "BTTTouchBarButtonColor" : "59.000000, 59.000000, 59.000000, 255.000000",
    "BTTTouchBarItemIconWidth" : 22,
    "BTTTouchBarOnlyShowIcon" : true,
    "BTTTouchBarItemPadding" : 0,
    "BTTTouchBarItemIconHeight" : 22
  }
}

They don't show up if I hide them, so it must be them and not something else

bump: inactivity and unsolved

are you using anything other than the touchbar to control the touchbar.

well first of all try to determine which modifiers are being held. you can do that with an onscreen keyboard. just visually seee which keys are pressed. but based on your screenshot widget mode closes a group. is that a group within the group? because you have a ton of variables that trigger different behaviors. the touchbar already listens for almost everything because its app specific. so the possibilites of things conflicting is endless. do you have a toggle for it other than on the touchbar itself? assign the toggle feature to another action as additional actions. so when you use that action it will auto cycle the touchbar and refrewsh it.

1 Like

It would be very helpful to have a small preset that can reproduce the issue. Are you able to reproduce this reliably @yuuiko ?

1 Like

Did not think of reproduction.

It seemsot pick any button seemingly at random, Any modifier or combination of modifiers.

Right nownin my large AQT preset, there are four buttons that do this

Switch Game Mode (set to appear only within a group AND when option is held, but appears everywhere when command is held)

Toggle Internet Sharing (same as above)

Widget View switch (when holding option, it appears. This is not normally set to appear on modifier, it is always shown but should dosappear on modifier)

(new) Spotify widget. (not tested)

I suspect this is the cause of conditional activation groups, but yeh, I’ll see what I can find.

Also, Good Morning from here!

@Andreas_Hegenberg

From my observations so far I've found that buttons set to show on one modifier show on all modifiers when within a button group. Adding to this, they add to the non-modifier buttons instead of blanking them out and replacing them.

I can't reproduce that Widget Mode button though. That one is bizzare.

Reproduced:
Ghost Modifier Test.bttpreset (9.9 KB)

Initial Error Occurence (and still un-reproduced widget mode button):
Aqua-Touch_v2-1-0-L926.bttpreset (13.6 MB)
(Import > Setup > Click Desktop > Open BTT TouchBar > Switch to Apps View (in TouchBar, button on left) > Test modifiers > Study preset "QuickLauncher" in BTT)

@koujohn

No, There are no external factors controlling the Widget Mode button.
It is also not inside a group.

The switch (comprised of two buttons) simply opens and closes the 'QuickLaunchMode' group.
The role of the buttons change between no action and open/close group by having a copy within the group and one outside the group which do different things (nothing or open/close)

Basically, It's not meant to appear on modifier at all, and it's just meant to appear when it's corresponding group is showing. It's a very simple button. Nothing effects it but it is being affected.

i think i know what your problem could be. i was trying to have it indicate when a modifier was clicked. so i downloaded your preset and am trying it. preferences says touchbar is currently hidden. clicking that goes back to slide to get started. none of the modifiers changes anything. im on 10.13.6 . and im on a macpro trashcan. im using touche and a multitouch lcd for the touchbar.

itried using the autosetupand i went over it and matched everything myself. it still shows app speciffc macos toobars .i deleted all presets and loaded yours .

What was the problem, @koujohn? And uh, i’m kind of confused as to what you where trying to achieve. Could you please reprhase?

The “Your Custom TouchBar is currently hidden” button seems to be @Andreas_Hegenberg’s (quite unstable) take of a preview so you can see what you’re editing. The bug has occured before that button came into existence.

Did you follow the reproduction instructions specifically?

My preset is a dynamic app-based one so you need to click the desktop THEN bring up the BTT bar for the problem view to show up. Once in this “Widget View”, click the “apps icon” on the left and play with the modifiers.

(there IS another issue where app-specific “show modes” don’t come across when importing/exporting presets That’s in another post.)

Nothing should happen on this apps view unless it’s option, and only these should show up on option:

  • AquaTouch Info (no background with blue text)
  • Toggle Internet Sharing (grey, white text)
  • Switch to Game Mode (pink, white text)

I’ve found out why the other buttons show up:
If a button is set to show on modifier within a group, it shows on all modifiers as well. See explanation in my previous reply.

The mystery problem is that half of the Switch that gets you back to widget mode appears on option even though it is not set to in any way.

p.s. That DIY touchbar seems like an awesome hack! I’m curious to have a look if you don’t mind. But it’s just for my entertainment so you don’t need to.