[Python-modules-team] Bug#659356: breaks custom keyboard shortcuts in apps

Evgeni Golov evgeni at debian.org
Fri Feb 10 13:50:08 UTC 2012


Package: libqscintilla2-8
Version: 2.6-3
Severity: important
Tags: patch

Hi,

since 2.6, libqscintilla2 breaks apps that define custom keyboard shortcuts.
You can test it by using qscintilla2-2.6/example-Qt4/ and changing
mainwindow.cpp:

....
#include <Qsci/qscicommandset.h>
....
MainWindow::MainWindow()
{
    textEdit = new QsciScintilla;

    // these two are important
    textEdit->standardCommands()->clearKeys();
    textEdit->standardCommands()->clearAlternateKeys();

    setCentralWidget(textEdit);

    createActions();
....

The attached patch by upstream fixes the issue for me.
Please include it until 2.6.1 is released.

Regards
Evgeni

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libqscintilla2-8 depends on:
ii  libc6       2.13-26
ii  libgcc1     1:4.6.2-13
ii  libqtcore4  4:4.7.4-2
ii  libqtgui4   4:4.7.4-2
ii  libstdc++6  4.6.2-13

libqscintilla2-8 recommends no packages.

libqscintilla2-8 suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keys.patch
Type: text/x-diff
Size: 942 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20120210/acc53c61/attachment.patch>


More information about the Python-modules-team mailing list