SUMMARY The settings of the battery applet within the system tray widget (e.g. battery, wi-fi, etc.) are reset after logging out. However, they are *not* reset after killing and restarting latte-dock. STEPS TO REPRODUCE 1. Modify settings of the battery applet within the system tray 2. Logout of your KDE session and login back 3. Observe that settings modified in 1. were not saved OBSERVED RESULT The settings of the battery applet within the system tray are not saved (reset) after logging out. EXPECTED RESULT They should be saved (not reset). SOFTWARE/OS VERSIONS Linux/KDE Plasma: Manjaro Linux (available in About System) KDE Plasma Version: 5.17.5 KDE Frameworks Version: 5.66.0 Qt Version: 5.14.0 ADDITIONAL INFORMATION The tray's global settings (e.g. which applet to show/not to show) are not affected. Only the settings of the battery applet within the tray.
Show me a screenshot, which settings you are mentioning?
Has nothing to do with Latte... The Battery applet in the systray has in its right click ContextMenu: 1. Show Energy Information (nothing to do with Latte this is a global kcm) 2. Configure Power Saving (nothing to do with Latte this is a global kcm) 3. Configure Battery and Brightness (only one setting "Show percentage" and works as expected after restarting Latte) Battery applet popup: The batter applet popup contains information from from [1] Energy Information... All in one this is not Latte, If you use a plasma panel with a systray you probably going to have the same issue...
Created attachment 125406 [details] The system tray widget with the battery applet in red
(In reply to Michail Vourlakos from comment #2) > Has nothing to do with Latte... > > The Battery applet in the systray has in its right click ContextMenu: > > 1. Show Energy Information (nothing to do with Latte this is a global kcm) > 2. Configure Power Saving (nothing to do with Latte this is a global kcm) > 3. Configure Battery and Brightness (only one setting "Show percentage" and > works as expected after restarting Latte) > > Battery applet popup: > > The batter applet popup contains information from from [1] Energy > Information... All in one this is not Latte, > > If you use a plasma panel with a systray you probably going to have the same > issue... I understand, but when using the Plasma Default Panel (the one you get when you right click on desktop > Add Panel > Default Panel) instead of the Latte dock, and with the same System Tray widget, I do not get the same bug. Therefore I thought this may be indirectly related to Latte. My apologies if this is not.
Which settings are not persistent for you?
(In reply to Michail Vourlakos from comment #5) > Which settings are not persistent for you? The 'Show Percentage' setting of the battery applet within the system tray widget, when the widget is used in the Latte dock.
(In reply to lk.droz from comment #6) > (In reply to Michail Vourlakos from comment #5) > > Which settings are not persistent for you? > > The 'Show Percentage' setting of the battery applet within the system tray > widget, when the widget is used in the Latte dock. Try, right click dock, Layouts, Configure..., is your layout locked to Readonly?
(In reply to Michail Vourlakos from comment #7) > (In reply to lk.droz from comment #6) > > (In reply to Michail Vourlakos from comment #5) > > > Which settings are not persistent for you? > > > > The 'Show Percentage' setting of the battery applet within the system tray > > widget, when the widget is used in the Latte dock. > > Try, right click dock, Layouts, Configure..., is your layout locked to > Readonly? It is not. I have tried locking it to readonly, but the problem persists.
Send me your Latte layout please, there is a chance to be broken... Have your tried when a new layout to test?
Have you tried with a new layout to test if it is still reproducible?
Created attachment 125477 [details] The layout file I'm using
(In reply to Michail Vourlakos from comment #10) > Have you tried with a new layout to test if it is still reproducible? I just tried, and it is reproducible yes. The bug happens with other layouts.
Show me a screenshot please from window: right click Dock, Layouts, Configure...
Created attachment 125515 [details] The screenshot appearing after Right Click Dock > Layouts > Configure
Came here to report this same bug. Still reproducible with latte-dock 0.9.11-1, Plasma 5.18.4 and Plasma Frameworks 5.69.0.
(In reply to William F. from comment #15) > Came here to report this same bug. Still reproducible with latte-dock > 0.9.11-1, Plasma 5.18.4 and Plasma Frameworks 5.69.0. you mean that "Show Percentage" value is not saved?
In my system "Show Percentage" value of Battery applet works just fine all the time... So this is not reproducible for me.
(In reply to Michail Vourlakos from comment #16) > you mean that "Show Percentage" value is not saved? Exactly. The bug occurs for me exactly as lk.droz describes.
(In reply to William F. from comment #18) > (In reply to Michail Vourlakos from comment #16) > > you mean that "Show Percentage" value is not saved? > > Exactly. The bug occurs for me exactly as lk.droz describes. sorry, no idea why breaks for you. in my system works perfectly.
(In reply to Michail Vourlakos from comment #19) > (In reply to William F. from comment #18) > > (In reply to Michail Vourlakos from comment #16) > > > you mean that "Show Percentage" value is not saved? > > > > Exactly. The bug occurs for me exactly as lk.droz describes. > > sorry, no idea why breaks for you. in my system works perfectly. Same issues happens to me, but only with latte dock and system tray battery applet (with separate battery widget it's working fine). Also if I manually edit latte layout and add e.g.: [Containments][13][Applets][61][Configuration][General] showPercentage=true on fist login percentage is shown but on next login it's missing again.
show me a screenshot of your Layout editor please
Created attachment 128538 [details] default latte plasma layout with battery percent option
Created attachment 128539 [details] default latte plasma layout after next login
I want a image screenshot of your Layouts Editor, Right click Dock, Layouts, Configure... show me that window
Created attachment 128540 [details] layout editor I just found out that if I select Multitple, percentage gets saved after login/logout.
I think this is plasma related and it is either tracked down or already fixed with latest plasma versions