#467 event icons do not flash due to uninitialized value

normal
open
nobody
interface (140)
5
2004-01-14
2004-01-14
Ahti Heinla
No

In gavver 0.8.8 RosterView class, the _event_flash data member is
not initialized in constructor. This causes event icons to not flash,
and indeed the RosterView::FlashEvents() function not really
working.

The reason is that FlashEvents() periodically inverts the
_event_flash flag, which on my platform (gcc 3.3.2/x86/Fedora Core
1) merely inverts the least significant bit of the byte used to store the
bool variable; if the initial value of the byte is, say, 69, then
FlashEvents() causes it to "flash" between 68 and 69, i.e. the bool
value is always true and no real flashing happens.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks