Opened 15 years ago
Closed 14 years ago
#4849 closed bug (invalid)
BSlider - broken BArchivable implementation
Reported by: | matjako | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Kits/Interface Kit | Version: | R1/alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Unlike with other BView classes, archiving a BSlider object and instantiating it does not create a valid BView. When a previously Archive()'d BSlider is constructed from the resulting message (archive) and added to a view, nothing happens (compared to say, BButton).
Observed in rev33728.
STEPS TO REPRODUCE:
See attachment. Single file, compile with: gcc test-barchivable.cpp -lroot -lbe
Attachments (1)
Change History (2)
by , 15 years ago
Attachment: | test-barchivable.cpp added |
---|
comment:1 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Seems to work fine in hrev38181. Also note that passing "0, 100" to the constructors doesn't sound right and get some runtime warning messages.
Note:
See TracTickets
for help on using tickets.
Test case for BSlider BArchivable implementation