Bugzilla – Bug 511516
TabPage: the off screen tab page should not have the "showing" state
Last modified: 2009-06-26 18:16:55 UTC
Comment: when the TabPage sample is launched on Windows, we can see its "Visibility" on UISpy: " "Tab item" "Tab 0" IsOffscreen: "False" "Tab item" "Tab 1" IsOffscreen: "False" "Tab item" "Tab 2" IsOffscreen: "False" "Tab item" "Tab 3" IsOffscreen: "False" "Tab item" "Tab 4" IsOffscreen: "False" "Tab item" "Tab 5" IsOffscreen: "True" "Tab item" "Tab 6" IsOffscreen: "True" " so, for the "Tab 5" and "Tab 6" which are not showing on TabPage Sameple , they should have not 'showing' state. if other "Tab"s not not showing on screen, they should have 'showing' state too. REPRO: 1. run uia2atk/test/samples/tabpage.py 2. run accerciser, expand 'page tab list',select from "Tab 0" to "Tab 6" 3. under interface viewer, see their states 4. click the right label arrow all the time, make only "Tab 6" can be seen. 5. in accerciser, select from "Tab 0" to "Tab 6",under interface viewer, see states RESULTS: step 3: all the "tab page" have 'showing' state step 6: all the "tab page" have 'showing' state EXPECTED RESULTS: step 3: refer to Comment, "Tab 5" and "Tab 6" should not have 'showing' state step 6: only "Tab 6" can have 'showing' state
after discussing with Calen, our conclusion is : although the "Tab5" and "Tab 6" is not seeing on the "page tab list" , but they actually on the "Tab control" frame, can have the 'showing' state. look at the two attachment. so close this bug.
Created attachment 299919 [details] the "Tab 5"'s state
Created attachment 299921 [details] the "Tab 6"'s state
if we enlarge the screen resolution, the "Tab 6" will not on the "Tab control" frame as well as been removed the "showing" state, so if you have any other ideas welcome to discuss:)
(In reply to comment #4) > if we enlarge the screen resolution, the "Tab 6" will not on the "Tab control" > frame as well as been removed the "showing" state, so if you have any other > ideas welcome to discuss:) Just wanted to clarify this statement. What Felicia is saying is that when the "page tab" accessible is completely outside the boundaries of the application frame, that "page tab" accessible will not have the showing state.
I actually think this is a valid bug. To me, I think it is reasonable to expect that a "page tab" accessible that is completely outside of the boundaries of the "page tab list" should not have the "showing" state even if it is within the boundaries of the application frame. It would be nice to get some developer feedback here. I am CCing Brad (who worked on this).
Thanks Brian, I will reopen this bug waiting to get the feedback.
(In reply to comment #6) > I actually think this is a valid bug. To me, I think it is reasonable to > expect that a "page tab" accessible that is completely outside of the > boundaries of the "page tab list" should not have the "showing" state even if > it is within the boundaries of the application frame. > > It would be nice to get some developer feedback here. I am CCing Brad (who > worked on this). I were thinking like yours that 'page tab' shouldn't have showing state if outside of the 'tab control', and UISpy shows 'IsOffscreen = True' for page_tabs those outside of the 'tab control'. Then we discussed with Matt who thought it's possible to be showing if page_tab just outside of the 'tab control' but not outside of the frame, because those page_tabs have got position. so..I have no idea, wait Brad's idea :)
Yeah, I agree with Brian here.