Page 1 of 1

Problem with previewing text files in x64 version

Posted: 10 Nov 2025 14:04
by Gido
XYplorer BETA x64 28.00.0500
Windows 10

Issue Summary:

In this version of XYplorer, plain text files using any encoding other than UTF-8 (such as general ANSI code page with national characters or the national code pages including Windows-1251) are not displayed correctly in two of the three preview methods. Converting the file to UTF-8 resolves the issue across all preview methods.

Reproduction Steps:

1. Create or obtain a plain text file (`.txt`) in a non-UTF-8 encoding (e.g., a national code page such as ANSI with extended characters or Windows-1251).

2. Open the file's containing folder in XYplorer.

3. Method 1 (Hover Tooltip):
- Hover the mouse cursor over the file name or icon.
- Observe: A tooltip popup shows a text fragment, but non-ASCII characters are mangled.

4. Method 2 (Drag Preview):
- Hover the mouse cursor over the file icon and hold the left mouse button.
- Observe: A preview window appears (distinct from the hover tooltip), but the text remains garbled.

5. Method 3 (Preview Pane):
- Click the "Show preview pane" button to enable the right-side preview panel.
- Select the file.
- Observe: The text renders correctly without encoding issues.

Additional Verification:

- Convert the same file to UTF-8 (using Notepad++).
- Repeat steps 2–5 with the UTF-8 version.
- Result: Text displays correctly in all three preview methods.

This problem did not exist in the 32-bit version.

Re: Problem with previewing text files in x64 version

Posted: 11 Nov 2025 12:59
by admin
Can you provide a test file?

Re: Problem with previewing text files in x64 version

Posted: 11 Nov 2025 18:12
by Gido
I was previously inaccurate when I said that "standard" ANSI was displayed correctly in the right-hand pane. I investigated this issue and found that this encoding is called 1252, and in fact, the text isn't displayed anywhere. The rest is correct. Test files are attached to this message.

Also found two more bugs:

1. Xyplorer suddenly stopped saving the list of tabs and which one is current. If I click the "save settings" button or close the program, then after restarting everything will be restored to the way it was a few days ago.

2. If no file is displayed in the right-hand preview pane, the area appears glitched because the thin border that is present in the x32 version is missing.

Re: Problem with previewing text files in x64 version

Posted: 11 Nov 2025 18:18
by admin
Everything is as it should be. If you want to preview the 1251 encoded file you have to select that code page from the orange button menu.
2025-11-11_181520.png
2025-11-11_181520.png (28.4 KiB) Viewed 288 times
Concerning the tabs, check settings here: Configuration | General | Startup & Exit | Save Settings | Include most-recently-used lists on save