Page 1 of 1

CTB gone rogue

Posted: 12 Mar 2015 14:51
by aurumdigitus
On the toolbar one of the very first CTB's - it is ctb2 - put into action has gone rogue. Meaning that when right-clicked nothing happens. Therefore there is no Edit menu and am unable to make any changes or Clear it which it the ultimate goal.

How to fix :?:

Re: CTB gone rogue

Posted: 12 Mar 2015 14:55
by Stef123
Ctrl right-click it.

Re: CTB gone rogue

Posted: 12 Mar 2015 15:22
by aurumdigitus
Thank you Stef123, that was the solution. Access to Edit and Clear are back!

For the edification of myself and possibly others what has caused this anomalous behavior to occur?

Re: CTB gone rogue

Posted: 12 Mar 2015 15:31
by TheQwerty
You've probably enabled this tweak:

Code: Select all

; Tweak: no Click, Edit, Customize Toolbar
CTBNoRClickDefaultCommands=0
Though if the button had a right-click script defined and is now not running it that would be an entirely different issue.

Re: CTB gone rogue

Posted: 12 Mar 2015 16:43
by Marco
I remember that this behaviour started 2/3 weeks ago, and I didn't enable the tweak. I think it was some undocumented change.

Re: CTB gone rogue

Posted: 12 Mar 2015 16:50
by admin
Show the code of a button that does not work as it should, please.

Re: CTB gone rogue

Posted: 12 Mar 2015 17:02
by Marco
Nothing special, it calls a script containing some subscripts. Left click calls a specific one, right click shows a popupmenu. Before this "going rogue" thing, right clicking showed such popupmenu plus the Edit item at the end.
Immagine.png

Re: CTB gone rogue

Posted: 12 Mar 2015 17:06
by admin
The changes go back to this fix: http://www.xyplorer.com/xyfc/viewtopic. ... 01#p118601

IMO it's a good solution. If you want Edit hold CTRL

Re: CTB gone rogue

Posted: 12 Mar 2015 17:13
by Marco
admin wrote:IMO it's a good solution. If you want Edit hold CTRL
I agree. Only thing is, there was no mention of that in the changelog, which left me a lil baffled.

Re: CTB gone rogue

Posted: 12 Mar 2015 17:26
by admin
It only applies to

- scripts that start with "load" (or ::load)
- scripts that are single scripts (not multi scripts)
- if tweak CTBNoRClickDefaultCommands = 0