Bug 396316 - Journal error on mouse over icons when using icons only task manager
Summary: Journal error on mouse over icons when using icons only task manager
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.14.90
Platform: openSUSE Linux
: NOR minor
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2018-07-08 17:06 UTC by Miroslav Spehar
Modified: 2022-01-12 18:28 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
First attempt at fixing 2 of 3 error messages (1.28 KB, patch)
2019-02-10 13:58 UTC, Serhiy Zahoriya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Spehar 2018-07-08 17:06:21 UTC
on every mouseover event for icons pinned in icons only task manager, error is reported in system journal:

plasmashell[1327]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:342: Unable to assign [undefined] to int

reproducible: always
Comment 1 Kai Uwe Broulik 2018-07-09 08:06:52 UTC
Is this still an issue with [1], given you're on 5.13.2 which should have this fix.

[1] https://cgit.kde.org/plasma-desktop.git/commit/?id=1e218b405bee4d75a5d26a4c28da2724d967953a
Comment 2 Serhiy Zahoriya 2019-02-10 00:39:27 UTC
Getting this error on 5.14.90 on Ubuntu 19.04.

Additionally, every time a launched icon is hovered message changes to

> qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 19784, resource id: 56623121, major code: 142 (Unknown), minor code: 3
Comment 3 Serhiy Zahoriya 2019-02-10 00:43:59 UTC
And 

/usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipInstance.qml:437: ReferenceError: VirtualDesktop is not defined

if there are multiple windows for icon being hovered
Comment 4 Serhiy Zahoriya 2019-02-10 01:13:10 UTC
Is this workaround/fix ok?

return model.AppPid ? model.AppPid : 0;
Comment 5 Serhiy Zahoriya 2019-02-10 13:20:28 UTC
XCB error does not appear if tooltips on hover are enabled and the tooltip is already shown.
Comment 6 Serhiy Zahoriya 2019-02-10 13:58:45 UTC
Created attachment 117963 [details]
First attempt at fixing 2 of 3 error messages

Please confirm if this patch will work or not
Comment 7 Eike Hein 2019-02-11 18:00:58 UTC
The VirtualDesktop changes are no longer required, Plasma 5.15 has Virtual Desktops on Wayland. The rest you can upload to Phabricator.
Comment 8 Christoph Feck 2019-03-09 15:47:58 UTC
Serhiy, more information for uploading the patch to https://phabricator.kde.org/differential/diff/create/ is available at https://community.kde.org/Infrastructure/Phabricator
Comment 9 Serhiy Zahoriya 2019-03-09 18:39:26 UTC
https://phabricator.kde.org/D19019
Comment 10 Nate Graham 2022-01-12 18:28:18 UTC
Not Wayland-specific and also fixed now. :)