<table><tr><td style="">jtamate created this revision.<br />jtamate added reviewers: Frameworks, Plasma.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.<br />jtamate requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D10627" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>CCBUG: 358231<br />
CCBUG: 342056<br />
Even the icon with the number of tasks pending moves from time to time.</p>
<p>To reduce the lock up time, a similar patch must be applied also to<br />
frameworks/kwindowsystem src/platforms/xcb/kxmessages.cpp<br />
frameworks/plasma-framework src/plasma/private/effectwatcher.cpp</p>
<p>According to the documentation (and a look to the source code)<br />
<a href="http://doc.qt.io/qt-5/qabstractnativeeventfilter.html" class="remarkup-link" target="_blank" rel="noreferrer">http://doc.qt.io/qt-5/qabstractnativeeventfilter.html</a></p>
<p>The type of event eventType is specific to the platform plugin chosen<br />
at run-time, and can be used to cast message to the right type.</p>
<p>On X11, eventType is set to "xcb_generic_event_t", and the message can<br />
be casted to a xcb_generic_event_t pointer.</p>
<p>The other eventType are "windows_generic_MSG" and "mac_generic_NSEvent".<br />
No other eventType starts with an 'x'.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Cut & paste 2000 small files.<br />
Before, a lock up of minutes<br />
After, a lock up of seconds</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>polling (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10627" rel="noreferrer">https://phabricator.kde.org/D10627</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>shell/screenpool.cpp</div></div></div><br /><div><strong>To: </strong>jtamate, Frameworks, Plasma<br /><strong>Cc: </strong>plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>