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

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
12thXy
Posts: 20
Joined: 11 Jan 2011 02:35
Location: W11 25H2, 200% Scale, XY v28.00.0800

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

Post 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
xycutbug.png (29.24 KiB) Viewed 1719 times
- 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
Screenshot 2025-10-11 122538.png (344.17 KiB) Viewed 1719 times
- 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

admin
Site Admin
Posts: 65000
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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

admin
Site Admin
Posts: 65000
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

PS: In the next beta it will happen automatically. You don't have to do anything.

Post Reply