https://bugs.kde.org/show_bug.cgi?id=413044

--- Comment #2 from Vlad Zahorodnii <vladz...@gmail.com> ---
@Nate No, that change is fine. The problem is that the script sets a custom
property on each minimized client and it seems like QScriptEngine discards that
property afterwards. My guess is that QScriptEngine keeps creating new wrapper
objects even though we ask to wrap X11Client objects with
QScriptEngine::PreferExistingWrapperObject option.

I guess we could work around this problem by checking whether a given client
has been minimized by the script as follows

    relevantClients[i].minimizedByScript === true;

However, it will replace one problem with another. We would still have to fix
bug 356161 somehow.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to