1.8.3 - Batch Text Shadows - unexpected behaviour

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
CameronD
Posts: 311
Joined: Wed Aug 01, 2007 1:28 pm
Location: Australia

1.8.3 - Batch Text Shadows - unexpected behaviour

Post by CameronD »

XnViewMP: 1.8.3 - 64 bit - I came across this in V1.8.2 and it has remained after upgrade to 1.8.3
OS:Windows 10 x64

When putting a drop-shadow onto text, the controls produce unexpected behaviour:
There may be two bugs here, but they seem very closely related

To reproduce:
1. take any plain image, or create a new one filled with a pale coloured background (640x480 is fine, but also observed on far larger images)
2. select image and "Batch Convert"
3. Add Action -> Add->Text (enable)
4. type a few random characters as the text to insert;
5. Position tab: units: % height (does not matter); Position: center (does not matter); margins:0; rotation:0
6. Text tab: Font: any; Size: 10%; alignment: left color:white; opacity:100; aa: (don't care)
7. Aspect tab : all off
8. Shadow tab: activated: yes, offsets: 0, blur 5

At this stage the shadow should appear symmetrically around the letters, and it does.

Now:
  • apply some "X" offset and note that the shadow moves vertically;
  • apply some "Y" offset and note that the shadow moves horizontally;
It looks like the X and Y labels are swapped.

Second part: Reset Offsets to zero and return to "Text" tab.
  • select alignment: center; Expect: no change; Actual Result: shadow jumps some distance (about half a font height) below and to the right
  • select alignment: right; Expect: shadow centred on text; Actual Result: shadow jumps some distance to the right
Fortunately, the effects are immediately obvious and the results match the preview, so, after suitable adjustment, the batch processing can proceed with no problems
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.3 - Batch Text Shadows - unexpected behaviour

Post by xnview »

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

Re: 1.8.3 - Batch Text Shadows - unexpected behaviour

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.8.6. Please check and confirm the bug fix here.
Pierre.
CameronD
Posts: 311
Joined: Wed Aug 01, 2007 1:28 pm
Location: Australia

Re: 1.8.3 - Batch Text Shadows - unexpected behaviour

Post by CameronD »

Yes it looks like it is completely fixed in V1.8.6.
Thank you.
Post Reply