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 348693 - Evolution announcement of new mail should be togglable
Evolution announcement of new mail should be togglable
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
0.2.x
Other All
: Normal enhancement
: 2.18.0
Assigned To: Rich Burridge
Orca Maintainers
: 357169 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-07-25 20:54 UTC by Rich Burridge
Modified: 2008-07-22 19:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to hopefully fix the problem. (5.29 KB, patch)
2006-10-16 18:59 UTC, Rich Burridge
none Details | Review

Description Rich Burridge 2006-07-25 20:54:21 UTC
The ability to announce new email messages in Evolution,
should be settable based on whether Evolution currently
has focus or not.

There may be instances where a user is running another application,
whjere they do not want to know whether there are new incoming email
messages.
Comment 1 Javier 2006-08-02 07:51:38 UTC
I have observed, that when arrives new mail, Orca looses focus even if you are reading an e-mail message.
If focus is on the body of the message and arrives a new one while you are reading, Orca announces changes into the list of messages component and you have to give focus again to the body in order to continue reading. I don't know if this is related to this or perhaps it should be turned into a bug instead of a RFE.
Comment 2 Rich Burridge 2006-10-11 21:07:04 UTC
After talking with Will on this, the approach we are going to take is
as follows.

* There will be a new variable in script.py called presentIfInactive
  (default value of False).

* In _processObjectEvent() in focus_tracking_presenter.py a check will
  be made to see if the event is for an application that's not the current
  active one. If it is, and presentIfInactive is False, then that event is
  not processed.

* Scripts (such as gaim) can set self.presentIfInactive to True, in order
  to get feedback on things like new chat massages being read.
Comment 3 Rich Burridge 2006-10-12 17:47:22 UTC
The other part that I forgot to add yesterday was:

* add in an Insert-m hot-key handler to the Evolution script
  so that it will toggle the self.presentIfInactive
  setting and therefore toggle the presenting of new email.
Comment 4 Willie Walker 2006-10-15 00:25:51 UTC
Add accessibility keyword.  Apologies for spam.
Comment 5 Rich Burridge 2006-10-16 18:59:01 UTC
Created attachment 74836 [details] [review]
Patch to hopefully fix the problem.

This also fixes bug #257169.
Comment 6 Rich Burridge 2006-10-16 19:02:03 UTC
Changes checked in CVS HEAD. Closing as FIXED.
Javier, if you are still seeing the problem in 
comment #1, please file a separate bug. If this 
is indeed happening, then it's a bug in Evolution, 
and I'll file a bug there, and block the new Orca 
bug against it. 

Thanks.
Comment 7 Rich Burridge 2006-10-16 19:02:31 UTC
*** Bug 357169 has been marked as a duplicate of this bug. ***
Comment 8 Rich Burridge 2006-10-19 18:19:25 UTC
Note that we decided to reverse the default action of presentIfInactive.
See the second patch to bug #363423.