[LDTP-Dev] [Bug 628623] New: ldtp.hasstate doesn't report focused immediately after ldtp.activate

LDTP (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 2 08:49:54 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=628623
  LDTP | ldtp2 | 2.0.0

           Summary: ldtp.hasstate doesn't report focused immediately after
                    ldtp.activate
    Classification: Other
           Product: LDTP
           Version: 2.0.0
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ldtp2
        AssignedTo: ldtp-dev at lists.freedesktop.org
        ReportedBy: brian.nitz at oracle.com
         QAContact: ldtp-dev at lists.freedesktop.org
      GNOME target: ---
     GNOME version: ---


ldtp.hasstate for some applications (e.g. gnome-terminal) never shows
state.FOCUSED even if the application is focused and even immediately after
wnck focus or ldtp.activatewindow('frmTerminal')

steps to reproduce:

python
>>>import ldtp
>>>ldtp.hasstate('frmTerminal','txt0',ldtp.state.FOCUSED)
0
>>>ldtp.activate('frmTerminal')
1
>>>ldtp.hasstate('frmTerminal','txt0',ldtp.state.FOCUSED)
0

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the LDTP-dev mailing list