Bug 681742

Summary: Clicking on "Open Calendar" in GNOME Opens Evo's Mail View, Not its Calendar View
Product: [Fedora] Fedora Reporter: David Le Sage <dlesage>
Component: evolutionAssignee: Matthew Barnes <mbarnes>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: lucilanga, maxamillion, mbarnes, mcrha, otaylor, samkraju, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-07 01:37:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Le Sage 2011-03-03 06:11:04 UTC
Description of problem:
If I click on the GNOME Shell's clock and then click on "Open Calendar", Evolution's mail view launches.  The Calendar view should launch instead,

Version-Release number of selected component (if applicable):
gnome-shell-2.91.90-2.fc15.x86_64
evolution-2.91.6.2-1.fc15.x86_64


How reproducible:
Every time.

Steps to Reproduce:
1. Click on the desktop clock.
2. Click on "Open Calendar."
 
  
Actual results:
If Evo is already open, it will become the foremost window but will not automatically switch to calendar view.

If Evo is not already running, it will launch but default to mail view and not switch to calendar view.

Expected results:
Evo should appear with the calendar view open.

Additional info:

Comment 1 Milan Crha 2011-03-03 06:53:35 UTC
Thanks for a bug report. I'm moving this to gnome-shell because I need more information from them, namely how they run evolution's calendar (the exact command).

There are two options:
a) either evolution will change its view when calendar request is received
   (I do not know yet whether it's doable)
b) gnome-shell's calendar applet will add "-c calendar" switch to its command

Comment 2 Matthew Barnes 2011-03-03 11:58:34 UTC
My guess is a).  If an Evolution is already running, I don't think we transmit the --component option to the primary instance.  I think the way it should work is to search the existing main windows for one that's showing the requested view, and if found present that.  If no main windows are showing the requested view, or if no main windows are open at all (e.g. just a composer window), create a new main window set to the requested view.  In other words, never switch views on an existing main window.

Comment 3 Matthew Barnes 2011-03-07 01:37:42 UTC
Moving it upstream so it can be tracked by developers.

https://bugzilla.gnome.org/show_bug.cgi?id=644077