[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 113235] pager applet transparency interferes with panel
From:       "Aaron J.Seigo" <aseigo () kde ! org>
Date:       2005-12-15 19:22:03
Message-ID: 20051215192203.8755.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=113235         
aseigo kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From aseigo kde org  2005-12-15 20:21 -------
SVN commit 488745 by aseigo:

without the shadow it doesn't look nearly as nice, but i've failed to
nail down why that is intefering with other painting operations. and
given that the shadow code is bloody slow and the feature is a minor
thing <insert more rationalizing here> ... so out it goes for 3.5.1.
people have lived without it until 3.5.0 after all ;)
BUG:113235


 M  +0 -20     pagerbutton.cpp  


--- branches/KDE/3.5/kdebase/kicker/applets/minipager/pagerbutton.cpp #488744:488745
 @ -384,26 +384,6  @
     {
         QString label = (m_pager->labelType() == PagerSettings::EnumLabelType::LabelNumber) ?
                             QString::number(m_desktop) : m_desktopName;
-        QPixmap textPixmap(w, h);
-
-        textPixmap.fill(QColor(0,0,0));
-        textPixmap.setMask(textPixmap.createHeuristicMask(true));
-
-        // draw text
-        {
-            QPainter tp(&textPixmap);
-            tp.setPen(Qt::white);
-            tp.setFont(font()); // get the font from the root painter
-            tp.drawText(0, 0, w, h, AlignCenter, label);
-            tp.end();
-        }
-
-        // draw shadow
-        QPixmap img;
-        img.convertFromImage(m_pager->shadowEngine()->makeShadow(textPixmap,
-                                                         liveBkgnd ? Qt::black
-                                                                   : Qt::white));
-        bp.drawPixmap(0, 0, img);
         bp.drawText(0, 0, w, h, AlignCenter, label);
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic