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

Noah Davis <noaha...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |noaha...@gmail.com

--- Comment #4 from Noah Davis <noaha...@gmail.com> ---
In order to fix this, the `activateTask()` function in
plasma-desktop/applets/taskmanager/package/contents/ui/code/tools.js will have
to be patched. I think the relevant part is this part at the bottom of the
function.

```
function activateTask(index, model, modifiers, task, plasmoid, tasks) {
// [snip]
    } else {
        if (model.IsMinimized === true) {
            tasks.tasksModel.requestToggleMinimized(index);
            tasks.tasksModel.requestActivate(index);
        } else if (model.IsActive === true &&
plasmoid.configuration.minimizeActiveTaskOnClick) { // This needs to account
for stacking order
            tasks.tasksModel.requestToggleMinimized(index);
        } else {
            tasks.tasksModel.requestActivate(index);
        }
    }
}
```

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

Reply via email to