Conversation
Codecov Report
@@ Coverage Diff @@
## master #1027 +/- ##
==================================================
- Coverage 32.1871% 32.18549% -0.00162%
==================================================
Files 1097 1098 +1
Lines 297585 297951 +366
Branches 38375 38413 +38
==================================================
+ Hits 95784 95897 +113
- Misses 197609 197854 +245
- Partials 4192 4200 +8
|
src/System.Windows.Forms/src/System/Windows/Forms/AccessibleObject.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/tests/UnitTests/AccessibleObjects/ListBoxAccessibleObjectTests.cs
Outdated
Show resolved
Hide resolved
Tanya-Solyanik
left a comment
There was a problem hiding this comment.
test looks good. I think my questions are mostly about @M-Lipin 's changes :)
| /// <devdoc> | ||
| /// Returns true if this control has focus. | ||
| /// </devdoc> | ||
| public override bool Focused |
There was a problem hiding this comment.
What is the main difference between overridden implementation and Control.Focused?
There was a problem hiding this comment.
The implementation of this property does not make much sense. I removed it. Thanks.
RussKie
left a comment
There was a problem hiding this comment.
IIUIC, 4daafe4 is a mix of functional changes and refactoring (methods moved).
This makes the diff destructive and impossible to see what functional changes in fact are...
I understand and fully support the idea of cleaning and making up the code, however it must be done as a separate commit.
| { | ||
| return state |= AccessibleStates.Selected | AccessibleStates.Focused; | ||
| } | ||
| else |
There was a problem hiding this comment.
Thanks, fixed.
|
@RussKie , thanks. I will fix it. |
src/System.Windows.Forms/src/System/Windows/Forms/ListBox.AccessibleObject.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/src/System/Windows/Forms/ListBox.ItemAccessibleObject.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/src/System/Windows/Forms/ListBox.ItemAccessibleObject.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/src/System/Windows/Forms/ListBox.ItemAccessibleObject.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/src/System/Windows/Forms/ListBox.ItemAccessibleObject.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/src/System/Windows/Forms/ListBox.ItemAccessibleObject.cs
Show resolved
Hide resolved
src/System.Windows.Forms/tests/UnitTests/AccessibleObjects/ListBoxAccessibleObjectTests.cs
Outdated
Show resolved
Hide resolved
RussKie
left a comment
There was a problem hiding this comment.
LGTM 👍
We'll need to tidy up the commits before the merge
src/System.Windows.Forms/src/System/Windows/Forms/ListBox.ItemAccessibleObject.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/src/System/Windows/Forms/ListBox.ItemAccessibleObject.cs
Outdated
Show resolved
Hide resolved
Tanya-Solyanik
left a comment
There was a problem hiding this comment.
Looks good, thank you! my comments are minor
d00b389 to
979dc75
Compare
src/System.Windows.Forms/src/System/Windows/Forms/ListBox.ItemAccessibleObject.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/src/System/Windows/Forms/ListBox.ItemAccessibleObject.cs
Outdated
Show resolved
Hide resolved
src/System.Windows.Forms/src/System/Windows/Forms/ListBox.AccessibleObject.cs
Outdated
Show resolved
Hide resolved
979dc75 to
b6202e0
Compare
|
@vladimir-krestov , how are we doing with this one? |
fixes #932 and related to #1026.
The pull request adds new changes and replaces pull request #935.