Bug 162419 - Python gnome applets cannot request focus
Python gnome applets cannot request focus
Product: Fedora
Classification: Fedora
Component: gnome-python2-extras (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: John (J5) Palmieri
: EasyFix, Patch
: 163351 164149 (view as bug list)
Depends On:
Blocks: EasyFix-Tracker 161299 172615
  Show dependency treegraph
Reported: 2005-07-04 08:04 EDT by Luca Bruera
Modified: 2013-03-13 00:48 EDT (History)
2 users (show)

See Also:
Fixed In Version: 2.10.0-6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-07 22:08:34 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch to add Applet.request_focus (519 bytes, patch)
2005-10-31 17:57 EST, Ignacio Vazquez-Abrams
no flags Details | Diff

  None (edit)
Description Luca Bruera 2005-07-04 08:04:57 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Epiphany/1.4.4

Description of problem:
The version 2.10 of gnome-python-extras does not include a wrapper for the gnome_applet_request_focus method, thus, due to the new focus policies in gnome 2.10, it is not possible to write a python applet including a text entry of a component needing keyboard focus. Old applications need to be ported to this new API, or won't be able to get focus.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Run a python applet with a text entry
2.Click on the text entry


Actual Results:  No cursor in the text entry, so it is not possible to input text.

Expected Results:  Cursor to appear in the text entry field, and being able to input text.

Additional info:

A wrapper is available in the unstable release (2.11) of this component.
Comment 1 Walter Justen 2005-08-26 06:06:12 EDT
*** Bug 164149 has been marked as a duplicate of this bug. ***
Comment 2 Walter Justen 2005-08-26 06:06:15 EDT
*** Bug 163351 has been marked as a duplicate of this bug. ***
Comment 3 Ignacio Vazquez-Abrams 2005-10-31 17:57:23 EST
Created attachment 120591 [details]
Patch to add Applet.request_focus

Here's a patch that adds the proper method to 2.10.0.
Comment 4 Ignacio Vazquez-Abrams 2005-11-17 14:59:07 EST
Is there any possibility of having this patch added? I require it in order for
the new release of deskbar-applet to work properly.
Comment 5 John (J5) Palmieri 2006-02-01 14:33:40 EST
Should be in next update
Comment 6 Fedora Update System 2006-02-02 11:28:52 EST
From User-Agent: XML-RPC

gnome-python2-extras-2.10.0-6 has been pushed for FC4, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.
Comment 7 Ignacio Vazquez-Abrams 2006-02-07 22:08:34 EST
Works here.

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