GNOME Bugzilla – Bug 677907
Indicate that Evolution is being launched when "Open Calendar" is clicked
Last modified: 2012-10-24 06:51:32 UTC
It takes about 20 seconds to launch Evolution the first time "Open Calendar" is clicked and about 5 seconds each subsequent time. Switching to an already open Evolution Calendar window when "Open Calendar" is clicked also takes about 5 seconds. During this time, the user has no indication that the system is doing anything. Provide this indication by showing the spinner along with the Evolution application name in the panel, the same way it's done when Evolution is being launched from the Overview. Also, switch to the Evolution window immediately if Evolution is already running.
[Setting the "Version" field is welcome... (in general)]
Why don't we get startup notification in this case ?
(In reply to comment #2) > Why don't we get startup notification in this case ? Because we don't launch it via a .desktop file :( Maybe we should add a (NoDisplay) evolution-calendar.desktop file for this?
If that solves this issue, sounds good to me.
The evolution guys prefer the desktop file to live with gnome-shell-calendar-server.
Marina, can you fix this ?
Matt says that just making the Exec line evolution --component calendar should be good enough The desktop file should be NoDisplay, I guess.
Created attachment 217972 [details] [review] calendar-server: Add .desktop file for evolution calendar When selecting "Open Calendar" in the date menu, the configured application is launched via command line, so we don't get any startup notification. In order to fix the issue at least for our default calendar, add a hidden .desktop file for evolution's calendar component.
Created attachment 217973 [details] [review] dateMenu: Use .desktop file to launch calendar When selecting "Open Calendar" in the date menu, the configured application is launched via command line, so we don't get any startup notification. If Evolution is used as calendar application, launch it via the .desktop file added by the last commit instead in order to fix the issue.
(sorry, I had this actually lying around in my local tree; updated to install the .desktop file ourself rather than patching evolution)
Review of attachment 217973 [details] [review]: ::: js/ui/dateMenu.js @@ +171,3 @@ // TODO: pass the selected day + let app = Shell.AppSystem.get_default().lookup_app('evolution-calendar.desktop'); + app.launch(global.get_current_time(), [], -1, null); Shouldn't this be activate?
Review of attachment 217972 [details] [review]: Sure.
Attachment 217972 [details] pushed as 20769f6 - calendar-server: Add .desktop file for evolution calendar Attachment 217973 [details] pushed as 66adeef - dateMenu: Use .desktop file to launch calendar Pushed with s/launch/activate/
*** Bug 644077 has been marked as a duplicate of this bug. ***