GNU bug report logs - #38109
27.0.50; xpm image scaling doesn't work

Previous Next

Package: emacs;

Reported by: Adam Sjøgren <asjo <at> koldfront.dk>

Date: Thu, 7 Nov 2019 21:12:02 UTC

Severity: normal

Found in version 27.0.50

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Third <alan <at> idiocy.org>
To: Adam Sjøgren <asjo <at> koldfront.dk>
Cc: 38109 <at> debbugs.gnu.org
Subject: bug#38109: Updated Emacs to HEAD, consistently not scaling now
Date: Sun, 17 Nov 2019 19:01:05 +0000
[Message part 1 (text/plain, inline)]
On Sun, Nov 17, 2019 at 07:49:56PM +0100, Adam Sjøgren wrote:
> Adam writes:
> 
> >> New patch attached.
> >
> > After a while with this patch running Gnus, Emacs crashed like this:
> 
> Here is a backtrace running Emacs with gdb (I don't really know how to
> use gdb, just "run" and "bt"):

Thanks for trying. I’m giving up on freeing the Pictures there,
although I strongly suspect it’s adding a memory leak.

New patch attached which should resize xpms and xbms. I noticed two problems:

  1. sometimes shrinking an image leaves some pixels behind in clear
  areas.
  
  2. In image mode if I shrink an image enough so that it disappears
  from view completely I can’t then scale it up with +. I suspect
  something’s going to zero and subsequent calculations all stay at
  zero.

-- 
Alan Third
[v3-0001-Fix-image-scaling-with-masks-bug-38109.patch (text/plain, attachment)]

This bug report was last modified 5 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.