sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35996
[Bug 1525426] Re: [1.1.0] Windows: WPF based programs: App.window() does not report dimensions and positions for the main window
** Summary changed:
- App object incorrect dimensions and positions for WPF based programs
+ [1.1.0] Windows: WPF based programs: App.window() does not report dimensions and positions for the main window
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1525426
Title:
[1.1.0] Windows: WPF based programs: App.window() does not report
dimensions and positions for the main window
Status in Sikuli:
New
Bug description:
Sikuli Version: 1.1.0
OS: Windows 7 64bit Ultimate Edition
It appears any WPF based program I attempt to focus or open will
report a position of (200,200) with a dimension of (200,200). The
following is a sample of code to obtain region information from a
Visual Studio 2015 project template for WPF, window dimensions are
(350, 525):
=== WpfTest.py ===
a = App.focus("MainWindow")
print(a.window().x)
print(a.window().y)
print(a.window().w)
print(a.window().h)
print(a.window())
===Output===
[log] App.focus: [7592:MainWindow]
200
200
200
200
R[200,200 200x200]@S(0)[0,0 1920x1200] E:Y, T:3.0
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1525426/+subscriptions
References