Bug 742992

Summary: Calculator shortcut does not work
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: gnome-settings-daemonAssignee: Bastien Nocera <bnocera>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: bnocera, browning48ky, bugzilla.1.evade, erik, farrellj, maxamillion, mkasik, motoskov, otaylor, rstrode, samkraju, walters
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-22 18:52:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tim Waugh 2011-10-03 14:26:50 UTC
Description of problem:
When pressing the shortcut assigned to "Calculator", no calculator window is shown.  Instead, this appears in .xsession-errors:

(gnome-settings-daemon:1805): media-keys-plugin-WARNING **: Could not find application 'gcalctool.desktop'

It seems like the desktop filename has changed to gnome-gcalctool.desktop.

Version-Release number of selected component (if applicable):
gnome-shell-3.2.0-2.fc16.x86_64
gcalctool-6.2.0-1.fc16.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Press the Calculator button (or whatever key is assigned to that shortcut)
  
Actual results:
No calculator

Expected results:
A calculator

Comment 1 Tim Waugh 2011-12-01 09:40:52 UTC
This is working now (gnome-shell-3.2.1-2.fc16.x86_64, gcalctool-6.2.0-1.fc16.x86_64).

Comment 2 Tim Waugh 2012-05-09 16:49:34 UTC
...and it's broken again in gnome-shell-3.4.1-3.fc17.x86_64.

Comment 3 Tim Waugh 2012-05-09 16:50:02 UTC
This time it's the other way around.  The installed file is gcalctool.desktop but gnome-shell is looking for gnome-gcalctool.desktop.

Comment 4 Owen Taylor 2012-05-09 17:02:25 UTC
And this isn't just a stale shortcut you created in the past when the desktop file was called gnome-gcalctool.desktop? If you remove from favorites and add to favorites again does it work? (I'm not saying it's good that shortcuts break, but it's hard to get around if apps change their desktop file name, which is the identifier we use to identify an application.)

Comment 5 Tim Waugh 2012-05-10 08:37:07 UTC
It's not a stale shortcut.  It also happens on e.g. a newly installed virtual machine.

1. System Settings -> Keyboard -> Shortcuts
2. Click on the shortcut next to 'Launch calculator'
3. Set a shortcut the virtual machine can hear e.g. Alt-C
4. Now press Alt-C
5. tail .xsession-errors

(gnome-settings-daemon:1114): media-keys-plugin-WARNING **: Could not find
application 'gnome-gcalctool.desktop'

Looks like the culprit is gsd-calculator.patch which just needs to be dropped.

Comment 6 Jason Farrell 2012-05-20 06:50:15 UTC
Noticed this bug today, but then as a workaround discovered a gnome shell calculator extension that's slightly more convenient than the standalone gcalctool.  WinKey + expression + WinKey   VS   Calculator key + expression + enter + alt-f4.

Comment 7 David 2012-05-31 05:20:18 UTC
I recently upgraded to Fedora 17 and have noticed the bug still occurs with;
 gnome-shell-3.4.1-5.fc17.x86_64
 gcalctool-6.4.1.1-1.fc17.x86_64

(gnome-settings-daemon:1760): media-keys-plugin-WARNING **: Could not find application 'gnome-gcalctool.desktop'


I use a keyboard which has a dedicated calculator button, so I'm not very keen to use other work arounds!

Comment 8 Andrey Motoshkov 2012-06-13 11:10:10 UTC
Same on my Fedora 17:
(gnome-settings-daemon:1401): media-keys-plugin-WARNING **: Could not find application 'gnome-gcalctool.desktop'

gnome-settings-daemon-3.4.2-1.fc17.x86_64
gcalctool-6.4.2.1-1.fc17.x86_64

Workaround I used:
ln -s /usr/share/applications/gcalctool.desktop /usr/share/applications/gnome-gcalctool.desktop

Comment 9 Fedora Update System 2012-06-14 11:41:31 UTC
gnome-settings-daemon-3.4.2-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/gnome-settings-daemon-3.4.2-3.fc17

Comment 10 Fedora Update System 2012-06-15 12:25:03 UTC
Package gnome-settings-daemon-3.4.2-3.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-settings-daemon-3.4.2-3.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-9463/gnome-settings-daemon-3.4.2-3.fc17
then log in and leave karma (feedback).

Comment 11 Tim Waugh 2012-06-22 17:08:18 UTC
Works fine here.  Thanks!

Comment 12 Fedora Update System 2012-06-22 18:52:38 UTC
gnome-settings-daemon-3.4.2-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.