Version: (using KDE 4.0.0)
Installed from: Compiled From Sources
Steps to Reproduce:
1. Run kalzium -reverse with Oxygen.
2. Look at the toolbox at the left.
So, there appear to be two problems with the current drawing. One is that the line is not properly adjusted, and the second is that the icon is drawn twice.
Removing the icon drawing code from it fixes the first problem, without any noticeable defects, and, glancing at the Plastique code, it doesn't draw it either. So, I guess drawing the icon is the job of QToolBox, instead of the theme.
Mirroring the curly page separator makes it no longer look odd, however, Qt places the icon in the same place in both LtR and RtL modes. (In Qt 4.3.2 anyway. Perhaps they changed it.) This makes the icons visually not become properly associated with the page... it looks kind of odd. (Interestingly, Plastique also has this problem. They just mirror their page separator.) I can't think of any way to work around this other than just make the page separators straight.
Anyway, I have attached (or will attach) two patches. Both remove the duplicate icon draw. One mirrors the separator, and the other makes it a straight line.
Created attachment 23485 [details]
Mirror the separator
(I also changed the calls to x(), x()+width(), etc. to left(), right(), etc...
made it easier to see what was going on.)
Created attachment 23486 [details]
Alternatively, make the separator a straight line
SVN commit 772648 by boemann:
Apply patch by David Benjamin fixing LTR layout of QToolBox
he gave me two options and i chose the one that mirrored the sloping
It also fixes icons from appearing twice in QToolBox
M +7 -2 helper.cpp
M +24 -22 oxygen.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=772648