Opened 9 years ago

Closed 9 years ago

#12261 closed bug (fixed)

BSplitLayout handles semantics of Collapsed flag incorrectly

Reported by: anevilyak Owned by: anevilyak
Priority: normal Milestone: R1
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

When BSplitLayout::SetItemCollapsed() is called, the expected argument is a boolean indicating whether the item should be collapsed or not. However, internally this value is mapped verbatim onto BLayoutItem's "visible" setting, which has exactly the opposite meaning, as a result of which SetItemCollapsed(x, true) has the opposite of the desired effect.

Change History (1)

comment:1 by anevilyak, 9 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev49488.

Note: See TracTickets for help on using tickets.