Hidden tab bar - No switch tabs events are firing

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
highend
Posts: 14993
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Hidden tab bar - No switch tabs events are firing

Post by highend »

If the tab bar is hidden and you create a new tab, the "Switch tabs" custom event action is not triggered

Ofc it's debatable if this is by design or a bug but if this is intended please add a tweak to allow this kind of behavior
One of my scripts helped you out? Please donate via Paypal

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

Re: Hidden tab bar - No switch tabs events are firing

Post by admin »

It seems like the "Switch tabs" custom event action is never triggered when you create a new tab, regardless of the tab bar visibility.

highend
Posts: 14993
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Hidden tab bar - No switch tabs events are firing

Post by highend »

Uh, yeah, seems so.

Maybe we need an event for "Tab created" (in that case it wouldn't matter if it's a tab you're directly switching to or a background tab).
"Tab destroyed" would probably a good companion in that case
One of my scripts helped you out? Please donate via Paypal

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

Re: Hidden tab bar - No switch tabs events are firing

Post by admin »

Maybe. Currently I'm not adding new events. The CEA feature didn't get much echo on the street.

highend
Posts: 14993
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Hidden tab bar - No switch tabs events are firing

Post by highend »

I'm "promoting" it whenever I can^^

Can you then add least add the trigger for "switch tabs" when a new tab is created ((at least) for non-backgrounded tabs)?

Otherwise e.g. this: viewtopic.php?f=5&t=6170
stays impossible...
One of my scripts helped you out? Please donate via Paypal

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

Re: Hidden tab bar - No switch tabs events are firing

Post by admin »

Sure, that's almost a bug fix.

Post Reply