DevHeads.net

Postings by Yichao Yu

kdereview - qtcurve

QtCurve is now in kdereview with the intention of being in extragear/base

Review Request 114219: Do not encode QString to QByteArray and cast it back to QString. This causes problem when there are Unicode characters in ${HOME}

Review request for kde-workspace, David Faure, Martin Gräßlin, and Hugo Pereira Da Costa.

Bugs: 327919
<a href="http://bugs.kde.org/show_bug.cgi?id=327919" title="http://bugs.kde.org/show_bug.cgi?id=327919">http://bugs.kde.org/show_bug.cgi?id=327919</a>

Repository: kde-workspace

Description
list.join already returns a QString and there is no need to encode it and cast back to QString again....

P.S.

Review Request 113969: Do not assume every items have the same height

Review request for kdelibs, David Faure, Rafael Fernández López, and Michael Pyne.

Bugs: 309780
<a href="http://bugs.kde.org/show_bug.cgi?id=309780" title="http://bugs.kde.org/show_bug.cgi?id=309780">http://bugs.kde.org/show_bug.cgi?id=309780</a>

Repository: kdelibs

Description
1. the offset addjust in `KCategorizedView::indexAt` was a no-op (it operates on a temporary variable and is not needed).
2.

Asking for help for Qt5 and xcb port.

Hi,

I am trying to port a Qt4 theme to Qt5 and xcb. The theme uses
QPixmap's to draw into xpixmap's and send to kwin with
_KDE_NET_WM_SHADOW hint for menu shadow. I have tryed to draw the
shadow image (which is just a simple array of static data) to the
xpixmap using xcb_put_image with 32 depth, but it doesn't work no
matter which order of rgba I put in.

Review Request: Show larger icon in pager when the window rect is big enough

Review request for kde-workspace and Luís Gabriel Lima.

Description
The size of window icon in the pager applet was always the same and is too small to if the applet is placed on the desktop.

Review Request: use _NET_WM_STATE_HIDDEN to check if the window is minimized instead of WM_STATE == ICONIC when possible.

Review request for kdelibs, kwin and Aaron J. Seigo.

Description
When setting "Keep window thumbnails" to "Always (Breaks minimization)", kwin will keep WM_STATE to be NORMAL when a client is minimized while including _NET_WM_STATE_HIDDEN in its _NET_WM_STATE, as confirmed by ICCCM[1] and Extended Window Manager Hints[2].

Async action with helper in KAuth

I am trying to write a pykde4 app that use a kauth helper
asynchronously, following the tutorial by code is

action = KAuth.Action(action_id)
action.setHelperID(helper_id)
action.setArguments(args)
if hasattr(callback, "__call__"):
# the new-style signal connecting somehow doesn't work here..
QObject.connect(action.watcher(),
SIGNAL("actionPerformed(const
KAuth::ActionReply&)"),
lambda reply: callback(reply.succeeded()))
action.setExecutesAsync(True)
reply = action.ex