Garbage text in localized folders in tree view

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, xnview

DfDf
Posts: 1
Joined: Sun Aug 16, 2015 9:42 pm

Garbage text in localized folders in tree view

Postby DfDf » Sun Aug 16, 2015 10:17 pm

The problem: localized folder names in tree view displayed incorrectly (without properly set language ID).

Most language-specific resources in XnView are localized via corresponding language dll located in "language" subfolder of XnView folder. For example, for russian language there is xnviewru.dll.
But. Main tree view with folders list is a dynamically generated control using SysTreeView32 control. This control should change it's language accordingly to user-selected language to display localized folders correctly at the time of creation.
I suggest the problem is the way RegisterClassEx is called for parent window class (XwinTreeClass). This call should be prepended with SetThreadLocale or/and SetThreadUILanguage call(s). This is only my suggestion.
Suggestion is based on the fact that 'Categories' view is also garbaged.

Screenshot.jpg

Screenshot2.jpg
Screenshot2.jpg (57.11 KiB) Viewed 1313 times

Return to “Classic - Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest