Bug 1229676

Summary: Unable to launch applications from Applications menu
Product: Red Hat Enterprise Linux 7 Reporter: Siteshwar Vashisht <svashisht>
Component: gnome-shell-extensionsAssignee: Florian Müllner <fmuellner>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: urgent Docs Contact:
Priority: medium    
Version: 7.0CC: ashishks, ayadav, dkochuka, fmuellner, jraising, mdomonko, paulds, pbunyan, svashisht, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 07:20:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1133060    
Attachments:
Description Flags
Fixed call to open_new_window() method in apps-menu extension fmuellner: review+

Description Siteshwar Vashisht 2015-06-09 12:09:51 UTC
Description of problem:
Unable to launch applications from Applications menu if system is up for long time.

Version-Release number of selected component (if applicable):
gnome-shell-extension-apps-menu-3.8.4-10.el7_0.noarch

How reproducible:
Always

Steps to Reproduce:
1. Keep system up for approximately a month.
2. Try to launch applications through Applications menu

Actual results:
Applications are not launched and below error is logged in journalctl logs :

Jun 05 17:09:14 oracle-node1.i2pos gnome-session[29144]: wrapper([object GObject_Union])@/usr/share/gjs-1.0/lang.js:213
Jun 05 17:09:14 oracle-node1.i2pos gnome-session[29144]: ([object GObject_Object],[object GObject_Union])@/usr/share/gnome-shell/js/ui/popupMenu.js:87
Jun 05 17:09:14 oracle-node1.i2pos gnome-session[29144]: wrapper([object GObject_Object],[object GObject_Union])@/usr/share/gjs-1.0/lang.js:213
Jun 05 17:09:14 oracle-node1.i2pos gnome-session[29144]: "'
Jun 05 17:09:14 oracle-node1.i2pos gnome-session[29144]: JS ERROR: !!!   Exception was: Error: can't convert event.get_time() to an integer
Jun 05 17:09:14 oracle-node1.i2pos gnome-session[29144]: JS ERROR: !!!     message = '"can't convert event.get_time() to an integer"'
Jun 05 17:09:14 oracle-node1.i2pos gnome-session[29144]: JS ERROR: !!!     fileName = '"/usr/share/gnome-shell/extensions/apps-menu.github.com/extension.js"'
Jun 05 17:09:14 oracle-node1.i2pos gnome-session[29144]: JS ERROR: !!!     lineNumber = '77'
Jun 05 17:09:14 oracle-node1.i2pos gnome-session[29144]: JS ERROR: !!!     stack = '"([object GObject_Union])@/usr/share/gnome-shell/extensions/apps-menu.github.com/extension.js:77

Expected results:
Applications should be launched

Additional info:
open_new_window() method is incorrectly called with timestamp parameter and it should be fixed by passing '-1' instead of timestamp parameter.

Comment 1 Siteshwar Vashisht 2015-06-09 12:19:52 UTC
Created attachment 1036727 [details]
Fixed call to open_new_window() method in apps-menu extension

Comment 2 Florian Müllner 2015-06-12 13:35:38 UTC
Comment on attachment 1036727 [details]
Fixed call to open_new_window() method in apps-menu extension

Thanks! Patch looks good, pushed upstream.

Comment 5 Florian Müllner 2015-06-17 18:10:24 UTC
*** Bug 1173093 has been marked as a duplicate of this bug. ***

Comment 7 Matt 2015-07-09 17:04:39 UTC
Thanks, this fixed the issue for me as well. Does "pushed upstream" mean this will be in a updated package soon, or should I be patching all my systems by hand?

Comment 8 Florian Müllner 2015-07-09 17:24:28 UTC
(In reply to Matt from comment #7)
> Does "pushed upstream" mean this will be in a updated package soon

It means upstream releases 3.16.2 and later contain the fix. It is also on track to be included in RHEL 7.2, and it'd certainly be possible to roll out a fix for 7.1 provided we get the necessary permissions.

Comment 11 Florian Müllner 2015-09-22 14:06:41 UTC
*** Bug 1264952 has been marked as a duplicate of this bug. ***

Comment 15 errata-xmlrpc 2015-11-19 07:20:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2216.html