Review Request: make folderview icons translucent if composite is enabled
Mathias Stephan Panzenböck
grosser.meister.morti at gmx.net
Fri Apr 20 00:29:37 BST 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/101463/
-----------------------------------------------------------
(Updated April 19, 2012, 11:29 p.m.)
Review request for KDE Base Apps.
Changes
-------
I know that this won't get merged (I agree, it is a total hack), but maybe someone is still interested and want's to use this patch. So I rebased it on current KDE 4.8 GIT (=4.8.2).
Description
-------
This patch makes dragged folderview icons translucent if composite is enabled. It is a kinda hack that uses an event filter to find Qt's D'n'D window, clears any mask on it and sets the Qt::WA_TranslucentBackground attribute. I use it day to day and it works fine.
The proper place to fix this would be in Qt, but they wrongfully marked the bug report as invalid, because they think X11 does not support translucent windows:
http://bugreports.qt.nokia.com/browse/QTBUG-8519
This addresses bug 256475.
http://bugs.kde.org/show_bug.cgi?id=256475
Diffs (updated)
-----
plasma/applets/folderview/iconview.h e648ff0
plasma/applets/folderview/iconview.cpp 3186b18
Diff: http://git.reviewboard.kde.org/r/101463/diff/
Testing
-------
Thanks,
Mathias Stephan Panzenböck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20120419/dbbfce6c/attachment.htm>
More information about the kde-core-devel
mailing list