Version: (using KDE KDE 3.1.2) Installed from: Debian testing/unstable Packages OS: Linux I can't figure out how to bind a key to simply view a message. Also, on a related note, it would be nice if pushing a key twice brought up a window and then closed it if the same message was selected. My desired behaviour is this: 1. You select a message 2. You press something like 'V' to view the message 3. You're done reading it, so you press 'V' again to make the new window disappear 4 - configurable both ways 4a. If you selected another message and pressed 'V' it would bring up that new message in a new window, leaving the old window alone (the only way to close that window is now with CTRL-W or the window manager control) 4b. If you selected another message it would bring up that new message in the existing view window (which can be closed by pressing 'V')
*** Bug 80514 has been marked as a duplicate of this bug. ***
IMHO a missing keybinding for such an essential action is a bug. And no, I wouldn't use it so I'm pretty objective here :-)
*** Bug 82193 has been marked as a duplicate of this bug. ***
CVS commit by tilladam: Finally fix KMail's number one a11y problem by making a KAction which displays the current message in a separate reader window and assigning the Return key to it by default. CCMAIL: 59927-done@bugs.kde.org M +11 -1 kmmainwidget.cpp 1.260 M +1 -0 kmmainwidget.h 1.74 --- kdepim/kmail/kmmainwidget.cpp #1.259:1.260 @@ -1992,4 +1992,10 @@ void KMMainWidget::slotPrevImportantMess } +void KMMainWidget::slotDisplayCurrentMessage() +{ + if ( mHeaders->currentMsg() ) + slotMsgActivated( mHeaders->currentMsg() ); +} + //----------------------------------------------------------------------------- //called from headers. Message must not be deleted on close @@ -2737,4 +2743,8 @@ void KMMainWidget::setupActions() "view_source" ); + ( void ) new KAction( i18n("&Display Message"), Key_Return, this, + SLOT( slotDisplayCurrentMessage() ), actionCollection(), + "display_message" ); + //----- Go Menu new KAction( KGuiItem( i18n("&Next Message"), QString::null, --- kdepim/kmail/kmmainwidget.h #1.73:1.74 @@ -324,4 +324,5 @@ protected slots: /** etc. */ + void slotDisplayCurrentMessage(); void slotMsgActivated(KMMessage*);
On Sunday 12 September 2004 2:51pm, Till Adam wrote: > Finally fix KMail's number one a11y problem by making a KAction which > displays the current message in a separate reader window and assigning > the Return key to it by default. Thanks Till! Will this be in 3.3.1 or just in HEAD? Rob
> On Sunday 12 September 2004 2:51pm, Till Adam wrote: > > Finally fix KMail's number one a11y problem by making a KAction which > > displays the current message in a separate reader window and assigning > > the Return key to it by default. > > Thanks Till! Will this be in 3.3.1 or just in HEAD? Ingo? I would think it's worth backporting.