Page 1 of 1

`cut` Toolbar Icon Fails to Patch in XYplorer v27.xx and v28.xx

Posted: 11 Oct 2025 23:16
by 12thXy
Description:
The `cut` toolbar icon does not override the default scissors icon in recent versions of XYplorer, despite correct setup using the `PatchImagesPath` directive. Other icons (e.g., `copy`, `paste`) patch successfully, indicating the issue is isolated to the `cut` command.

Steps to Reproduce:
1. Download Mosaic or Onyx skin from the XYplorer forum
2. Extract to a folder and set `PatchImagesPath` in XYplorer.ini
3. Ensure `cut.png` exists in the skin folder
4. Restart XYplorer

OR...

1. Ensure 'cut' is on your Toolbar and the Address bar is visible
2. Select a png file in XYplorer
3. Enter this script into the Address bar and press enter:

Code: Select all

patchimage "cut";

Expected Behavior:
The toolbar should display the custom `cut` icon.

Actual Behavior:
The default pale blue scissors icon remains unchanged.

Confirmed Working In:
- XYplorer v26.30.0000 (32-bit)

Broken In:
- XYplorer v27.20.0100 (32-bit) -- 12thXY, Windows 11 23H2, 200% screen scale
- XYplorer v28.00.0300 (64-bit?) -- Native2904

Additional Evidence:
- Screenshot of Mosaic skin applied in v27.20.0100, showing `cut` icon unchanged
xycutbug.png
- Screenshot from Native2904’s animated GIF in v28.00.0300, showing Mosaic skin applied but `cut` icon still default
Screenshot 2025-10-11 122538.png
- Admin noted that the icon appeared to work on his setup. However, the reported behaviour exists across systems and versions.

Conclusion:
This appears to be a regression affecting the `cut` toolbar icon specifically. It is not skin-specific, machine-specific, or script-related. The issue is reproducible across multiple versions and users, and was inadvertently confirmed by Native2904’s screenshot. A fix would restore consistency to the PatchImages system and ensure full skinning functionality.

The original discovery is visible here: Skin: Mosaic

Re: `cut` Toolbar Icon Fails to Patch in XYplorer v27.xx and v28.xx

Posted: 12 Oct 2025 10:51
by admin
Got it. The crucial point here is dark mode! That icon has two variants: "cut" for light mode, "cutdark" for darkmode. You must patch "cutdark" to make it work in dark mode.

The following buttons currently have dark mode variants:
acdark
cutdark
findlabeldark
icfdark
labelsdark
live2dark
menudark
paperdark
tbsdark

Re: `cut` Toolbar Icon Fails to Patch in XYplorer v27.xx and v28.xx

Posted: 12 Oct 2025 11:40
by admin
PS: In the next beta it will happen automatically. You don't have to do anything.