[Bug 396278] [NEW] lcd weather station display issue for temperatures over 99F
Public bug reported: Binary package hint: plasma-widgets-addons The LCD Weather Station plasma widget does not correctly display temperatures over 99.9 F. This occurs when in the "small" format in the "panel". Only 3 digits are displayed. Instead of displaying "105.0"; "05.0" is displayed. It would be fine if the tenths of degrees were dropped and "105" was displayed. (After 101F, tenths of degrees are not significant :-) ) This was found in the KDE 4.3 RC1 backport to Jaunty: 4:4.2.95-0ubuntu1~jaunty1~ppa1 ** Affects: kdeplasma-addons (Ubuntu) Importance: Undecided Status: New -- lcd weather station display issue for temperatures over 99F https://bugs.launchpad.net/bugs/396278 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 207739] Re: Mouse Keys Swapped in Terminal Server Client
I have observed this same behavior using krdc and rdesktop since installing Hardy. To me, this suggests that a lower-level X library is where things get messed up. -- Andy St.Martin [EMAIL PROTECTED] -- Mouse Keys Swapped in Terminal Server Client https://bugs.launchpad.net/bugs/207739 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 396278] Re: lcd weather station display issue for temperatures over 99F
There is an operator precedence snafu in WeatherStation::fitValue in weatherstation.cpp. The line checking that the number of digits of the temperature is less than the total digits allowed looks like this: if (mainDigits < 3 && mainDigits + (v < 0)?1:0 + 1 < digits) { The "?:" is supposed to add 1 ito the mainDigits if the temp is less than 0. However, '+" and '<' have higher precedence than "?:". This yields an expected value. When parentheses are properly inserted, the correct value is evaluated. Such as: if (mainDigits < 3 && (mainDigits + ((v < 0)?1:0) + 1) < digits) { Finally, the last "<" should probably be a "<=". If 3 digits are allowed and allowing for a tenth of a degree is 3 or less, then display the tenth. I think the final, correct expression should look something like this: if (mainDigits < 3 && (mainDigits + ((v < 0)?1:0) + 1) <= digits) { -- lcd weather station display issue for temperatures over 99F https://bugs.launchpad.net/bugs/396278 You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to kdeplasma-addons in ubuntu. -- kubuntu-bugs mailing list kubuntu-b...@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 1304805] Re: KDE desktop login failure: "Could not start d-bus. Can you call qdbus?"
It is true that removing the quotes in the line qdbus=QT_SELECT=qt4 qdbus Gets around "Could not start" issue. However, a better fix would be to leave the quotes in place and further down start up qdbus with an eval statment: qdbus="QT_SELECT=qtr qdbus" ... if eval $qdbus >/dev/null 2>/dev/null; then ... Plus the other places where "$qdbus" is invoked. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1304805 Title: KDE desktop login failure: "Could not start d-bus. Can you call qdbus?" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kde-workspace/+bug/1304805/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs