[Pkg-hpijs-devel] Bug#490212: hplip: wrong placing of hp-systray icons on kde4

Bruce Sass bmsass at shaw.ca
Thu Jul 10 23:04:21 UTC 2008


On Thu July 10 2008 01:05:00 pm Eric Valette wrote:
> Fo some reasons, this systray applet  is wrongly located when other
> are still at they normal place (Krandrtray, kmix, korganizer, ...)
>
> So I do not konw if the bug is in the hplip python code or kde code
> but it is annoying.

Try stopping any existing applet and running:
$ hp-systray --qt4

Does that fix the problem?
If so, it looks like the best way to fix your problem is to change:

"force_qt4 = False" to "force_qt4 = True"
at line 63 of /usr/share/hplip/systray.py...

...then keep doing so every upgrade until HPLIP is built against PyQT4.

:(


It doesn't look like HPLIP cares about which QT version is being used 
(the configure script doesn't check for QT <period>, and there is no 
way to pass that info onto the build system), yet the systray.py code 
has --qt3 and --qt4 options!

If this was more than a minor problem I would suggest building HPLIP 
against PyQT4, patching the systray.py code, and placing the result in 
Experimental where it can be fetched by anyone trying out KDE4.

HTH

- Bruce





More information about the Pkg-hpijs-devel mailing list