Bug #10512
REGRESSION: In ChUI, all RADIO-SET items are positioned at the same location
100%
Related issues
History
#4 Updated by Greg Shah 11 months ago
Please update Open Regressions in FWD v4 with an entry about the regression.
#5 Updated by Vladimir Tsichevski 11 months ago
The issue occurs when this condition is satisfied, causing the loop to exit prematurely, which prevents the positioning of the remaining buttons.
// TODO: In GUI the button sizes are not calculated correctly and so it may
// happen that the button does not fit by a pixel or two. This is a
// temporary fix to let the buttons be displayed but the correct
// solution will be to get the size calculation right.
if (isChui && size > maxSize)
{
break;
}
Hynek, this is your code. What potential issues might arise if we remove this code?
#7 Updated by Vladimir Tsichevski 11 months ago
- Status changed from WIP to Review
Regression resolved in branch 10512a revision 16145. The fix involved removing the code block referenced in #10512-5.
Hynek, please review.
I identified two additional minor issues (potentially related) in ChUI following the application of this fix:
When the selection is shifted to the left item:- the inverted caret appears to the right of the selected item
- the
RADIO-SETwidth is one character wider than in OE
#9 Updated by Hynek Cihlar 11 months ago
Vladimir Tsichevski wrote:
Hynek, this is your code. What potential issues might arise if we remove this code?
Actually the condition size > maxSize was added way before my change. I only excluded GUI. Also I'm not aware of any related test cases. If you think it should be removed altogether then remove it and we will regression test the change.
#10 Updated by Vladimir Tsichevski 11 months ago
Hynek Cihlar wrote:
Vladimir Tsichevski wrote:
Hynek, this is your code. What potential issues might arise if we remove this code?
Actually the condition
size > maxSizewas added way before my change. I only excluded GUI. Also I'm not aware of any related test cases. If you think it should be removed altogether then remove it and we will regression test the change.
So be it.
#11 Updated by Hynek Cihlar 11 months ago
- Status changed from Review to Internal Test
Code review 10512a. The changes are good. I'm running ChUI regression tests. Should the issue be set to 100% done?
#13 Updated by Hynek Cihlar 11 months ago
ChUI regression tests passed. Vladimir, do you plan some more regression testing?
#15 Updated by Vladimir Tsichevski 11 months ago
- Related to Bug #10521: RADIO-SET Rendering in ChUI Issues added
#17 Updated by Hynek Cihlar 10 months ago
- Status changed from Internal Test to Merge Pending
Please merge 10512a after 10323a.
#19 Updated by Hynek Cihlar 10 months ago
- Status changed from Merge Pending to Closed