Title bar formatting ({directory}) bugs

Bugs which are supposed to be fixed in the next test version (not available yet)

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
golemus
Posts: 86
Joined: Mon Dec 23, 2024 8:35 am

Title bar formatting ({directory}) bugs

Post by golemus »

There is some bugs with Title bar formatting.

If you put {Directory} to it and anything else it seems to ignore everything else than the directory. But it does not always ignore them. Sometimes shows but when you change folder or do anything in UI suddently everything else than directory disappears from title bar.

My objective is to get the directory more visible. I would want XnView MP text in the right very far from it. First I just tried to insert spaces but they didnt work. After that I tried dashes, didn't work either, underlines didnt work.

Optimal would be if you could align XnView MP text to right so it would be then as far away as your info as possible. But that is not a bug but a feature request and maybe more work to implement than fix those bugs so that you could move the text far away with spaces or dashes.

I would also want spaces to left side of directory between it and the logo.
Screenshot 2025-06-30 095039.png
Screenshot 2025-06-30 095039.png (9.87 KiB) Viewed 112 times
golemus
Posts: 86
Joined: Mon Dec 23, 2024 8:35 am

Re: Title bar formatting ({directory}) bugs

Post by golemus »

Below you see what I would like to do optimally:
better-title-bar.png
better-title-bar.png (47.81 KiB) Viewed 110 times


And here you see how it is now:
Screenshot 2025-06-30 101242.png
Screenshot 2025-06-30 101242.png (49.22 KiB) Viewed 110 times
User avatar
user0
XnThusiast
Posts: 2443
Joined: Sat May 09, 2015 9:37 am

Re: Title bar formatting ({directory}) bugs

Post by user0 »

golemus wrote: Mon Jun 30, 2025 7:00 am If you put {Directory} to it and anything else it seems to ignore everything else than the directory. But it does not always ignore them. Sometimes shows but when you change folder or do anything in UI suddently everything else than directory disappears from title bar.
I can reproduce
any custom tag resets to {Directory} on folder change

golemus wrote: Mon Jun 30, 2025 7:00 am I would also want spaces to left side of directory between it and the logo.
put . in front of spaces
golemus
Posts: 86
Joined: Mon Dec 23, 2024 8:35 am

Re: Title bar formatting ({directory}) bugs

Post by golemus »

Whenever this is fixed it would be cool to have new formatting code something like {spacesonlyintitle}

{spacesonlyintitle[5]} would make 5 empty spaces that come to window title but do NOT come titles elsewhere like windows taskbar or task viewer. In taskbar the spaces are counterproductive and makes you see a title only with empty spaces.
User avatar
xnview
Author of XnView
Posts: 46362
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Title bar formatting ({directory}) bugs

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
Post Reply