• Bug#264955: mozplugger: upgrade from 1.5.1-2 to 1.6.0-1 broke swallow u

    From Yaroslav Halchenko@1:229/2 to All on Wed Aug 11 06:30:11 2004
    From: [email protected]

    Package: mozplugger
    Version: 1.5.1-2
    Severity: serious

    I like very much 'swallow'ing feature that I can have pdf/ps/dvi
    documents opened within tabs. And I love using VNC. Everything was
    working before I upgraded to 1.60 version. Now documents kinda open
    but the canvas of mozilla stays white :-/ And it works fine on one
    machines and doesn't work on one other... it works fine through simple
    ssh tunnel though from the same host. so I suspected difference in X configuration.

    here is the difference between two xdpyinfo's from good (1) and bad
    (2) machines
    1c1
    < name of display: belka:1.0
    ---
    name of display: ravana:1.0
    14c14
    < focus: window 0x2c00002, revert to Parent
    ---
    focus: window 0x1800002, revert to Parent
    38c38
    < current input event mask: 0x5a007f
    ---
    current input event mask: 0x5a407f
    41,42c41,42
    < PointerMotionMask StructureNotifyMask SubstructureNotifyMask < SubstructureRedirectMask PropertyChangeMask
    ---
    PointerMotionMask KeymapStateMask StructureNotifyMask
    SubstructureNotifyMask SubstructureRedirectMask PropertyChangeMask

    What else should I check to report bug with more information?

    Thank you in advance


    -- System Information:
    Debian Release: testing/unstable
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.8-rc3-bk3
    Locale: LANG=C, LC_CTYPE=C

    Versions of packages mozplugger depends on:
    ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an ii libx11-6 4.3.0.dfsg.1-6 X Window Sys
  • From Yaroslav Halchenko@1:229/2 to Louis Bavoil on Tue Aug 17 04:40:08 2004
    From: [email protected]

    Dear Louis,

    This does the trick! Thank you a lot for such a great job.
    I even introduced your new mozplugger-helper.c to old debian's 1.6.0
    version and created a package so I could install it system wide and on different machines

    Now I will just wait so that these changed propagate to official debian
    package

    Thanx again

    P.S. I'm leaving the honor to close the bug under BTS to the debian
    package maintainer

    Sincerely
    Yarik


    On Mon, Aug 16, 2004 at 05:38:00PM -0600, Louis Bavoil wrote:
    Hi,

    I am the maintainer of MozPlugger. I want to fix the bug you reported (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=264955).
    I could not reproduce the bug so I need your help to fix it.

    Could you compile and try the attached version?
    If it still doesn't swallow correctly on one of your remote X server, could you please:

    1) compile MozPlugger 1.6.0 enabling the -DDEBUG flag in the Makefile
    2) install MozPlugger
    3) define the environment variable TMPDIR to /tmp (export TMPDIR=/tmp)
    4) start mozilla from the shell where you defined $TMPDIR
    5) make it fail to swallow a window
    6) send me your file /tmp/mozdebug which will have been created?

    Thanks,

    Louis



    --
    Yaroslav Halchenko
    Research Assistant, Psychology Department, Rutgers-Newark
    Office (973) 353-5440 x263 FWD: 82823
    Student Ph.D. @ CS Dept. NJIT, Master @ CS Dept. UNM
    lynx -source http://www.onerussian.com/gpg-yoh.asc | gpg --import
    GPG fingerprint 3BB6 E124 0643 A615 6F00 6854 8D11 4563 75C0 24C8


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Bernard Blackham@1:229/2 to Yaroslav Halchenko on Tue Aug 17 06:10:08 2004
    From: [email protected]

    On Mon, Aug 16, 2004 at 10:24:48PM -0400, Yaroslav Halchenko wrote:
    Could you compile and try the attached version?

    This does the trick! Thank you a lot for such a great job.

    Hi Louis,

    What was the change in the new version?

    TIA,

    Bernard.

    --
    Bernard Blackham <bernard at blackham dot com dot au>


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Yaroslav Halchenko@1:229/2 to Bernard Blackham on Tue Aug 17 06:30:07 2004
    From: [email protected]

    --jI8keyz6grp/JLjh
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: inline
    Content-Transfer-Encoding: quoted-printable

    well... probably I would do unnecessary job and jump ahead too much but
    here is the diff between 1.6.0 and 1.6.1a which I received from Louis.

    On Tue, Aug 17, 2004 at 11:47:07AM +0800, Bernard Blackham wrote:
    On Mon, Aug 16, 2004 at 10:24:48PM -0400, Yaroslav Halchenko wrote:
    Could you compile and try the attached version?

    This does the trick! Thank you a lot for such a great job.

    Hi Louis,

    What was the change in the new version?

    TIA,

    Bernard.
    --
    .-.
    =------------------------------ /v\ ----------------------------=
    Keep in touch // \\ (yoh@|www.)onerussian.com
    Yaroslav Halchenko /( )\ ICQ#: 60653192
    Linux User ^^-^^ [175555]
    Key http://www.onerussian.com/gpg-yoh.asc
    GPG fingerprint 3BB6 E124 0643 A615 6F00 6854 8D11 4563 75C0 24C8


    --jI8keyz6grp/JLjh
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: attachment; filename="patch-mozplugger-1.6.0--1.6.1a" Content-Transfer-Encoding: quoted-printable

    diff -Naur mozplugger-1.6.0/ChangeLog mozplugger-1.6.1/ChangeLog
    --- mozplugger-1.6.0/ChangeLog 2004-07-11 09:40:45.000000000 -0400
    +++ mozplugger-1.6.1/ChangeLog 2004-08-16 18:58:06.000000000 -0400
    @@ -1,3 +1,19 @@
    +2004-08-? version 1.6.1
    +
    + * mozplugger-helper.c:
    + Multiple XReparentWindow() to try to fix broken swallow.
    +
    + * mozplugger-helper.c:
    + Changed the string comparaison fun
  • From Louis Bavoil@1:229/2 to All on Tue Aug 17 10:20:10 2004
    From: [email protected]

    What was the change in the new version?

    I apparently fixed the bug doing the XReparentWindow() multiple times in
    a loop as it was in the previous versions.

    I also changed the default string matching used with swallow() from strcasecmp() to strncasecmp() to make Xpdf and Ted work without having
    to modify the rc file from the one of the version 1.6.0.

    --
    Louis


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)