Page 1 of 1

Title bar formatting ({directory}) bugs

Posted: Mon Jun 30, 2025 7:00 am
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 377 times

Re: Title bar formatting ({directory}) bugs

Posted: Mon Jun 30, 2025 7:25 am
by golemus
Below you see what I would like to do optimally:
better-title-bar.png
better-title-bar.png (47.81 KiB) Viewed 375 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 375 times

Re: Title bar formatting ({directory}) bugs

Posted: Mon Jun 30, 2025 10:27 am
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

Re: Title bar formatting ({directory}) bugs

Posted: Mon Jun 30, 2025 9:28 pm
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.

Re: Title bar formatting ({directory}) bugs

Posted: Mon Jul 07, 2025 2:43 pm
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: Title bar formatting ({directory}) bugs

Posted: Mon Aug 11, 2025 6:08 am
by xnview
This problem is supposed to be fixed in XnView MP 1.9.3. Please check and confirm the bug fix here.

Re: Title bar formatting ({directory}) bugs

Posted: Tue Aug 12, 2025 1:07 am
by golemus
seems to be fixed