Version: (using KDE 4.0.2) Installed from: Ubuntu Packages OS: Linux After you have inserted a new value for opacity, via keyboard, and pressed the "apply" button or the "return" key, the opacity value is reseted to zero. Editing this setting with arrows works properly.
Nothing fancy in the way we use that standard KDE widget.
The problem seems related to the usage of a suffix for the spinbox. Commenting out its usage by the opacity spinbox in Okular makes it working normally.
KMail has the same problem, it uses "bytes" as suffix, and keyboard input does not work correctly.
Basically KIntSpinBox::textFromValue and KIntSpinBox::valueFromText ignore the fact that the text can have a suffix so it does not work, using the QSpinBox variants is not possible there because we have the very useful base setting that probably noone uses but breaks the 99% used code :-/
Created attachment 23888 [details] Quick patch that seems to fix the problem I was about to commit it, but i'd want some comments first
SVN commit 785377 by aacid: chop the suffix before doing the int conversion BUG: 159239 M +3 -1 knuminput.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=785377