@hideblock doesn't work with @hideifpathr correctly

Directory Opus 13.4 Build 8838 x64
OS 10.0 (B:22621 P:2 T:1) SP 0.0

"Button outside Hide Group" and "Begin Hide" has same @hideifpathr rule. So the "Button outside Hide Group" and "Button in Hide Group" should show/hide at the same time. However, it doesn't.

image
image

Here's my configuration:

<?xml version="1.0"?>
<button backcol="none" display="label" label_pos="right" textcol="none">
	<label>Button outside Hide Group</label>
	<icon1>#newcommand</icon1>
	<function type="normal">
		<instruction>@hideifpathr:!^(I:\\Public|I:\\Downloads|I:\\Multimedia|L:\\Multimedia)(\\.*)?$</instruction>
	</function>
</button>
<?xml version="1.0"?>
<button backcol="none" display="label" label_pos="right" textcol="none">
	<label>Begin Hide</label>
	<function type="normal">
		<instruction>@hideifpathr:!^(I:\\Public|I:\\Downloads|I:\\Multimedia|L:\\Multimedia)(\\.*)?$</instruction>
		<instruction>@hideblock:begin</instruction>
	</function>
</button>
<?xml version="1.0"?>
<button backcol="none" display="label" label_pos="right" textcol="none">
	<label>Button in Hide Group</label>
	<icon1>#newcommand</icon1>
	<function type="normal">
		<instruction>CreateFolder &quot;-extra&quot;</instruction>
	</function>
</button>
<?xml version="1.0"?>
<button backcol="none" display="label" label_pos="right" textcol="none">
	<label>End Hide</label>
	<function type="normal">
		<instruction>@hideblock:end</instruction>
	</function>
</button>

Regarding why I do not have a DOpus 13 license: I have not been using Windows for some time now. On a new computer, I am currently trying out DOpus 13 (for about 30-60 days) to evaluate whether it is worth upgrading or if I should continue using DOpus 12. Is this okay?

I'm having some trouble here, as well. Unlike @orzfly, I'm just working with the standard wildcard match at the moment, and my hideblock looks like this:

@hideblock:begin
@hideifpath:!*\Packages\*\LocalState\Assets

The idea is to hide the buttons within this block if my source isn't pointed to a folder containing \Packages\and ending with \LocalState\Assets\.

Variations using @showifpath haven't gotten me any further.

Am I overlooking something obvious? :thinking:

Thanks for the report. This is fixed in 13.4.7.

1 Like

Dang! Thanks, @Jon!