Your message dated Thu, 03 Aug 2006 13:33:38 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#344147: fixed in lyx 1.4.2-3
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)

--- Begin Message ---
Package: lyx-qt
Version: 1.3.6-1
Severity: minor
Tags: patch, upstream

When using the Emacs keybindings, many Lyx functions are bound to keystrokes
that are documented and shown in the menus prefixed with M- (Meta).  This
key is associated with the Mod1 modifier on my Sun type 5 and type 6
keyboards and (presumably) other keyboards with Meta keys.  On PC keyboards,
Mod1 is bound to Alt.

The xforms version of Lyx checks for this modifier and works as
expected.  The Qt version doesn't, because it only checks for Alt.

As the shortcuts in lyx-qt haven't been changed to read "Alt-" and the
previous xforms version used to work fine with Meta keys, I'm considering
this a regression -- hence the non-wishlist severity.

The simple patch below fixes this problem by treating Alt and Meta the same
in the Qt frontend.  It is submitted here in hopes of inclusion in an
upcoming revision, and to keep my number of useless Bugzilla accounts down ;)


diff -Nuar lyx-1.3.6_orig/src/frontends/qt2/QContentPane.C 
lyx-1.3.6/src/frontends/qt2/QContentPane.C
--- lyx-1.3.6_orig/src/frontends/qt2/QContentPane.C     2005-07-14 
09:42:47.000000000 +0100
+++ lyx-1.3.6/src/frontends/qt2/QContentPane.C  2005-12-18 02:46:59.000000000 
+0000
@@ -36,7 +36,7 @@
                k |= key_modifier::ctrl;
        if (state & Qt::ShiftButton)
                k |= key_modifier::shift;
-       if (state & Qt::AltButton)
+       if (state & Qt::AltButton || state & Qt::MetaButton)
                k |= key_modifier::alt;
        return k;
 }


Cheers,
Stelios Bounanos (sb()enotty()net)


--- End Message ---
--- Begin Message ---
Source: lyx
Source-Version: 1.4.2-3

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

lyx-common_1.4.2-3_all.deb
  to pool/main/l/lyx/lyx-common_1.4.2-3_all.deb
lyx-qt_1.4.2-3_i386.deb
  to pool/main/l/lyx/lyx-qt_1.4.2-3_i386.deb
lyx-xforms_1.4.2-3_i386.deb
  to pool/main/l/lyx/lyx-xforms_1.4.2-3_i386.deb
lyx_1.4.2-3.diff.gz
  to pool/main/l/lyx/lyx_1.4.2-3.diff.gz
lyx_1.4.2-3.dsc
  to pool/main/l/lyx/lyx_1.4.2-3.dsc
lyx_1.4.2-3_i386.deb
  to pool/main/l/lyx/lyx_1.4.2-3_i386.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Per Olofsson <[EMAIL PROTECTED]> (supplier of updated lyx 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Thu,  3 Aug 2006 21:12:07 +0200
Source: lyx
Binary: lyx-qt lyx-common lyx-xforms lyx
Architecture: source i386 all
Version: 1.4.2-3
Distribution: unstable
Urgency: low
Maintainer: Debian LyX Maintainers <[EMAIL PROTECTED]>
Changed-By: Per Olofsson <[EMAIL PROTECTED]>
Description: 
 lyx        - High Level Word Processor
 lyx-common - High Level Word Processor - common files
 lyx-qt     - High Level Word Processor - Qt frontend
 lyx-xforms - High Level Word Processor - XForms frontend
Closes: 344147 380860
Changes: 
 lyx (1.4.2-3) unstable; urgency=low
 .
   [ Sven Hoexter ]
   * Make use of the Meta key in the QT frontend.
     Thanks to Stelios Bounanos. Closes: #344147
   * lyx-qt now recommends latex-xft-fonts instead of depending on it.
     According to Policy Section 2.5 packages must not depend on other
     packages with a lower priority.
   * Updated the FSF postal address in the copyright file.
   * Python transition:
      - Added XB-Python-Version to debian/control(.in) (lyx-common)
      - Now we build-dep on debhelper (>=5.0.37.2)
      - Replaced the lyx-common depend on python with ${python:Depends}
      - Added debian/pycompat file with version 2
      - Added dh_pysupport and dh_python calls to debian/rules
      Closes: #380860
 .
   [ Per Olofsson ]
   * Made binary-indep and binary-arch separate.
   * Use dh_pysupport.
Files: 
 f04d27ff5079e36e46eb278d25ced3dd 997 editors optional lyx_1.4.2-3.dsc
 036ab038087d2f6da87cf82a52842ced 18897 editors optional lyx_1.4.2-3.diff.gz
 708ef4ca72c2a6ff7be139b2da2b8268 3901854 editors optional 
lyx-common_1.4.2-3_all.deb
 2000be5b72745574d66c61589f7afcc2 494348 editors optional lyx_1.4.2-3_i386.deb
 94652ede09da4f656903dbcc506eabf6 2114944 editors optional 
lyx-qt_1.4.2-3_i386.deb
 098144a1062ac0d4a4f209b1eaba1af3 2012510 editors optional 
lyx-xforms_1.4.2-3_i386.deb

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

iD8DBQFE0lVreDAsS42/7C8RAgCTAKCyY4DoWfEEk5WzFfltJXGUtx8qLQCgye81
w1FwyWQkxuizfj347udV8VA=
=bDBw
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to