Bug 376388 - Regression kMail 5.4.2: "Shift-Delete" hotkey does not work as expected any more, while "Strg-A" does not work as advertised in the Edit menu
Summary: Regression kMail 5.4.2: "Shift-Delete" hotkey does not work as expected any m...
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: message list (show other bugs)
Version: Git (master)
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-12 09:49 UTC by Gunter Ohrner
Modified: 2017-02-14 07:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gunter Ohrner 2017-02-12 09:49:09 UTC
My use case for removing unwanted mail in folder was to jump to other mails using the "->" button or "+"/"n" keys and pressing Shift-Delete to remove them for good if I do not want to keep them.

This still worked fine since ages until kMail 5.4.1 but not any more with 5.4.2:

After navigating to another message using "+", "n" or by clicking a folder, the next message is highlighted in the message list but does not get keyboard focus - any additional hotkey pressed at this point does not work on this message.

You have to explicitly click the message again with the mouse to make Shift-Delete work, after which the keyboard focus gets lost again, so I even cannot delete subsequent mails using the keyboard IF I explicitly clicked into the message list.

This is pretty annoying as if I want to delete 10 mails in a folder one after another and have a quick glance at their contents before doing so, this previously just required pressing "Shift-Delete" ten times and looking at the message content pane in between. Since the last update, it requires 10 additional changes between keyboard and mouse and ten additional mouse clicks... :-(

KMail Version 5.4.2
KDE Frameworks 5.30.0
Qt 5.7.1 (kompiliert gegen 5.7.0)
Das xcb Fenstersystem
Comment 1 Gunter Ohrner 2017-02-12 10:04:34 UTC
Mh, the problem behaves slightly different than I first thought:

The focus gets removed from the message list after just clicking the message for the first time. The focus is then transfered to the message content pane.

Hotkeys for message navigation still work as expected.

Yet at least two hotkeys I tested stopped working now:

* Shift-Delete: It only works if the message has the focus in the message list.
  If the message content pane is focused, this hotkey does nothing.
  
  Curiously, pressing just "Delete" (move to trash) works in both cases.

  Maybe the Shift-Delete hotkey just needs to be activated if the message
  content pane, in addition to the message list?

  Then I'd be happy, as far as I can tell at the moment. ;)

* Another hotkey which does not work any longer as advertised is Ctrl-A.

  In the Edit menu, it explicitly states that it will select all messages in
  the message list.

  What it now actually does is selecting the message's text.

  Actually, for my usage behaviour this is an improvement, as I already pressed
  Ctrl-A in the past several times, implicitly expecting the message text to be
  selected, and always was slightly surprised all messages in the list got
  selected instead.

  Maybe you should assign a new hotkey to "Select all messages in list" and
  leave Ctrl-A to mean "select everything in the currently focused window area"
  as it is now?
Comment 2 Peter Adamka 2017-02-14 06:49:52 UTC
Same with the version 5.4.3.
After selecting the mail in message list, mail is loaded, but doesn't return focus back to 'list panel'.
Comment 3 Laurent Montel 2017-02-14 07:23:22 UTC
You need qt 5.8.0
Regards