ctrl+q shortcut key does not work 0.4.1

Bug #1172980 reported by William Mitchell Jr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qpdfview
Incomplete
Medium
Unassigned

Bug Description

Ctrl+Q shortcut key does not work.
built with Qt 4.8.4 from qpdfview-0.4.1.tar.gz

In
mainwindow.cpp
if
m_exitAction->setShortcut(QKeySequence::Quit);
is replaced with
m_exitAction->setShortcut( tr("Ctrl+Q"));
it works.

I'm on
Debian/Sid
KDE 4.8.4
kernel 3.2.39-2 i686

Revision history for this message
Adam Reichold (adamreichold) wrote :

Hello William,

Thanks for your report. The constant "QKeySequence::Quit" is a context sensitive keyboard shortcut that should map to Ctrl+Q when running KDE. But I am not sure we can diagnose the problem we there observations alone.

Is the shortcut "Ctrl+Q" displayed in the menu? Have you tried setting "Ctrl+Q" in the shortcut editor in the settings dialog? Do any other shortcuts seem inoperable? (Last but not least, if you build from source: Have you tried building the current release 0.4.2 or even a snapshot from trunk? There are several changes to keyboard handling done in those. Or maybe try Benjamin's next package at [1].)

Best regards, Adam.

[1] http://mentors.debian.net/package/qpdfview

Changed in qpdfview:
status: New → Incomplete
importance: Undecided → Medium
Revision history for this message
William Mitchell Jr (wdmjun) wrote : Re: [Bug 1172980] Re: ctrl+q shortcut key does not work 0.4.1

Adam,
The "Ctrl+Q" is not displayed when compiled from source,
but "Ctrl-Q" is displayed when compiled after my patch is applied.
All other shortcuts appear to be working (but I have not tested all of them
yet).
I'll try the snapshot from trunk.
WM

On Fri, Apr 26, 2013 at 12:45 AM, Adam Reichold <email address hidden>wrote:

> Hello William,
>
> Thanks for your report. The constant "QKeySequence::Quit" is a context
> sensitive keyboard shortcut that should map to Ctrl+Q when running KDE.
> But I am not sure we can diagnose the problem we there observations
> alone.
>
> Is the shortcut "Ctrl+Q" displayed in the menu? Have you tried setting
> "Ctrl+Q" in the shortcut editor in the settings dialog? Do any other
> shortcuts seem inoperable? (Last but not least, if you build from
> source: Have you tried building the current release 0.4.2 or even a
> snapshot from trunk? There are several changes to keyboard handling done
> in those. Or maybe try Benjamin's next package at [1].)
>
> Best regards, Adam.
>
> [1] http://mentors.debian.net/package/qpdfview
>
> ** Changed in: qpdfview
> Status: New => Incomplete
>
> ** Changed in: qpdfview
> Importance: Undecided => Medium
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1172980
>
> Title:
> ctrl+q shortcut key does not work 0.4.1
>
> Status in qpdfview:
> Incomplete
>
> Bug description:
> Ctrl+Q shortcut key does not work.
> built with Qt 4.8.4 from qpdfview-0.4.1.tar.gz
>
> In
> mainwindow.cpp
> if
> m_exitAction->setShortcut(QKeySequence::Quit);
> is replaced with
> m_exitAction->setShortcut( tr("Ctrl+Q"));
> it works.
>
> I'm on
> Debian/Sid
> KDE 4.8.4
> kernel 3.2.39-2 i686
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qpdfview/+bug/1172980/+subscriptions
>

Revision history for this message
Adam Reichold (adamreichold) wrote :

Merged this with bug #1174119 to reduce tracking overhead as this is probably the same issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.