Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 156535 Details for
Bug 242840
Bluecurve KWin theme shows pixel noise for "sticky" icon
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to fix "show on all desktops" in Bluecurve KWin theme
redhat-artwork-7.0.0-fix-kwin-showonalldesktops.patch (text/plain), 2.92 KB, created by
Kevin Kofler
on 2007-06-08 01:14:38 UTC
(
hide
)
Description:
Patch to fix "show on all desktops" in Bluecurve KWin theme
Filename:
MIME Type:
Creator:
Kevin Kofler
Created:
2007-06-08 01:14:38 UTC
Size:
2.92 KB
patch
obsolete
>diff -ur redhat-artwork-7.0.0/art/kde/kwin/Bluecurve/bluecurveclient.cpp redhat-artwork-7.0.0-fix-kwin-showonalldesktops/art/kde/kwin/Bluecurve/bluecurveclient.cpp >--- redhat-artwork-7.0.0/art/kde/kwin/Bluecurve/bluecurveclient.cpp 2006-03-16 19:03:36.000000000 +0100 >+++ redhat-artwork-7.0.0-fix-kwin-showonalldesktops/art/kde/kwin/Bluecurve/bluecurveclient.cpp 2007-06-08 03:06:46.000000000 +0200 >@@ -164,6 +164,14 @@ > } > > >+// Grow QBitmap from 16x16 to BASE_BUTTON_SIZExBASE_BUTTON_SIZE >+static QBitmap growBitmap(const QBitmap &bmp) >+{ >+ QBitmap b(BASE_BUTTON_SIZE, BASE_BUTTON_SIZE, true); >+ copyBlt(&b, 0, 0, &bmp, 0, 0, 16, 16); >+ return b; >+} >+ > // This paints the button pixmaps upon loading the style. > void BlueCurveHandler::createPixmaps() > { >@@ -221,18 +229,18 @@ > pinUpPix = new KPixmap(); > pinUpPix->resize(BASE_BUTTON_SIZE, BASE_BUTTON_SIZE); > p.begin( pinUpPix ); >- kColorBitmaps( &p, g, 0, 0, BASE_BUTTON_SIZE, BASE_BUTTON_SIZE, true, pinup_white_bits, >+ kColorBitmaps( &p, g, 0, 0, 16, 16, true, pinup_white_bits, > pinup_gray_bits, NULL, NULL, pinup_dgray_bits, NULL ); > p.end(); >- pinUpPix->setMask( QBitmap(BASE_BUTTON_SIZE, BASE_BUTTON_SIZE, pinup_mask_bits, true) ); >+ pinUpPix->setMask( growBitmap(QBitmap(16, 16, pinup_mask_bits, true)) ); > > pinDownPix = new KPixmap(); > pinDownPix->resize(BASE_BUTTON_SIZE, BASE_BUTTON_SIZE); > p.begin( pinDownPix ); >- kColorBitmaps( &p, g, 0, 0, BASE_BUTTON_SIZE, BASE_BUTTON_SIZE, true, pindown_white_bits, >+ kColorBitmaps( &p, g, 0, 0, 16, 16, true, pindown_white_bits, > pindown_gray_bits, NULL, NULL, pindown_dgray_bits, NULL ); > p.end(); >- pinDownPix->setMask( QBitmap(BASE_BUTTON_SIZE, BASE_BUTTON_SIZE, pindown_mask_bits, true) ); >+ pinDownPix->setMask( growBitmap(QBitmap(16, 16, pindown_mask_bits, true)) ); > > // Inactive pins > g = options()->colorGroup( ColorButtonBg, false ); >@@ -240,18 +248,18 @@ > ipinUpPix = new KPixmap(); > ipinUpPix->resize(BASE_BUTTON_SIZE, BASE_BUTTON_SIZE); > p.begin( ipinUpPix ); >- kColorBitmaps( &p, g, 0, 0, BASE_BUTTON_SIZE, BASE_BUTTON_SIZE, true, pinup_white_bits, >+ kColorBitmaps( &p, g, 0, 0, 16, 16, true, pinup_white_bits, > pinup_gray_bits, NULL, NULL, pinup_dgray_bits, NULL ); > p.end(); >- ipinUpPix->setMask( QBitmap(BASE_BUTTON_SIZE, BASE_BUTTON_SIZE, pinup_mask_bits, true) ); >+ ipinUpPix->setMask( growBitmap(QBitmap(16, 16, pinup_mask_bits, true)) ); > > ipinDownPix = new KPixmap(); > ipinDownPix->resize(BASE_BUTTON_SIZE, BASE_BUTTON_SIZE); > p.begin( ipinDownPix ); >- kColorBitmaps( &p, g, 0, 0, BASE_BUTTON_SIZE, BASE_BUTTON_SIZE, true, pindown_white_bits, >+ kColorBitmaps( &p, g, 0, 0, 16, 16, true, pindown_white_bits, > pindown_gray_bits, NULL, NULL, pindown_dgray_bits, NULL ); > p.end(); >- ipinDownPix->setMask( QBitmap(BASE_BUTTON_SIZE, BASE_BUTTON_SIZE, pindown_mask_bits, true) ); >+ ipinDownPix->setMask( growBitmap(QBitmap(16, 16, pindown_mask_bits, true)) ); > > // Create a title buffer for flicker-free painting > titleBuffer = new KPixmap();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242840
:
156535
|
156537