| Summary: | Latte is not working properly after desktop startup | ||
|---|---|---|---|
| Product: | [Unmaintained] lattedock | Reporter: | Jeff Hodd <jghodd> |
| Component: | application | Assignee: | Michail Vourlakos <mvourlakos> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | major | ||
| Priority: | NOR | ||
| Version First Reported In: | 0.10.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Screenshot of desktop on startup with latte autostart
Screenshot of systemsettings->Startup and Shutdown->Autostart Screenshot of systemsettings->Startup and Shutdown->Desktop Session Screenshot of restarted dock with latte spacer |
||
you can follow discussion and solution at: https://forum.endeavouros.com/t/latte-dock-settings-window/16483/18 1. add latte-dock to be ignored from plasma restore session as shown in screenshots 2. add latte-dock to be started properly through autostart processes I already add latte-dock to the ignore list, Michail. From ksmserverrc: excludeApps=latte-dock,octopi-notifier,thunderbird I can also provide a screenshot of systemsettings->Startup and Shutdown->Desktop Session if you want, but those settings are stored in ksmserverrc, as above. Same for systemsettings->Startup and Shutdown->Autostart. Latte is setup there correctly. 3. use Latte default layout in order to check out that this is not an issue created by specific applet Created attachment 140667 [details]
Screenshot of systemsettings->Startup and Shutdown->Autostart
Created attachment 140668 [details]
Screenshot of systemsettings->Startup and Shutdown->Desktop Session
4. Show me also the contents of the applied desktop file (In reply to Jeff Hodd from comment #5) > Created attachment 140668 [details] > Screenshot of systemsettings->Startup and Shutdown->Desktop Session 5. are you sure that comma is the way to separate multiple application records in there? [root@bslxenvy64 latte]# cat Bluestar.layout.latte [ActionPlugins][1] RightButton;NoModifier=org.kde.latte.contextmenu [Containments][1] activityId= byPassWM=false enableKWinEdges=true formfactor=2 immutability=1 isPreferredForShortcuts=false lastScreen=-1 location=4 name= onPrimary=true plugin=org.kde.latte.containment raiseOnActivityChange=false raiseOnDesktopChange=false settingsComplexity=4 timerHide=700 timerShow=200 viewType=0 visibility=2 wallpaperplugin=org.kde.image [Containments][1][Applets][2] immutability=1 plugin=org.kde.latte.plasmoid [Containments][1][Applets][2][Configuration] PreloadWeight=0 [Containments][1][Applets][2][Configuration][General] isInLatteDock=true launchers59=file:///usr/share/applications/org.kde.dolphin.desktop,file:///usr/share/applications/org.kde.konsole.desktop,file:///usr/share/applications/gimp.desktop,file:///usr/share/applications/vlc.desktop,applications:libreoffice-writer.desktop,applications:virtualbox.desktop,file:///usr/share/applications/filezilla.desktop,file:///usr/share/applications/thunderbird.desktop,file:///usr/share/applications/firefox.desktop,file:///usr/share/applications/chromium.desktop,applications:google-chrome.desktop,file:///usr/share/applications/pidgin.desktop,file:///usr/share/applications/transmission-qt.desktop,applications:gucharmap.desktop,file:///usr/share/applications/systemsettings.desktop [Containments][1][Applets][3] immutability=1 plugin=org.kde.plasma.lock_logout [Containments][1][Applets][3][Configuration] PreloadWeight=0 [Containments][1][Applets][3][Configuration][ConfigDialog] DialogHeight=540 DialogWidth=720 [Containments][1][Applets][3][Configuration][General] show_lockScreen=false [Containments][1][Applets][4] immutability=1 plugin=org.kde.plasma.pager [Containments][1][Applets][4][Configuration] PreloadWeight=0 [Containments][1][Applets][4][Configuration][General] showWindowIcons=true [Containments][1][Applets][6] immutability=1 plugin=org.kde.plasma.panelspacer [Containments][1][Applets][6][Configuration] PreloadWeight=0 [Containments][1][Applets][6][Configuration][General] expanding=false [Containments][1][Applets][7] immutability=1 plugin=org.kde.plasma.panelspacer [Containments][1][Applets][7][Configuration] PreloadWeight=0 [Containments][1][Applets][7][Configuration][General] expanding=false [Containments][1][Applets][8] immutability=1 plugin=org.kde.plasma.showdesktop [Containments][1][Applets][8][Configuration] PreloadWeight=0 [Containments][1][Applets][9] immutability=1 plugin=org.kde.plasma.trash [Containments][1][Applets][9][Configuration] PreloadWeight=0 [Containments][1][ConfigDialog] DialogHeight=658 DialogWidth=539 [Containments][1][Configuration] PreloadWeight=0 [Containments][1][General] advanced=true alignmentUpgraded=true appletOrder=8;4;7;2;6;3;9 durationTime=x1 iconSize=32 shadowsUpgraded=true shrinkThickMargins=true tasksUpgraded=true threeColorsWindows=true titleTooltips=true zoomLevel=16 [Containments][1][Indicator] customType= enabled=true enabledForApplets=true padding=0.07999999821186066 type=org.kde.latte.default [LayoutSettings] activities= background= backgroundStyle=0 color=blue customBackground= customTextColor= disableBordersForMaximizedWindows=false icon= lastUsedActivity=6014f639-5a00-4ab1-8d37-cc778272db68 launchers= popUpMargin=-1 preferredForShortcutsTouched=false schemeFile= sharedLayout= showInMenu=true textColor=fcfcfc version=2 (In reply to Michail Vourlakos from comment #7) > (In reply to Jeff Hodd from comment #5) > > Created attachment 140668 [details] > > Screenshot of systemsettings->Startup and Shutdown->Desktop Session > > 5. are you sure that comma is the way to separate multiple application > records in there? Yes to check default layout you can use: latte-dock -d --default-layout I want to reiterate that I am *not* seeing multiple instances of a latte-dock process. 7. in your distro layout you are using "plugin=org.kde.plasma.panelspacer" this should not be possible. These are only plasma panels specific spacers, there is a chance that they can create abnormal behavior for you layout. For spacers in Latte it is suggested to use: https://store.kde.org/p/1287102/ (In reply to Jeff Hodd from comment #11) > I want to reiterate that I am *not* seeing multiple instances of a > latte-dock process. it shouldnt be possible to see multiple instances of latte because latte prevents that. What we are trying to confirm is that Latte is not started to early in the process and that is achieved by the new provided desktop file. Ok. The default layout works. Is there anything in my layout file that you can see that might be questionable? Sorry. Just saw your comment on panelspacer. let me look into that. (In reply to Jeff Hodd from comment #14) > Ok. The default layout works. Is there anything in my layout file that you > can see that might be questionable? one of the applets is probably be the fault here: 1. drop the plasma panel spacers because they are not meant to be used with Latte and this is why they are not shown is Plasma Widgets Explorer 2. if you dropped panels spacers and the problem persists check one by one the following: - pager - lock/logout - show desktop - trashcan my guess is that [1] is the issue or the pager one The interesting thing is that once the bad instance is killed and the desktop restored, you can start latte from the system menu without any problems... Anyway, I've built and installed the plasma5-applets-latte-spacer package and made the related change to the layout file. I'll let you know if that works. Ok. It came up with the default layout, so I changed the layout to my modified one. Same issue. The bottom of the screen became inaccessible. I opened a terminal and killed the latte process and restarted it via the system menu. It came up no problem, as I'd already described in the bug description. Any ideas? Also, I do want a pager in the dock. This is part of my distro and I consider the pager to be an important component. I've been using latte since your very first release (0.1.0) and everything has worked fine right through 0.9.12. What's changed? Also, the latte spacer doesn't appear to actually provide a space... Created attachment 140669 [details]
Screenshot of restarted dock with latte spacer
(In reply to Jeff Hodd from comment #20) > Created attachment 140669 [details] > Screenshot of restarted dock with latte spacer Did you add the latte spacer as a regular user would do by drag n drop? Btw latte spacer is like a regular applet and provides its settings window in order to specify its length. yeah. figured out the spacer. about to restart, again... well, it's not the spacers. same issue. i'll start replacing the other pieces. ends up it's the Lock/Logout widget. wouldn;t have guessed that one. i'm going to try the plasma spacers again, since it appears they weren;t the issue. the standard kde panelspacers work just fine, Michail. for now i'll stick with those and work the latte spacers in to future releases. the lock/logout widget was the issue. i know you've changed the status to resolved, but i was wondering if you could clarify something. the lock/logout widget is pretty innocuous - it does nothing really on startup - and was working in the dock without any problems as of v0.9.12. what changed in 0.10.0 that might have impacted its inclusion in the dock? it's a pretty standard widget... (In reply to Jeff Hodd from comment #27) > i know you've changed the status to resolved, but i was wondering if you > could clarify something. the lock/logout widget is pretty innocuous - it > does nothing really on startup - and was working in the dock without any > problems as of v0.9.12. what changed in 0.10.0 that might have impacted its > inclusion in the dock? it's a pretty standard widget... no idea 2200 commits... v0.10 has changed plenty of things... I wouldnt be surprised if the applet has layout issues... ok. thanks Michail. that was the only thing i thought might have impacted it too. |
Created attachment 140666 [details] Screenshot of desktop on startup with latte autostart SUMMARY The latest version, v0.10.0, is not functioning properly when started via KDE/Plasma Autostart. On login, the bottom half of the screen is blacked out and blocks any desktop functionality from mid-screen down. If you open a terminal and kill the latte-dock process, all desktop functionality returns. You can then start latte-dock from the system menu, and it starts and functions as expected. I have tried clearing the qmlcache, rebuilding the package in my build environment, building the master version from github, autostarting from xdg and attempted to start it from session restore. None of these approaches fix the problem. It does not appear that the latte-dock process has crashed, it's simply interfering with the normal desktop startup. I have checked the logs for any sign of crashes - none exist. STEPS TO REPRODUCE 1. Install v0.10.0 of latte-dock 2. Install latte autostart 3. Reboot system 4. Log in to Plasma desktop OBSERVED RESULT The bottom half of the screen is either non-functional or blacked out. Latte-dock is inaccessible. Parts of graphical apps running below the halfway mark are also inaccessible. EXPECTED RESULT Should have full desktop functionality and see the dock at the bottom of the screen. SOFTWARE/OS VERSIONS Windows: macOS: Linux: 5.13.9 (available in About System) KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.84.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION After the desktop is started up, if you kill the latte process, full desktop functionality is returned. If latte is then restarted via the system menu, it starts as expected. This issue reminds me of a plasma bug that was fixed several months ago, where plasma components/widgets were being created too early - before the corona was fully instantiated (that bug produced a black screen with latte dock running at the bottom).