Bug 681742 - Clicking on "Open Calendar" in GNOME Opens Evo's Mail View, Not its Calendar View
Summary: Clicking on "Open Calendar" in GNOME Opens Evo's Mail View, Not its Calendar ...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthew Barnes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-03 06:11 UTC by David Le Sage
Modified: 2011-03-07 01:37 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-03-07 01:37:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 644077 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.