https://bugs.kde.org/show_bug.cgi?id=388367
Bug ID: 388367 Summary: config.dvb contains garbage values for higherVoltage after setting in "Configure Television" window Product: kaffeine Version: 2.0.13 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: mchehab+...@kernel.org Reporter: randall.fis...@gmail.com Target Milestone: --- I have a four tuner WinTV-quadHD card. The tuners show up as "Device" tabs in the "Configure Television" window. In each of these tabs, I set a "Source" and "Name" for the corresponding tuner. After saving this information and quitting kaffeine, the values for higherVoltage in the config.dvb file were very large values (probably random, uninitialized junk). The value for the first tuner is a positive number, the values for the remaining tuners are negative. If I then restart kaffeine, it complains that "kaffeine.dvb: Cannot read /home/rfisher/.local/share/kaffeine/config.dvb". However, it is able to read the "Source" and "Name" for the first tuner, but not the remaining tuners. If you quit at this point, it will rewrite config.dvb with this information removed for the second through fourth tuners, but leaving the stored information for the first tuner. If you edit config.dvb and replace the negative values for higherVoltage with the same large, positive value used for the first tuner, it reads the entire file, does not complain about that it can't, and gets the correct "Name" and "Source" information for all four tuners. So, this is what I think is happening: 1. kaffeine is storing uninitialized data for higherVoltage into the config.dvb file. higherVoltage appears to be of type Qt::CheckState which should only have the values 0, 1, or 2. It should not have large positive or negative values. 2. The error message implies that the file permissions are incorrect - they are not. kaffeine is able to read and write to the file. I think it is trying to indicate that the file is malformed due to the negative values for higherVoltage. If so, the error message should say so clearly. -- You are receiving this mail because: You are watching all bug changes.