After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 351516 - [a11y] Evolution does not issue "focus:" events when the last message in the message header summary list is deleted.
[a11y] Evolution does not issue "focus:" events when the last message in the ...
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
2.6.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 353470 (view as bug list)
Depends on:
Blocks: 349978 353470 423346
 
 
Reported: 2006-08-15 19:15 UTC by Rich Burridge
Modified: 2021-05-19 12:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Orca debug transcript when deleting the last message from the summary list. (227.11 KB, text/plain)
2006-08-15 19:16 UTC, Rich Burridge
Details
Orca debug transcript when deleting a message from the middle of the summary list. (196.81 KB, text/plain)
2006-08-15 19:17 UTC, Rich Burridge
Details

Description Rich Burridge 2006-08-15 19:15:22 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.
Comment 1 Rich Burridge 2006-08-15 19:16:20 UTC
Created attachment 70970 [details]
Orca debug transcript when deleting the last message from the summary list.
Comment 2 Rich Burridge 2006-08-15 19:17:00 UTC
Created attachment 70971 [details]
Orca debug transcript when deleting a message from the middle of the summary list.
Comment 3 Rich Burridge 2006-08-15 19:22:14 UTC
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.

Comment 4 Li Yuan 2006-08-31 08:45:31 UTC
Rich: Did you select menu->view->hide deleted messages?
Comment 5 Li Yuan 2006-08-31 09:32:54 UTC
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?
Comment 6 Rich Burridge 2006-08-31 17:02:54 UTC
Yes, menu->view->hide deleted messages is checked.
Comment 7 Rich Burridge 2006-10-23 20:17:16 UTC
Hi. Any update on this bug?  Thanks.
Comment 8 Li Yuan 2006-10-26 07:10:52 UTC
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)
Comment 9 Rich Burridge 2007-04-17 22:21:52 UTC
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.
Comment 10 Li Yuan 2007-04-23 05:42:18 UTC
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.
Comment 11 Rich Burridge 2007-04-23 06:07:37 UTC
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.
Comment 12 Li Yuan 2007-04-23 06:16:06 UTC
Hi Srinivasa,

What's your opinion?
Comment 13 Srinivasa Ragavan 2007-04-30 05:56:49 UTC
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? 
Comment 14 Li Yuan 2007-04-30 08:23:50 UTC
Yes, I think the last message make more sense too.
Comment 15 Willie Walker 2007-07-10 15:49:06 UTC
(In reply to comment #14)
> Yes, I think the last message make more sense too.
> 

Hey All -- any progress on this problem?
Comment 16 Li Yuan 2007-07-10 16:36:37 UTC
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.
Comment 17 Willie Walker 2007-11-01 14:19:53 UTC
(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!
Comment 18 Joanmarie Diggs (IRC: joanie) 2010-04-02 14:51:06 UTC
(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!
Comment 19 Joanmarie Diggs (IRC: joanie) 2012-08-14 21:03:54 UTC
*** Bug 353470 has been marked as a duplicate of this bug. ***
Comment 20 André Klapper 2021-05-19 12:26:58 UTC
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.