Bug 510841 - TabPage: off screen tab page is missing "visible" state
Summary: TabPage: off screen tab page is missing "visible" state
Status: REOPENED
Alias: None
Product: UI Automation
Classification: Mono
Component: Winforms - UIA (show other bugs)
Version: Release 1.0
Hardware: x86 openSUSE 11.1
: P5 - None : Minor
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-08 08:40 UTC by calen chen
Modified: 2009-06-10 10:17 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
python script to get tabpages' states (542 bytes, text/x-python)
2009-06-10 08:55 UTC, calen chen
Details
new tabpage sample with 9 tab pages (6.08 KB, text/x-python)
2009-06-10 10:17 UTC, calen chen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description calen chen 2009-06-08 08:40:20 UTC
If a tab page is off screen that is not showing(correct), but also missing visible state(I think it's incorrect)

according to AtkState, VISIBLE is indicates this object is visible.

REPRO:

1. run uia2atk/test/samples/tabpage.py
2. run accerciser, expand 'page tab list', browse to the last one tab page Tab6
3. under interface viewer, see states

RESULTS:

Tab6 obviously can be visit when you press "Tab"/"right" or click arrow to navigate to focus it that it's mean Tab6 is visible, but now, when it 's obscured by other tabs, Tab6 tab page is missing visible state (not showing is correct)

EXPECTED RESULTS:
expect all off screen tab pages have 'visible' state 

COMMENTS:
Comment 1 Feng Xia Mu 2009-06-10 06:27:09 UTC
hi callen,
the bug is duplicate to bug 495043, and as your REPRO  , all the tab page have the "visible" state, even if the Tab is obscured by other tabs, so I think the bug can be closed since the bug 495043 is closed.

test on:
mono-core-135601-1177.src.rpm
mono-uia-132785-276.src.rpm
uiaatkbridge-134036-662.src.rpm
uiautomationwinforms-134512-668.src.rpm
Revision: 135818
Comment 2 calen chen 2009-06-10 06:52:11 UTC
In my laptop, this bug is not duplicate to bug 495043, Tab6 is off screen (UISpy shows IsOffScreen=True), so It shouldn't have 'showing' state that is correct, but it should have *visible. bug 495043 was created for all showing TabPages that was missing 'showing' and 'visible' states. (I mentioned "all page tab are visible and showing" in bug 495043 because the sample is not updated to add more tabpage at that time:) )

but werid thing is this issue only can ba reproduced in my laptop. 

in Felicia and Neville's laptop shows another issue that is the off screen TabPage(Tab6) have extraneous 'showing' state.
Comment 3 Feng Xia Mu 2009-06-10 08:19:47 UTC
hi callen
according to Comment #2, I think bug 495043 's "EXPECTED RESULTS" comment is not correct(for the newest updated sample), so I think we need open a new bug 511516 to describe this issue, I suggest close this bug as invalid, because the bug is about the "visible" state, the "visible" state exists all the time at (mine , Neville and Ray's machine),how do you think?
Comment 4 calen chen 2009-06-10 08:54:21 UTC
I don't think it's invalid, because I can reproduce it, we need to do is trying more machine to see if they can be reproduce, and figure out why my system can reproduce it, what do you think?

also I create a python script for people to run to get tabpage's states(see attachment)
Comment 5 calen chen 2009-06-10 08:55:38 UTC
Created attachment 297133 [details]
python script to get tabpages' states
Comment 6 calen chen 2009-06-10 08:57:37 UTC
I reopen it because it can be reproduced in my laptop. Thanks Felicia!
Comment 7 calen chen 2009-06-10 10:16:03 UTC
Okay, I know how why I can reproduce this issue, because I changed DPI and font size of my system :)

so please run the attachment new sample in which I have expand tabpage to Tab9,  when you browse to Tab7 or Tab8 from accerciser left treeview, you may see a red rectangle appeared on the border of window right side on GUI, when you browse to Tab9 which is out of range from the form, then you may see the issue.
Comment 8 calen chen 2009-06-10 10:17:27 UTC
Created attachment 297157 [details]
new tabpage sample with 9 tab pages