GNOME Bugzilla – Bug 351516
[a11y] Evolution does not issue "focus:" events when the last message in the message header summary list is deleted.
Last modified: 2021-05-19 12:26:58 UTC
Tested on Ubuntu Dapper Drake with Evolution 2.6.1 and latest Orca from CVS HEAD. Evolution does not issue "focus:" events when the last message in the message header summary list is deleted. Steps to reproduce. * Start Orca * Start Evolution in mail view. * Keep Tabbing until focus is in the mail message summary list. * Keep hitting Down arrow until the last message in the list is selected. * Hit Return to open that message in its own window. * Hit Delete to delete that message. I will attach two sets of Orca debug. The first one is a transcript of the actions above. The second one is a similar transcript but a message in the middle of the mail summary header list is selected, opened and deleted. For the latter you will see that we get the appropriate "focus:" events.
Created attachment 70970 [details] Orca debug transcript when deleting the last message from the summary list.
Created attachment 70971 [details] Orca debug transcript when deleting a message from the middle of the summary list.
More details on what's going on here. 1/ Deleting the last message from the mail header summary list. The Delete key event is at line 4253 in this transcript. Here are the OBJECT events generated from that point on: OBJECT EVENT: object:selection-changed detail=(0,0) OBJECT EVENT: object:selection-changed detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:state-changed:showing detail=(0,0) OBJECT EVENT: object:state-changed:visible detail=(0,0) OBJECT EVENT: object:children-changed detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:state-changed:showing detail=(1,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:state-changed:showing detail=(0,0) OBJECT EVENT: object:state-changed:visible detail=(0,0) OBJECT EVENT: object:text-caret-moved detail=(2411,0) OBJECT EVENT: object:text-changed:delete detail=(0,140) OBJECT EVENT: object:text-caret-moved detail=(2432,0) OBJECT EVENT: object:text-changed:insert detail=(2271,162) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:children-changed detail=(0,0) OBJECT EVENT: object:state-changed:showing detail=(0,0) OBJECT EVENT: object:children-changed:delete detail=(0,0) OBJECT EVENT: object:state-changed:visible detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) You will notice that there are no "focus:" events. 2/ Deleting a message from the middle of the mail header summary list. The Delete key event is at line 3515 in this transcript. Here are the OBJECT event sgenerated from that point on: OBJECT EVENT: object:selection-changed detail=(0,0) OBJECT EVENT: object:selection-changed detail=(0,0) OBJECT EVENT: object:selection-changed detail=(0,0) OBJECT EVENT: focus: detail=(0,0) OBJECT EVENT: focus: detail=(0,0) OBJECT EVENT: focus: detail=(0,0) OBJECT EVENT: focus: detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:state-changed:showing detail=(0,0) OBJECT EVENT: object:state-changed:visible detail=(0,0) OBJECT EVENT: object:children-changed detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:state-changed:showing detail=(0,0) OBJECT EVENT: object:state-changed:visible detail=(0,0) OBJECT EVENT: object:children-changed detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-value detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) OBJECT EVENT: object:property-change:accessible-name detail=(0,0) You will notice that there are "focus:" events. See the full transcripts for more details on what is going on.
Rich: Did you select menu->view->hide deleted messages?
If you are not using that option, I think when the last message in the list is deleted, no focus event emit is reasonable. Or you think window contain the message list should emit focus signal?
Yes, menu->view->hide deleted messages is checked.
Hi. Any update on this bug? Thanks.
I think this is becase when you delete the last message in the message list, no message actually get the focus. (normally the next message will get the focus)
Just to make sure there is no misunderstanding here. When I write about "last message" here, I don't mean that this was the very last message in the mail folder and now it's empty. I mean "previous message". So, is your comment of: "I think this is becase when you delete the last message in the message list, no message actually get the focus. (normally the next message will get the focus)" still correct under these circumstances? Thanks.
Oh, I thought you mean the folder is empty. So, I tried it again. 1. I moved the focus to the last message (there are about 10 messages in the folder). 2. pressed enter to open it. 3. pressed delete. Now, I found in the Evolution main window, no message got the focus. If the message I opened is not the last one, like the 2nd one in the folder. After I pressed delete, the 3rd one will get the focus. I think this is why no "focus:" is emitted.
Right. Would it be possible for the last message now in the folder (i.e. the one above the one you just deleted) to get focus? That seems a logical solution to me. Thanks.
Hi Srinivasa, What's your opinion?
Li Yuan, the selection of the second last message (This will be last after the deletion) sounds reasonable to me. Is this bug anyway related to bug 332765 or the other way around?
Yes, I think the last message make more sense too.
(In reply to comment #14) > Yes, I think the last message make more sense too. > Hey All -- any progress on this problem?
Just tried. I can not remember my previous debug result. Now, when I delete the last message, the second last message get the focus. But no matter I delete the last message or other message, I cannot see the focus: signal... I will look at this when I am back from vacation.
(In reply to comment #16) > Just tried. I can not remember my previous debug result. Now, when I delete the > last message, the second last message get the focus. But no matter I delete the > last message or other message, I cannot see the focus: signal... I will look at > this when I am back from vacation. > Just a quick ping to see how progress is being made on this bug. Thanks!
(In reply to comment #16) > Just tried. I can not remember my previous debug result. Now, when I delete the > last message, the second last message get the focus. But no matter I delete the > last message or other message, I cannot see the focus: signal... I will look at > this when I am back from vacation. Li, I know you're busy, but any chance you can revisit this one? Thanks!
*** Bug 353470 has been marked as a duplicate of this bug. ***
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines and create a new bug report ticket at https://gitlab.gnome.org/GNOME/evolution/-/issues/ Thank you for your understanding and your help.