[Development] [Interest] qmlx11 plugin

Damian Ivanov damianatorrpm at gmail.com
Wed Feb 5 16:04:15 CET 2014


I already have 2 functions (which You can use from .qml as ListModel
(modelData)) - one that does show all windows -
X11support::windowListUnskipped and X11::windowList which checks if
the window is _NET_CLIENT_SKIP_TASKBAR
so I already do that. The only thing is I can't get the XEvents to work...

2014-02-05 Rutledge Shawn <Shawn.Rutledge at digia.com>:
>
> On 5 Feb 2014, at 11:16 AM, Damian Ivanov wrote:
>
>> Hi,
>>
>> I made a c++ QML plugin  for X11 functions like windowlist, active
>> window, setting, getting icon of apps, names, id and setting netwm
>> properties. Source code is here
>> https://build.opensuse.org/package/show/home:damianator:qmlx11/qmlx11
>>
>> Right now you can do all the stuff mentioned already, but the
>> windowList and the window
>> properties are not updated automatically via XEvent's instead
>> hackishly I have a Timer reloading
>> the active window and the windowList every few seconds.
>>
>> Could anyone interested assist me in properly receiving the XEvent's
>> so the qmlx11 plugin
>> properly emits signals according to the received XEvent's (actually
>> that's not the problem, but I couldn't manage to receive the XEvents
>> at all).
>
> Personally I wish we had some of that as QPA APIs (at least window list and window icons), but of course it assumes that we can do the same thing on the other platforms.  In my experience, the window list is tricky stuff on X11 though, because there are so many windows you don't normally want to show in a task list.



More information about the Development mailing list