Your message dated Tue, 25 Jan 2005 22:25:40 -0600
with message-id <[EMAIL PROTECTED]>
and subject line feh: panning problem with large scaled down images
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 2 Jul 2004 17:34:10 +0000
>From [EMAIL PROTECTED] Fri Jul 02 10:34:10 2004
Return-path: <[EMAIL PROTECTED]>
Received: from atlas.dgp.toronto.edu [128.100.4.1]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1BgRvO-0007ex-00; Fri, 02 Jul 2004 10:34:10 -0700
Received: from mac.dgp.toronto.edu
(CPE00e018f474ec-CM024420003961.cpe.net.cable.rogers.com [24.103.0.104])
by atlas.dgp.toronto.edu (Postfix) with ESMTP
id 6DDDD4F81B; Fri, 2 Jul 2004 13:34:09 -0400 (EDT)
Received: by mac.dgp.toronto.edu (Postfix, from userid 1000)
id B64C1BF0A7; Fri, 2 Jul 2004 13:34:08 -0400 (EDT)
Content-Type: multipart/mixed; boundary="===============1949349889=="
MIME-Version: 1.0
From: Maciej Kalisiak <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: feh: panning problem with large scaled down images
Reply-To: [EMAIL PROTECTED]
X-Mailer: reportbug 2.20
Date: Fri, 02 Jul 2004 13:34:08 -0400
Message-Id: <[EMAIL PROTECTED]>
X-BadReturnPath: [EMAIL PROTECTED] rewritten as [EMAIL PROTECTED]
using "Reply-To" header
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
This is a multi-part MIME message sent by reportbug.
--===============1949349889==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: feh
Version: 1.2.6-5
Severity: normal
Tags: patch
Patch already sent to upstream author. Here is the bug summary:
---8<---
When panning an image that
1) is zoomed down (i.e., <100%)
2) but the result is still larger than the window client area
then you cannot pan all the way to the right or bottom of the image. In fact,
when panning, the panned image does not properly track the mouse pointer.
That is, the pointer drifts with respect to image when it is dragged.
Found this to be a bug which treats the above as a special case, when it
shouldn't. The attached patch has been tested on the problematic case and has
been observed to fix the problem.
---8<---
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux isildur 2.4.24-1-686 #1 Tue Jan 6 21:29:44 EST 2004 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages feh depends on:
ii giblib1 1.2.3-4 wrapper library for imlib2, and ot
ii libc6 2.3.2.ds1-8 GNU C Library: Shared libraries an
ii libimlib2 1.1.0-12 Powerful image loading and renderi
ii xlibs 4.3.0-2 X Window System client libraries m
-- no debconf information
--===============1949349889==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="/home/mac/feh.patch"
*** winwidget.c.orig Fri Jul 2 13:19:45 2004
--- winwidget.c Fri Jul 2 13:18:57 2004
***************
*** 443,461 ****
dy = 0;
! if (winwid->im_x < 0) {
! if (winwid->zoom < 1.0)
! sx = 0 - (winwid->im_x * winwid->zoom);
! else
! sx = 0 - (winwid->im_x / winwid->zoom);
! } else
sx = 0;
! if (winwid->im_y < 0) {
! if (winwid->zoom < 1.0)
! sy = 0 - (winwid->im_y * winwid->zoom);
! else
! sy = 0 - (winwid->im_y / winwid->zoom);
! } else
sy = 0;
calc_w = winwid->im_w * winwid->zoom;
calc_h = winwid->im_h * winwid->zoom;
--- 443,456 ----
dy = 0;
! if (winwid->im_x < 0)
! sx = 0 - (winwid->im_x / winwid->zoom);
! else
sx = 0;
! if (winwid->im_y < 0)
! sy = 0 - (winwid->im_y / winwid->zoom);
! else
sy = 0;
+
calc_w = winwid->im_w * winwid->zoom;
calc_h = winwid->im_h * winwid->zoom;
--===============1949349889==--
---------------------------------------
Received: (at 257310-done) by bugs.debian.org; 26 Jan 2005 05:08:29 +0000
>From [EMAIL PROTECTED] Tue Jan 25 21:08:29 2005
Return-path: <[EMAIL PROTECTED]>
Received: from master.debian.org [146.82.138.7]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CtekP-00017r-00; Tue, 25 Jan 2005 20:25:41 -0800
Received: from ljlane by master.debian.org with local (Exim 3.35 1 (Debian))
id 1CtekO-0008R1-00; Tue, 25 Jan 2005 22:25:40 -0600
Date: Tue, 25 Jan 2005 22:25:40 -0600
From: "Laurence J. Lane" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: feh: panning problem with large scaled down images
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
X-Linux-Distro: Debian GNU/Linux http://www.debian.org
Sender: Laurence Lane <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=0.0 required=4.0 tests=BAYES_01,OUR_MTA_MSGID
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
This is fixed in sarge and sid.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]