Invalid (or chinese?) labelFont causes XnView to start slowly

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
fireattack
Posts: 103
Joined: Sun Nov 10, 2013 8:02 am

Invalid (or chinese?) labelFont causes XnView to start slowly

Post by fireattack »

Main bug: if you have an invalid labelFont setting, e.g.

Code: Select all

[Appearance]
labelFont=@Variant(\0\0\0@\0\0\0\b_\xae\x8fo\x96\xc5\x9e\xd1@\"\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
(In my case, my front name is inherited from a different language Windows, so the font name is not recognized in my new English Windows.)

It causes XnViewMP to start noticeably slowly.

Also, since 1.8.1, the behavior of this slowdown changes when you start xnviewmp.exe with a dir argument.

Steps to reproduce:
1. Create a xnview.ini with the above settings.
2. Run

Code: Select all

xnviewmp.exe .
(notice the dot for opening CWD.)

In 1.4.x~1.8.0, it will immediately show an blank window and then loads after 2 seconds.
In 1.8.1~now, it will only show the program in the taskbar but no window is showing (blank or not), until after2 seconds.
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Invalid (or chinese?) labelFont causes XnView to start slowly

Post by xnview »

same, i can't reproduce. Is it windows english?
Pierre.
fireattack
Posts: 103
Joined: Sun Nov 10, 2013 8:02 am

Re: Invalid (or chinese?) labelFont causes XnView to start slowly

Post by fireattack »

Yes, it is English Win10.
Post Reply