[0.68] Image > Canvas resize... bug?

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
cday
XnThusiast
Posts: 4396
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

[0.68] Image > Canvas resize... bug?

Post by cday »

Changing the 'Resolution' seems to have no effect on the resolution, print size or pixel size...

And shouldn't 'Resolution' be 'DPI' for consistency with other menus?
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: [0.68] Image > Canvas resize... bug?

Post by m.Th. »

You lost me here.
Changing the 'Resolution' seems to have no effect on the resolution, print size or pixel size...
Where do you find the 'Resolution' above? I cannot find it in Canvas Resize dialog. Can you post a screenshot and indicate where it is?
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
cday
XnThusiast
Posts: 4396
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: [0.68] Image > Canvas resize... bug?

Post by cday »

m.Th. wrote:Can you post a screenshot and indicate where it is?
Canvas_resize.png
Canvas_resize.png (18.2 KiB) Viewed 1048 times
That's the dialog brought up by Image > Canvas resize...

As in a number of other XnView dialogs, the title is different from the name of the function selected. :)
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: [0.68] Image > Canvas resize... bug?

Post by m.Th. »

It seems that I didn't saw it because of my nose. :) Sorry for that.

Yes, it seems that it is a dead thing. The dialog need fixing:

1. to set in the memory representation of the file the actual DPI number
2. to change/fix the labels as well as window's title
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.68] Image > Canvas resize... bug?

Post by xnview »

if you change the resolution, the Width/Height print size is changed too!
Pierre.
cday
XnThusiast
Posts: 4396
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: [0.68] Image > Canvas resize... bug?

Post by cday »

xnview wrote:if you change the resolution, the Width/Height print size is changed too!
Not for me yesterday, or for m.Th this morning: possibly a sequence issue??
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: [0.68] Image > Canvas resize... bug?

Post by m.Th. »

Pierre, the problem is that the these changes aren't saved.

"Print Size" doesn't mean anything if the document isn't printed.

Let's take it step by step:

1. Open a photo. The status bar says:

5796x3870x48 pixels. (and 1.50 - btw what "1.50" is?)

And after that

204.46x136.52 cm

2. Go to Image | Canvas Resize. The dialog says:
Canvas.jpg
Canvas.jpg (20.85 KiB) Viewed 1013 times
Note that the print size is slightly different but let's pass it for now.

3. Change the DPI to 1000 (or any other big value to see the difference). The dialog works ok till here.

4. Press Ok.

Expected: The status bar should be correctly updated (is updated, but with the old DPI value) and at the next run of the Image | Canvas Resize dialog the DPI / print size should show the updated values (1000 DPI etc.)

Actual: The old values are shown.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: [0.68] Image > Canvas resize... bug?

Post by XnTriq »

m.Th. wrote:5796x3870x48 pixels. (and 1.50 - btw what "1.50" is?)
It's the aspect ratio (-:
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: [0.68] Image > Canvas resize... bug?

Post by m.Th. »

XnTriq wrote:
m.Th. wrote:5796x3870x48 pixels. (and 1.50 - btw what "1.50" is?)
It's the aspect ratio (-:
shocked-eyes-smiley-emoticon.gif
shocked-eyes-smiley-emoticon.gif (20.77 KiB) Viewed 999 times
...and... HOW. COULD. I. FIGURE. THIS. OUT?!?

A humble request: ...perhaps a tooltip over there would help? <big sheepish grin>

PS: Thanks a lot for the info! :)
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.68] Image > Canvas resize... bug?

Post by xnview »

m.Th. wrote: Expected: The status bar should be correctly updated (is updated, but with the old DPI value) and at the next run of the Image | Canvas Resize dialog the DPI / print size should show the updated values (1000 DPI etc.)

Actual: The old values are shown.
So it's only the update of status bar not a bug in canvas resize, right??
Pierre.
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: [0.68] Image > Canvas resize... bug?

Post by m.Th. »

xnview wrote:
m.Th. wrote: Expected: The status bar should be correctly updated (is updated, but with the old DPI value) and at the next run of the Image | Canvas Resize dialog the DPI / print size should show the updated values (1000 DPI etc.)

Actual: The old values are shown.
So it's only the update of status bar not a bug in canvas resize, right??
No (unfortunately). Because when we re-open the dialog the old DPI value is (still) shown.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: [0.68] Image > Canvas resize... bug?

Post by xnview »

See Issue 441 for current status and details.
Pierre.
Post Reply