Bug 435308

Summary: [Clipboard Applet] - PlasmaCore.DataSource freezes Latte startup and maybe Plasma in some cases
Product: [Plasma] plasmashell Reporter: Michail Vourlakos <mvourlakos>
Component: DataEnginesAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: nate, postix
Priority: NOR    
Version First Reported In: 5.21.3   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: my latte bugged layout from clipboard applet

Description Michail Vourlakos 2021-04-03 10:46:09 UTC
Created attachment 137306 [details]
my latte bugged layout from clipboard applet

SUMMARY
For some time now I have a situation with my layout in Latte. When Latte is starting up it is frozen for around 8-10secs. The faulter as it appears is the Clipboard applet, by disabling it in the systray or by removing it from any panel or dock the startup sequence is executed without any blockers

STEPS TO REPRODUCE
1. You can use Latte Git version
2. Import the provided layout and choose it as default on startup
3. Start Latte with "latte-dock -d" and you should notice that startup is frozen for around 10secs
4a. Remove clipboard applet or disable it in the systray and restart Latte, startup sequence is proper again without any freezes.
4b. Or comment lines #76,77 in clipboard.qml file

OBSERVED RESULT
Latte startup freezes

EXPECTED RESULT
Latte startup should not be frozen

DETAILS/DEVELOPMENT
The blame here is PlasmaCore.DataSource in order to confirm it I disabled all clipboardSource references in org.kde.plasma.clipboard applet
and the problem was still appearing. Afterwards I disabled lines #76,#77 in clipboard.qml file:

#76, engine: "org.kde.plasma.clipboard"
#77, connectedSources: "clipboard"

and the problem was not appearing any more, I suppose the "org.kde.plasma.clipboad" DataSource engine falls into a situation that freezes the entire Latt service for around 10secs during startup.


SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Comment 1 Bug Janitor Service 2021-05-17 16:46:56 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/865
Comment 2 Nate Graham 2025-10-21 15:56:01 UTC
Latte is unmaintained and DataEngines are going to be going away. Closing as not really relevant anymore.