Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make hotkeys trigger batch operation when multiple messages are selected #4012

Open
szotsaki opened this issue Apr 7, 2019 · 0 comments
Open
Labels
type: enhancement New features or improvements to existing features.

Comments

@szotsaki
Copy link

szotsaki commented Apr 7, 2019

Expected behavior

Select multiple e-mails then on hardware keyboard press M (for move). It asks in which folder to move them.

Actual behavior

It moves only one mail instead of all of the selected. If I use the "right click" menu, then all the selected e-mails are moved.

Environment

K-9 Mail version: 5.600

Android version: 8.0.0

Account type (IMAP, POP3, WebDAV/Exchange): IMAP

Please take some time to retrieve logs and attach them here:

04-07 18:10:07.636 13473 13473 W ViewRootImpl[ChooseFolder]: Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_M, scanCode=50, metaState=0, flags=0x28, repeatCount=0, eventTime=319986052, downTime=319986003, deviceId=14, source=0x101 }
04-07 18:10:07.637 13473 13473 I chatty  : uid=10221(u0_a221) com.fsck.k9 identical 7 lines
04-07 18:10:07.637 13473 13473 W ViewRootImpl[ChooseFolder]: Cancelling event due to no window focus: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_M, scanCode=50, metaState=0, flags=0x28, repeatCount=0, eventTime=319986052, downTime=319986003, deviceId=14, source=0x101 }
04-07 18:10:10.889 13473 13490 I MessagingController: Running command 'moveMessagesInThread', seq = 13 (background priority)
04-07 18:10:10.896 13473 13490 D LocalStore: Query = SELECT subject, sender_list, date, uid, flags, messages.id, to_list, cc_list, bcc_list, reply_to_list, attachment_count, internal_date, messages.message_id, folder_id, preview, threads.id, threads.root, deleted, read, flagged, answered, forwarded, message_part_id, messages.mime_type, preview_type, header FROM messages LEFT JOIN threads ON (threads.message_id = messages.id) LEFT JOIN message_parts ON (message_parts.id = messages.message_part_id) LEFT JOIN folders ON (folders.id = messages.folder_id) WHERE (empty = 0 AND deleted = 0) AND (threads.root = ?) ORDER BY date DESC
04-07 18:10:10.919 13473 13473 W IInputConnectionWrapper: requestCursorAnchorInfo on inactive InputConnection
04-07 18:10:11.011 13473 13490 I MessagingController: moveOrCopyMessageSynchronous: source folder = INBOX, 1 messages, destination folder = <redacted>, isCopy = false
04-07 18:10:11.013 13473 13490 D LocalFolder: Updating folder_id to 20 for message with UID 36165, id 24716 currently in folder INBOX
04-07 18:10:11.131 13473 13490 I MessagingController:  Command 'moveMessagesInThread' completed
@cketti cketti added the type: enhancement New features or improvements to existing features. label Oct 12, 2019
@cketti cketti changed the title It's not possible to move multiple selected mails at once with key "M" Make hotkeys trigger batch operation when multiple messages are selected Oct 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New features or improvements to existing features.
Projects
None yet
Development

No branches or pull requests

2 participants