| Summary: | Get rid of remaining sync dbus calls to kactivitymanagerd | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Thomas Lübking <thomas.luebking> |
| Component: | activities | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | brendon, hrvoje.senjan, kde |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
*** Bug 322406 has been marked as a duplicate of this bug. *** that should be fixed in 5.x, shouldn't it? Ran with Q_DBUS_BLOCKING_CALL_MAIN_THREAD_WARNING_MS=0 kwin_x11 --replace not an issue anymore. |
void Workspace::activityPopupAboutToShow() { ..... foreach (const QString &id, openActivities_) { ^^^^^^^^^ LOOP!! KActivities::Info activity(id); QString name = activity.name(); SYNC DBUS CALL ^^^^^^^^^^^^^^^^ name.replace('&', "&&"); action = activity_popup->addAction(KIcon(activity.icon()), name); SYNC DBUS CALL ^^^^^^^^^^^^^^^^ ... } ie. for eg. 4 activities we timeout 4 minutes - i'd like to say sth. about hiding such in library functions that look like member accesses....