Recent Posts

Pages: 1 2 [3] 4 5 6 7 ... 10
21
Support and Feedback / Re: Weird file names display
« Last post by nietrupek on February 16, 2026, 13:54:30 »
More likely it is some windows issue, Because the window text draw engine is loaded into each process that is rendering text in the Windows UI.

Sounds like a conspiracy theory...

But I can't check for that since I can't reproduce it

Why not? Each line of attached file contains a filename. Just do:
echo "anything" > "filename1"
echo "anything" > "filename2"
...
for each line, and you will get a set of files. See them in MC's panel. Maybe you'll see what I see.
Final note: from time to time MC displays them differently for no apparent reason.

22
Support and Feedback / Re: Weird file names display
« Last post by Mathias (Author) on February 15, 2026, 09:27:26 »
MC do not process filenames in anyway.. they are send them to Windows rendering call to be drawn the same way they are read from disk (from another Windows call)
More likely it is some windows issue, Because the window text draw engine is loaded into each process that is rendering text in the Windows UI. But I can't check for that since I can't reproduce it



23
Support and Feedback / Re: Weird file names display
« Last post by nietrupek on February 15, 2026, 06:23:44 »
MC just tell window to draw the unicode string. MC does not process., It is using Window built in support for drawing unicode strings.
So the problem is outside of MC's control, somewhere in external library.

Sorry, I have to revive this thread. The problem *is* somehow MC-related. No matter what font I use, MC distorts file names. Moreover, if I close MC and restart it, filenames are displayed differently.

The same filenames are displayed properly in all terminal-based apps I have at hand: cmd, Cygwin's bash or Power Shell. No matter what fonts I use. Modern apps like File manager, browsers, etc. all display filenames correctly, too.
24
Script / Re: [SCRIPT] Set As Background Wallpaper (Stretched etc.)
« Last post by total_annihilation00 on February 14, 2026, 20:04:50 »
A significantly improved and optimized version of this script has been generated using an advanced Generative AI model, resulting in enhanced performance and efficiency. Please use the latest version provided here, while retaining the previous one for archival purposes.

claude-opus-4-6-thinking AI Generated:::
PowerShell Script (SetWallpaperMCStretch.ps1)
Code: [Select]
param([string]$ImagePath)

# Validate file exists
if (-not (Test-Path $ImagePath)) {
    Write-Error "File not found: $ImagePath"
    exit 1
}

# Set style: Stretch
Set-ItemProperty -Path 'HKCU:\Control Panel\Desktop' -Name WallpaperStyle -Value '2'
Set-ItemProperty -Path 'HKCU:\Control Panel\Desktop' -Name TileWallpaper -Value '0'

# Apply wallpaper via Win32 API
Add-Type -TypeDefinition @"
using System;
using System.Runtime.InteropServices;
public class Wallpaper {
    [DllImport("user32.dll", CharSet = CharSet.Auto)]
    public static extern int SystemParametersInfo(int uAction, int uParam, string lpvParam, int fuWinIni);
}
"@ -ErrorAction SilentlyContinue

# SPI_SETDESKWALLPAPER = 0x0014 (20)
# SPIF_UPDATEINIFILE | SPIF_SENDCHANGE = 3
[Wallpaper]::SystemParametersInfo(20, 0, $ImagePath, 3)

<#
Style Reference:
  Stretch : WallpaperStyle=2,  TileWallpaper=0
  Fill    : WallpaperStyle=10, TileWallpaper=0
  Fit     : WallpaperStyle=6,  TileWallpaper=0
  Center  : WallpaperStyle=0,  TileWallpaper=0
  Tile    : WallpaperStyle=0,  TileWallpaper=1
  Span    : WallpaperStyle=22, TileWallpaper=0
#>

MultiScript (Custom Command)
Code: [Select]
@var $imgPath = GetSourceFocusPath();
@var $scriptPath = "C:\\Path\\To\\SetWallpaperMCStretch.ps1";
@var $arguments = "-ExecutionPolicy Bypass -WindowStyle Hidden -File \"" + $scriptPath + "\" -ImagePath \"" + $imgPath + "\"";
MC.Run CMD="powershell.exe" ARG="{$arguments}" FLAGS="NOWAIT|NOCONSOLE";

Notes (if you want other styles later)
These registry values are the ones Windows uses:
    +--------------------------------------------------------------+
    | Stretch: WallpaperStyle=2, TileWallpaper=0 (used above)     |
    +--------------------------------------------------------------+
    | Fill: WallpaperStyle=10, TileWallpaper=0                     |
    +--------------------------------------------------------------+
    | Fit: WallpaperStyle=6, TileWallpaper=0                       |
    +--------------------------------------------------------------+
    | Center: WallpaperStyle=0, TileWallpaper=0                    |
    +--------------------------------------------------------------+
    | Span: WallpaperStyle=22, TileWallpaper=0                        |
    +--------------------------------------------------------------+
    | Tile: WallpaperStyle=0, TileWallpaper=1                        |
    +--------------------------------------------------------------+

These are just quality-of-life tweaks. The core SystemParametersInfo approach remains the right one.
25
Support and Feedback / Re: How to make a path use a different order
« Last post by Ozzy1 on February 13, 2026, 23:32:59 »
Ok! Thanx :)
Crossing fingers for the future, but until then, lets do the ctrl-dance  :)
26
Support and Feedback / Re: How to make a path use a different order
« Last post by Mathias (Author) on February 13, 2026, 23:24:05 »
Currently you can't set different settings by folder.. something like that are planed..

But you can switch sort column with Ctrl+F1 to Ctrl+F5  (Filename column Ctrl+F1 , date Ctrl+F4 if it is the 4th column)
27
Support and Feedback / How to make a path use a different order
« Last post by Ozzy1 on February 13, 2026, 16:02:48 »
Hi!
Probably a totally newbie question, but how can I make different path's show the files in different order?
Lets say I have a "Download"-folder. In here, I want to show the newest file on top, but when browsing the rest of that drive, I want the files to be in alphabetical order.
I have found out how to customize folders, so I get the colums  I want, but I can't find how to set the order...
28
Support and Feedback / Re: Weird file names display
« Last post by nietrupek on February 09, 2026, 09:15:34 »
MC just tell window to draw the unicode string. MC does not process., It is using Window built in support for drawing unicode strings.

So the problem is outside of MC's control, somewhere in external library.
And today, the same files are displayed properly. And my PC wasn't even turned off since yesterday...

You can't use zip for unicode filenames, zip is an legacy and old format. normally zip till convert filename to 7/8bit for current code page used, or to UTF-8 if enabled for zip.

Thanks for the explanation. I had no idea that zip is outdated.


29
Support and Feedback / Re: Weird file names display
« Last post by Mathias (Author) on February 09, 2026, 07:41:23 »
Unicode suport all kind of strange things like emoji and what ever..  MC has no control over it. I see any security risk. It not like it can execute any code.
MC just tell window to draw the unicode string. MC does not process., It is using Window built in support for drawing unicode strings.

You can't use zip for unicode filenames, zip is an legacy and old format. normally zip till convert filename to 7/8bit for current code page used, or to UTF-8 if enabled for zip. But that is only if the conversion from Windows Unicode to UTF8 will work and there are cases where it does not work so well. 7Zip support unicode much better.

Also it depends on what font is used and if it support all the characters included..  Unicode has over 297 000 characters.. and i don't think there is a font that support all of that



30
Support and Feedback / Weird file names display
« Last post by nietrupek on February 08, 2026, 19:53:58 »
Attached I send MC's display of some "exotic" filenames (attachements, left panel). These files were created by Thunderbird, they are spam mails saved using EML format. System: Windows 10.

It is a security risk if "something" in filenames is able to manipulate MC's behaviour.

BTW, your built-in zip functionality changes filenames (2nd attachment, right panel). If it is documented and user may switch this feature on/off, then it is OK. If not, it is a bug.
For reference, the same files packed using external 7z application keep original file names intact (1st attachment, right panel).

ADDED: Sorry, I didn't see "[BUG] Unicode NOT work" topic, so this is basically a duplicate of it. But maybe attachments will be helpful. I am using one of typical Windows fonts (Consolas), so it is not the cause of the problem.
Pages: 1 2 [3] 4 5 6 7 ... 10