logo       

Another pwc bug :-(: msg#00813

network.instant-messaging.amsn.devel

Subject: Another pwc bug :-(

Hi,

I think I found another pwc bug.

When setting the brightness to new_value, it is really set to (new_value >>
1). When setting contrast to new_value, it is actually set to (new_value >>
2).

Seems like pwc emulates a 0 - 255 range for both, while the actual range is 0
- 127 for brightness and 0 - 63 for contrast. The bug is that this emulation
is not complete: it is done only when setting an attribute. It gives the real
range when asked about it, and also doesn't convert back to the 0 - 255 range
when we get the value :S

Because of this, pwc users can set their brightness only in the range 0 - 63
and contrast only in 0 - 16! (With latest cvs. Before today, things were even
worse. Setting it was hardly possible because the slider had a fixed 0 -
65535 range).

Harry


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise