<get Dimensions> behaves not perfectly with |s| modifier

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
Evolve
Posts: 354
Joined: 27 Feb 2020 09:48

<get Dimensions> behaves not perfectly with |s| modifier

Post by Evolve »

Not sure if it's a bug but FYI |s|<get Dimensions> doesn't work the way I expect.
It shows the dimensions for the focused file even if it's currently not selected
8f2XqpiNDE.gif
Unlike what I used previously (and ended up continuing to use because of this), i.e.

Code: Select all

|s|<prop #image.dimensions '               [*]'><prop System.Video.FrameWidth '               [*'> <prop System.Video.FrameHeight 'x *]'>
Which only shows the dimension for the focused item when it's currently selected.
IpTr7Nvvtb.gif
BTW this "safety mechanism" for spaces is extremely annoying! In order to have 4 spaces I have to put don't even know how many in my template which looks ugly and it's just 1/3 of it here. Can you get rid of it completely or at least introduce some modifier (|u| for "unsafe") to disable it for those who are willing to take their chances managing spaces on their own?
SafetyGoneWrong.jpg
PS
And one more thing, when I click on the file, the Status Bar sometimes, before applying the template, for some dozens or hundreds of milliseconds shows the file name
MFiAe2NxEW.gif
To see the attached files, you need to log into the forum.

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

Re: <get Dimensions> behaves not perfectly with |s| modifier

Post by admin »

Next beta should be a bit better.

Evolve
Posts: 354
Joined: 27 Feb 2020 09:48

Re: <get Dimensions> behaves not perfectly with |s| modifier

Post by Evolve »

Evolve wrote: 24 Aug 2022 18:06 Can you introduce some modifier (|u| for "unsafe") to disable it
Actually, there is a simpler solution: just don't apply this "space reduction" mechanism to the first 4 (n) spaces in a row.

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

Re: <get Dimensions> behaves not perfectly with |s| modifier

Post by admin »

Well, I never really liked it anyway. That's the kind of patronizing smartness I usually loathe.

Evolve
Posts: 354
Joined: 27 Feb 2020 09:48

Re: <get Dimensions> behaves not perfectly with |s| modifier

Post by Evolve »

admin wrote: 25 Aug 2022 11:13 Next beta should be a bit better.
It is a lot better! All three issues are fixed :appl:

Post Reply