<curfolder> in title actually shows previous folder

Things you’d like to miss in the future...
Post Reply
terrytw
Posts: 65
Joined: 03 Mar 2023 03:37

<curfolder> in title actually shows previous folder

Post by terrytw »

Hi I found that you can customize the title, it was <path> <app> <ver>
Now I changed it to <curfolder> <app> <ver>.
But it always shows the previous folder instead of current folder....

Version 24.20.0104
Windows 11 22H2 zh-cn

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

Re: <curfolder> in title actually shows previous folder

Post by admin »

Indeed. These variables were not meant to work in that context originally. But I think I could make them work now. Next beta...

jupe
Posts: 2757
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: <curfolder> in title actually shows previous folder

Post by jupe »

You should have used <folder> anyway for the titlebar.

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

Re: <curfolder> in title actually shows previous folder

Post by admin »

Gosh, you're right.

The topic of this thread is even explicitly mentioned in the Help:
And most other XYplorer native variables, e.g. <date>, <xydrive>, <get pane>, <get userrole> etc., but not e.g. <curfolder> (which in this context will always show the previous folder).
In that case I will remove that "fix". Less is more.

No, I'll leave the fix and update the Help. <curfolder> works much better with VFOs.

terrytw
Posts: 65
Joined: 03 Mar 2023 03:37

Re: <curfolder> in title actually shows previous folder

Post by terrytw »

Sorry next time I will check help file first...

Post Reply