Fresh instance & CTB right-click

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Daniel0312
Posts: 241
Joined: 15 Feb 2016 10:48

Fresh instance & CTB right-click

Post by Daniel0312 »

Hi,
I'm not sure it qualifies as a bug, but it's not the expected behavior, or maybe I missed something.

Fresh instance
I set up a TB button as below.
Button config.png
Left-click works just fine.
Right-click not so well : below my script code...

Code: Select all

msg "Outside labels";

"Right Click Script Label"
  msg "Right click";

"Another Script Label"
  msg "Other script";
Here is what I get !
Right-click menu.png
Clicking on an item actually execute the script.
The original instance works as expected.
To see the attached files, you need to log into the forum.
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

admin
Site Admin
Posts: 66544
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Fresh instance & CTB right-click

Post by admin »

Your description is incomplete. There seem to be two different XYS files involved.

Daniel0312
Posts: 241
Joined: 15 Feb 2016 10:48

Re: Fresh instance & CTB right-click

Post by Daniel0312 »

Hi !
Not sure how incomplete my description was, but my searching of the forum surely was.

Code: Select all

; Tweak: no Click, Edit, Customize Toolbar commands in the CTB context menu
CTBNoRClickDefaultCommands=1
This solved my problem : it was definitely not a bug and I did miss something !
Thanks for your the time.
Daniel
XY32 latest stable / Windows11 23H2 / Scaling 100%

admin
Site Admin
Posts: 66544
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Fresh instance & CTB right-click

Post by admin »

Your screenshot showed two different XYS files, but you only specified the contents of one. I cannot replicate a problem with incomplete data. I thought. Well, I see now that the one XYS would have been enough. :oops:

Anyway, good that you found it. :tup:

Post Reply