Bugzilla – Bug 510841
TabPage: off screen tab page is missing "visible" state
Last modified: 2009-06-10 10:17:27 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:
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
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.
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?
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)
Created attachment 297133 [details] python script to get tabpages' states
I reopen it because it can be reproduced in my laptop. Thanks Felicia!
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.
Created attachment 297157 [details] new tabpage sample with 9 tab pages