Debian Bug report logs - #665779
Window corner re-size events ignored by SDL

version graph

Package: libsdl1.2debian; Maintainer for libsdl1.2debian is Debian SDL package maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>; Source for libsdl1.2debian is src:sdl12-compat (PTS, buildd, popcon).

Reported by: Andrew Caudwell <acaudwell@gmail.com>

Date: Sun, 25 Mar 2012 23:48:01 UTC

Severity: important

Found in version libsdl1.2/1.2.15-2

Fixed in version libsdl1.2/1.2.15-3

Done: manuel.montezelo@gmail.com (Manuel A. Fernandez Montecelo)

Bug is archived. No further changes may be made.

Forwarded to http://bugzilla.libsdl.org/show_bug.cgi?id=1430

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#665779; Package libsdl1.2debian. (Sun, 25 Mar 2012 23:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to Andrew Caudwell <acaudwell@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>. (Sun, 25 Mar 2012 23:48:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Andrew Caudwell <acaudwell@gmail.com>
To: submit@bugs.debian.org
Subject: Window corner re-size events ignored by SDL
Date: Mon, 26 Mar 2012 12:45:20 +1300
[Message part 1 (text/plain, inline)]
Package: libsdl1.2debian
Version: 1.2.15-2
Severity: important

SDL 1.2.15 contains a rather nasty bug with window resizing reported here:

http://bugzilla.libsdl.org/show_bug.cgi?id=1430

If the user attempts to re-size the SDL application window at the
corner, that event and all subsequent re-size events are ignored,
resulting in the window area not matching the area drawn to by the
application.


I recently implemented window resizing in my SDL application Gource
only to discover this feature no longer works due to this bug, so I am
keen to see this fixed before I do another release.

As documented on the above report the issue was introduced by this commit:

http://hg.libsdl.org/SDL/rev/ad4ed9f0336f

This change was intended to fix an earlier less serious /
un-reproduced re-size bug (
http://bugzilla.libsdl.org/show_bug.cgi?id=1049 ) though its effect
has been to completely break it.

I wonder if perhaps we could get a patch added to the debian package
reverting this commit as it may take a long time to filter through in
a release from upstream.

Cheers

Andrew Caudwell
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#665779; Package libsdl1.2debian. (Tue, 10 Apr 2012 02:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to Andrew Caudwell <acaudwell@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>. (Tue, 10 Apr 2012 02:51:03 GMT) (full text, mbox, link).


Message #10 received at 665779@bugs.debian.org (full text, mbox, reply):

From: Andrew Caudwell <acaudwell@gmail.com>
To: 665779@bugs.debian.org
Cc: manuel.montezelo@gmail.com
Subject: Re: Window corner re-size events ignored by SDL
Date: Tue, 10 Apr 2012 14:47:01 +1200
[Message part 1 (text/plain, inline)]
Hi,

Here's a patch to add to the package that reverts the commit that
introduced the fault.

Works for me. If you take a look at it it's a pretty innocuous change.

Cheers

Andrew Caudwell
[Message part 2 (text/html, inline)]
[fix_window_resizing.diff (text/x-patch, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#665779; Package libsdl1.2debian. (Tue, 10 Apr 2012 08:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>. (Tue, 10 Apr 2012 08:33:03 GMT) (full text, mbox, link).


Message #15 received at 665779@bugs.debian.org (full text, mbox, reply):

From: "Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com>
To: Andrew Caudwell <acaudwell@gmail.com>
Cc: 665779@bugs.debian.org
Subject: Re: Window corner re-size events ignored by SDL
Date: Tue, 10 Apr 2012 09:29:23 +0100
forwarded 665779 http://bugzilla.libsdl.org/show_bug.cgi?id=1430
stop


Hi Andrew,

2012/4/10 Andrew Caudwell <acaudwell@gmail.com>:
> Hi,
>
> Here's a patch to add to the package that reverts the commit that introduced
> the fault.
>
> Works for me. If you take a look at it it's a pretty innocuous change.

Thanks for the bug report.

So your patch attached here is just to revert the supposed bugfix to
SDL bug #1430 with nothing else added, and you've checked that
compiling doesn't create any new problem, right?

Cheers.




Set Bug forwarded-to-address to 'http://bugzilla.libsdl.org/show_bug.cgi?id=1430'. Request was from "Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com> to control@bugs.debian.org. (Tue, 10 Apr 2012 08:33:05 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#665779; Package libsdl1.2debian. (Tue, 10 Apr 2012 20:51:05 GMT) (full text, mbox, link).


Acknowledgement sent to "Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>. (Tue, 10 Apr 2012 20:51:06 GMT) (full text, mbox, link).


Message #22 received at 665779@bugs.debian.org (full text, mbox, reply):

From: "Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com>
To: Andrew Caudwell <acaudwell@gmail.com>, 665779@bugs.debian.org
Subject: Re: Window corner re-size events ignored by SDL
Date: Tue, 10 Apr 2012 21:47:40 +0100
Hi,

(Including the bug report again in the recipient addresses).

2012/4/10 Andrew Caudwell <acaudwell@gmail.com>:
> This is the fix identified in the comments on #1430 which is to revert #1049
> (http://bugzilla.libsdl.org/show_bug.cgi?id=1049) which makes SDL wait for a
> window event with a specific width/height that never arrives. I didn't
> change anything else.
>
> I've tested the patched debian package with KDE and Gnome3 and it fixes the
> issue in wesnoth and also my application.

Good, thanks.  I am trying to get a new version, hopefully it'll be
uploaded soon, if nothing goes wrong.

I tried to reproduce it with several games (unknown-horizons, trophy,
flare) but they don't seem to allow resizing the window at all.
Wesnoth is to big for me to download at this moment.  So if you could
please keep an eye during the next few days and confirm that the
upload fixes the problem, it would be great.

Regards.




Reply sent to manuel.montezelo@gmail.com (Manuel A. Fernandez Montecelo):
You have taken responsibility. (Tue, 10 Apr 2012 21:24:19 GMT) (full text, mbox, link).


Notification sent to Andrew Caudwell <acaudwell@gmail.com>:
Bug acknowledged by developer. (Tue, 10 Apr 2012 21:24:22 GMT) (full text, mbox, link).


Message #27 received at 665779-close@bugs.debian.org (full text, mbox, reply):

From: manuel.montezelo@gmail.com (Manuel A. Fernandez Montecelo)
To: 665779-close@bugs.debian.org
Subject: Bug#665779: fixed in libsdl1.2 1.2.15-3
Date: Tue, 10 Apr 2012 21:22:19 +0000
Source: libsdl1.2
Source-Version: 1.2.15-3

We believe that the bug you reported is fixed in the latest version of
libsdl1.2, which is due to be installed in the Debian FTP archive:

libsdl1.2-dbg_1.2.15-3_amd64.deb
  to main/libs/libsdl1.2/libsdl1.2-dbg_1.2.15-3_amd64.deb
libsdl1.2-dev_1.2.15-3_amd64.deb
  to main/libs/libsdl1.2/libsdl1.2-dev_1.2.15-3_amd64.deb
libsdl1.2_1.2.15-3.debian.tar.gz
  to main/libs/libsdl1.2/libsdl1.2_1.2.15-3.debian.tar.gz
libsdl1.2_1.2.15-3.dsc
  to main/libs/libsdl1.2/libsdl1.2_1.2.15-3.dsc
libsdl1.2debian-udeb_1.2.15-3_amd64.udeb
  to main/libs/libsdl1.2/libsdl1.2debian-udeb_1.2.15-3_amd64.udeb
libsdl1.2debian_1.2.15-3_amd64.deb
  to main/libs/libsdl1.2/libsdl1.2debian_1.2.15-3_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 665779@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com> (supplier of updated libsdl1.2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 10 Apr 2012 21:18:20 +0100
Source: libsdl1.2
Binary: libsdl1.2debian libsdl1.2debian-udeb libsdl1.2-dev libsdl1.2-dbg
Architecture: source amd64
Version: 1.2.15-3
Distribution: unstable
Urgency: low
Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>
Changed-By: Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>
Description: 
 libsdl1.2-dbg - Simple DirectMedia Layer debug files
 libsdl1.2-dev - Simple DirectMedia Layer development files
 libsdl1.2debian - Simple DirectMedia Layer
 libsdl1.2debian-udeb - Simple DirectMedia Layer (with directfb graphics and no sound) (udeb)
Closes: 665779
Changes: 
 libsdl1.2 (1.2.15-3) unstable; urgency=low
 .
   [ Felix Geyer ]
   * Drop all -dev package dependencies of libsdl1.2-dev except libx11-dev and
     libglu1-mesa-dev.
   * Add libglu-dev as an alternative to libglu1-mesa-dev.
 .
   [ Manuel A. Fernandez Montecelo ]
   * Fix for bug "Window corner re-size events ignored by SDL" (Closes: #665779),
     thanks Andrew Caudwell <acaudwell@gmail.com> for the report and the
     suggested fix.
Checksums-Sha1: 
 77828a5d8174ffa35bf4978d2b77ffa726f95b5c 1909 libsdl1.2_1.2.15-3.dsc
 40b69501d8ae6eac48ccb8c32887c2d55c64042a 24670 libsdl1.2_1.2.15-3.debian.tar.gz
 0d4599ab909cd2c2994fc6c28a6e8bda88f28b3e 219186 libsdl1.2debian_1.2.15-3_amd64.deb
 a5824475b6429176ea370b6d835d9ae020b16ebd 115650 libsdl1.2debian-udeb_1.2.15-3_amd64.udeb
 a1529f3f037c7b6e64d764da5bb71f19c9a0cdb0 903200 libsdl1.2-dev_1.2.15-3_amd64.deb
 f8256c166094cb28b533e91efc75820c0511774d 984636 libsdl1.2-dbg_1.2.15-3_amd64.deb
Checksums-Sha256: 
 bbd3aeeed5b71040fb07617856c5242aa3125f3e1345d36d3bbf573156ef47d3 1909 libsdl1.2_1.2.15-3.dsc
 63eb2b717e48585197ad50ab4eb26a9e490089bdcc3fc9a4dfec6140cd75d89c 24670 libsdl1.2_1.2.15-3.debian.tar.gz
 53c05c20b304f85e6d0673b0332cf5f28f4d382343a3cd01c6caa4a0cb36f74a 219186 libsdl1.2debian_1.2.15-3_amd64.deb
 c7896aa69ad5211ad0b5e3cc4fca5028e5c6fec97a402895e6b61355d3de9f08 115650 libsdl1.2debian-udeb_1.2.15-3_amd64.udeb
 2fdcc2227df4d0952333c2491eb039ac7f3ab5c830e7bbd2283573270039ca07 903200 libsdl1.2-dev_1.2.15-3_amd64.deb
 84ad81c7b7da8b74d8aa3da1c9cc7e90e572e8695ab6041d0ab8e35c6b161660 984636 libsdl1.2-dbg_1.2.15-3_amd64.deb
Files: 
 bb39d7944addf6034d65eb7dfaa9e5be 1909 libs optional libsdl1.2_1.2.15-3.dsc
 d6063c7bacc8b770f135b9ba0d8b6a52 24670 libs optional libsdl1.2_1.2.15-3.debian.tar.gz
 cef591d7280d5cdb378d4f5d33d4ddf8 219186 libs optional libsdl1.2debian_1.2.15-3_amd64.deb
 df30c533007946ef4991f2477ad0efb5 115650 debian-installer extra libsdl1.2debian-udeb_1.2.15-3_amd64.udeb
 a7c329b8ca48476c18af925aed233131 903200 libdevel optional libsdl1.2-dev_1.2.15-3_amd64.deb
 d8c3ed64f1d873263db5246e7d2c4ee9 984636 debug extra libsdl1.2-dbg_1.2.15-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk+EoIAACgkQK4B7+/vnTprMjACgkLEqczq10oxlFfrIGtBSk6gK
DFgAnjClwH0Ve1GuYLYZNsB2Q3kACyYD
=mAxX
-----END PGP SIGNATURE-----





Information forwarded to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#665779; Package libsdl1.2debian. (Wed, 11 Apr 2012 11:48:04 GMT) (full text, mbox, link).


Acknowledgement sent to Andrew Caudwell <acaudwell@paradise.net.nz>:
Extra info received and forwarded to list. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>. (Wed, 11 Apr 2012 11:48:07 GMT) (full text, mbox, link).


Message #32 received at 665779@bugs.debian.org (full text, mbox, reply):

From: Andrew Caudwell <acaudwell@paradise.net.nz>
To: 665779@bugs.debian.org, "Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com>
Subject: Re: Window corner re-size events ignored by SDL
Date: Wed, 11 Apr 2012 23:45:45 +1200
Thanks! I will keep an eye on it.




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 19 May 2012 07:41:07 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Jul 16 10:07:35 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.