Opened 22 years ago

Closed 21 years ago

Last modified 21 years ago

#644 closed defect (fixed)

part of png is not visible when importing image

Reported by: oever@… Owned by: leeming
Priority: high Milestone:
Component: insetgraphics Version: 1.2.1
Severity: minor Keywords: cosmetic VERIFIED
Cc:

Description

I'm adding images with a 1 pixel border to a LyX document. The right side of the
image is partly clipped on screen.
An example image to import is mentioned in the url.

how to reprodude:
1) download image from url
2) add it to a lyx document with Insert->Graphics...
3) observe

Change History (9)

comment:1 by oever@…, 22 years ago

Severity: normalminor

comment:2 by levon, 22 years ago

The example png does not have any noticable border (I loaded
it into gimp and zoomed in). All it is is part of a blue blob
and a load of white.

comment:3 by oever@…, 22 years ago

Terribly sorry. I copied the wrong file. Please try again.

comment:4 by levon, 22 years ago

Yep. How is this happening Angus ?

comment:5 by levon, 22 years ago

Keywords: cosmetic added

Note that same happens for Qt ...

comment:6 by leeming, 22 years ago

There appears to be a bug in the xforms library that we fudge a solution for. The fact that it happens to the Qt frontend too is indeed interesting.Having said that, it's one pixel for Heaven's sake ;-)

comment:7 by levon, 22 years ago

I don't think this has anything to do with the xforms bug. It's surely
an off by one in the inset drawing code somewhere.

comment:8 by levon, 21 years ago

Resolution: fixed
Status: newclosed

Michael's patch to sort out the mess seems to have done the trick,
confirmed on both xforms and qt.

comment:9 by levon, 21 years ago

Keywords: VERIFIED added

mass verify. grep -v ApplesWin

Note: See TracTickets for help on using tickets.