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:
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
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.
Moving it upstream so it can be tracked by developers. https://bugzilla.gnome.org/show_bug.cgi?id=644077