Bug 398979

Summary: Custom widget properties are forgotten
Product: [Unmaintained] lattedock Reporter: RaitaroH <RaitaroHikami>
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED WORKSFORME    
Severity: minor    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Layout

Description RaitaroH 2018-09-23 09:18:35 UTC
Created attachment 115178 [details]
Layout

SUMMARY
Actually just read the steps. Is weird.

STEPS TO REPRODUCE
1. Right click on the konsole widget
2. Click properties
3. Go to Application tab
4. Make Command: `konsole --hold -e "zsh"`
5. Now copy the dock. Check konsole command (properly copied)
6. Remove the new dock.
7. Restart latte-dock with `latte-dock --replace`
8. Check the konsole again. The command is back to `konsole` even though it wasn't changed in the dock at all. This only happens if a dock is created by copy and not if a new default one is made. I am not sure why.

EXPECTED RESULT
Nothing to happen.


ACTUAL RESULT
Aaa, I am not even sure why the command is changed.


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION
The new prefer global shortcuts setting does not have an effect. This bug is not a big deal in my opinion but is weird.
Comment 1 Michail Vourlakos 2018-09-23 09:42:55 UTC
it needs some time in order for settings to be written in the file, around 2-3 secs...

I tried to replicate in my system but I cant
Comment 2 RaitaroH 2018-09-23 09:58:30 UTC
(In reply to Michail Vourlakos from comment #1)
> it needs some time in order for settings to be written in the file, around
> 2-3 secs...
> 
> I tried to replicate in my system but I cant

I only pointed this out. Not sure what is going on though so don't worry. I don't make new docks all the time anyway.