[Panel-devel] [Bug 154832] New: Blurry Icons in Panel Taskbar
Craig Duquette
cduquette at gmail.com
Sat Dec 29 21:48:24 CET 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=154832
Summary: Blurry Icons in Panel Taskbar
Product: plasma
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: panel-devel kde org
ReportedBy: cduquette gmail com
Version: (using KDE Devel)
Installed from: Compiled sources
OS: Linux
If you hover over the tooltip and compare that icon to the panel's icon you'll see it's blurrier than the tooltip. This is because the panel is being displayed at 47px instead of 48px.
Proposed fix:
If one removes the -1 from line 90 of
workspace/plasma/containments/panel/panel.cpp
(height += topHeight - 1;) you get nice sharp icons. The only problem
is the panel is drawn 1 pixel up.
This can be resolved by changing the +1 to +2 in
kdebase/workspace/plasma/plasma/panelview.cpp
(geom.moveTopLeft(QPoint(screenGeom.left(), screenGeom.bottom() -
size.height() + 1));)
The panel appears to render correctly now with these changes, but I'm
not sure if they're proper changes. Does anyone see anything wrong
with committing a fix like this? We'll also need to update the code
for when the panel is on top or the sides.
More information about the Panel-devel
mailing list