Bug 449388 - [wayland] - freezes spontaneously, or when launching an app
Summary: [wayland] - freezes spontaneously, or when launching an app
Status: RESOLVED UPSTREAM
Alias: None
Product: lattedock
Classification: Plasma
Component: plasmoid (show other bugs)
Version: 0.10.8
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-30 20:10 UTC by Loïc Droz
Modified: 2022-03-05 09:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Layout file for the layout that suffers from regular freezes (5.54 KB, text/plain)
2022-02-06 14:45 UTC, Loïc Droz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Loïc Droz 2022-01-30 20:10:17 UTC
SUMMARY

After some random amount of time (anything from a few minutes to a few hours), the dock freezes. Cannot click anything, widgets contained are also frozen (e.g. clock is frozen).

Restarting latte, or entering dock edit mode, unfreezes the dock.

The freeze tends to happen when I click an icon to launch an app, but not often.

STEPS TO REPRODUCE
1. Wait for some time until the dock freezes, or click on dock icons until the bug appears.

OBSERVED RESULT
The dock and contained widgets are frozen.

EXPECTED RESULT
The dock and its contained widgets should never freeze.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS (Arch Linux) / KDE Plasma 5.23.5
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0-1
Qt Version: 5.15.2+kde+r296-1

ADDITIONAL INFORMATION

Running the KDE Plasma Wayland session, with open source AMD drivers.
Comment 1 Michail Vourlakos 2022-01-30 20:15:57 UTC
Needs steps to reproduce. I dont have any such issue in my system.
Comment 2 Loïc Droz 2022-01-31 08:15:30 UTC
(In reply to Michail Vourlakos from comment #1)
> Needs steps to reproduce. I dont have any such issue in my system.

Unfortunately so far I cannot find a reliable procedure to trigger the bug. If I do find one, I will update the bug report.

As a sidenote, my bug is very similar to another bug reported on the KDE subreddit, which affected Plasma panels: https://www.reddit.com/r/kde/comments/sb50br/big_visual_glitch_my_main_plasma_panel_gets/
Comment 3 Michail Vourlakos 2022-01-31 11:55:46 UTC
(In reply to Ooga Booga from comment #2)
> (In reply to Michail Vourlakos from comment #1)
> > Needs steps to reproduce. I dont have any such issue in my system.
> 
> Unfortunately so far I cannot find a reliable procedure to trigger the bug.
> If I do find one, I will update the bug report.
> 
> As a sidenote, my bug is very similar to another bug reported on the KDE
> subreddit, which affected Plasma panels:
> https://www.reddit.com/r/kde/comments/sb50br/
> big_visual_glitch_my_main_plasma_panel_gets/

probably something out of latte responsibility then...
the issue you mentioned is about wayland environment. is that also your case?
Comment 4 Loïc Droz 2022-01-31 12:37:31 UTC
(In reply to Michail Vourlakos from comment #3)
> (In reply to Ooga Booga from comment #2)
> > (In reply to Michail Vourlakos from comment #1)
> > > Needs steps to reproduce. I dont have any such issue in my system.
> > 
> > Unfortunately so far I cannot find a reliable procedure to trigger the bug.
> > If I do find one, I will update the bug report.
> > 
> > As a sidenote, my bug is very similar to another bug reported on the KDE
> > subreddit, which affected Plasma panels:
> > https://www.reddit.com/r/kde/comments/sb50br/
> > big_visual_glitch_my_main_plasma_panel_gets/
> 
> probably something out of latte responsibility then...
> the issue you mentioned is about wayland environment. is that also your case?

Yes I am running the Plasma Wayland session, with two screens which have a different refresh rate (165 Hz, 60 Hz). Support for different refresh rate per screen is why I chose to run the Wayland session.
Comment 5 Loïc Droz 2022-02-06 14:45:18 UTC
I've got an update, my dock contained a system tray widget. Removing it from the dock and placing it on the desktop appears to have fixed the issue.

So I think I can update the steps to reproduce:

1. Add a Latte Dock
2. Add a System Tray widget to said dock
3. Wait for the freeze to happen

I'll also attach the .latte for my layout (including the system tray widget), in case it could be useful.
Comment 6 Loïc Droz 2022-02-06 14:45:57 UTC
Created attachment 146341 [details]
Layout file for the layout that suffers from regular freezes
Comment 7 Michail Vourlakos 2022-02-06 17:21:34 UTC
(In reply to Loïc Droz from comment #6)
> Created attachment 146341 [details]
> Layout file for the layout that suffers from regular freezes

That propably makes it some applet issue. Systray hosts applets in it that you can disable. I would try first to disable Notifications and the distro updater if you are using any.

Latte is not influencing applets code in any way.
Comment 8 Michail Vourlakos 2022-03-05 09:28:23 UTC
Garuda users have found the fault in this. It occurs mostly when gtk apps are triggered and garuda users found that Latte has nothing to do with it. When GTK apps where launched even from cmd same issue was appearing even though Latte was not running.