Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223715 - net-print/hplip-2.8.5: hp-systray is not placed in systray
Summary: net-print/hplip-2.8.5: hp-systray is not placed in systray
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Denis Dupeyron (RETIRED)
URL: https://bugs.launchpad.net/hplip/+bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-26 16:32 UTC by Pacho Ramos
Modified: 2008-09-01 19:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
systray_applet_really_in_tray.dpatch (systray_applet_really_in_tray.dpatch,1.37 KB, patch)
2008-05-26 16:33 UTC, Pacho Ramos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2008-05-26 16:32:17 UTC
hp-systray icon is not placed in systray applet (at least under gnome), it's shown in main desktop 

I attach the patch used in ubuntu that forces it to use qt4 (that seems to work), but it could be maybe a problem as I am not sure if it would require pyqt4 also :-/



Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2008-05-26 16:33:09 UTC
Created attachment 154365 [details, diff]
systray_applet_really_in_tray.dpatch

net-print/hplip-2.8.5  USE="X cupsddk dbus ppds scanner snmp -doc -fax -minimal -parport"
Comment 2 Denis Dupeyron (RETIRED) gentoo-dev 2008-07-30 14:58:39 UTC
I can't reproduce this (and I use Gnome too) but I have added a qt4 USE flag to the new hplip-2.8.6b for your convenience. I want to warn you though that qt4 support is still undocumented by upstream so I'd expect it to be experimental.

Thanks for reporting this.
Denis.
Comment 3 Pacho Ramos gentoo-dev 2008-08-31 13:53:37 UTC
Maybe would be better find a way of having qt3 gui using qt4 systray, opensuse is using this way. I don't know why cannot you reproduce this :-/, these are the messages shown in terminal when running hp-systray (qt3):

X Error: BadValue (integer parameter out of range for operation) 2
  Major opcode:  25
  Minor opcode:  0
  Resource id:  0x0
QSettings: failed to open file '/usr/qt/3/etc/settings/qt_plugins_3.3rc'
Comment 4 Denis Dupeyron (RETIRED) gentoo-dev 2008-08-31 17:22:45 UTC
(In reply to comment #3)
> Maybe would be better find a way of having qt3 gui using qt4 systray, opensuse
> is using this way.

What's the point ? In any case feel free to submit a patch.

Denis.
Comment 5 Pacho Ramos gentoo-dev 2008-09-01 18:52:08 UTC
The problem is that I don't know what way do you think would be better: Add a "systray" use flag for *only* using qt4 for systray (as rest of qt4 GUI is experimental)?

The problem is that use qt4 for systray would add a dep on pyqt4, this is why maybe a different USE flag should be used, but you are the maintainer, then, I would know your opinion before making the ebuild+patch

Thanks a lot :-)
Comment 6 Denis Dupeyron (RETIRED) gentoo-dev 2008-09-01 19:00:51 UTC
Having PyQt4 for the systray and PyQt3 for the rest of the GUI for the only purpose of working around a bug is unreasonable. If there's a bug with the systray we need to fix it. And then provide a full qt3 hplip for those who want the stable and supported stuff, and a full qt4 hplip for those who don't mind a riskier install.

Denis.
Comment 7 Pacho Ramos gentoo-dev 2008-09-01 19:54:39 UTC
I will want to upstream to fix it then because I don't know how to fix it

Thanks a lot :-)