1.9.10 Filesize unit not saved in search preset

*** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: xnview, Dreamer

yudhi717
Posts: 1
Joined: Thu Jan 22, 2026 10:57 am

1.9.10 Filesize unit not saved in search preset

Post by yudhi717 »

XnView: MP 1.9.10 - 64 bit
OS: Windows 64bit

Filesize unit not saved in search preset

Effect: when choosing preset with filesize the unit is always bytes

To reproduce:
1. save preset with filesize & any unit except bytes
2. load the preset, unit reset to bytes

Actual behaviour (bug): filesize unit is not saved

sample preset saved in the search.ini

Code: Select all

4000<={"all":true,"case":true,"db":false,"fields":[{"name":"width","op":"less_than_or_equal","value":4000},{"name":"height","op":"less_than_or_equal","value":4000},{"name":"filesize","op":"greater_than","value":1024}],"filename":"*.*","pathname":"","recurse":true,"regexp":false}
User avatar
xnview
Author of XnView
Posts: 47584
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.9.10 Filesize unit not saved in search preset

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 47584
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.9.10 Filesize unit not saved in search preset

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.10.1. Please check and confirm the bug fix here.
Pierre.