konsave icon indicating copy to clipboard operation
konsave copied to clipboard

[Bug] Not backing up widgets properly

Open guigirl42 opened this issue 2 years ago • 7 comments

Describe the bug

Multiple Plasma Widgets on my Arch KDE desktops, saved to an export file, do not appear after importing into an Arch-derivative KDE VM. Source & Target DEs are Plasma 5.26.2.

To reproduce Steps to reproduce the behaviour. [click this, type that, see error]:

  1. Created multiple Plasma Widgets on my Arch KDE desktops
  2. Installed konsave from AUR; v2.1.2.
  3. Inspected its conf.yaml, confirmed it already has entry for - wallpapers; i inserted - autostart at Line 68.
  4. Created backup via konsave -s {filename}.
  5. Created export file via konsave -e {filename}.
  6. In VM, imported via konsave -i {filename}.
  7. Logged out/in.
  8. Neither my Source wallpaper, nor any of its several desktop widgets, have appeared in the VM.

Expected behaviour A clear and concise description of what you expected to happen:

  1. I'd hoped that my Source wallpaper, & all of its desktop widgets, would have appeared in the VM
  2. It took cumulatively more than a day to create & finesse all those widgets, so i'd really hoped i could protect my work via konsave, but also be able to easily copy all those widgets to other Plasmas.

Screenshots If applicable, add screenshots to help explain your problem -- the RHS part of my Arch KDE [source] desktop:

System information

  • OS or Linux distribution: [Ubuntu, Arch, ...] = ArchLinux KDE source, ArchLinux GUI-Installer VM target.
  • How did you install Konsave? [from the distro's package manager, using pip, directly from git, ...] = AUR [paru konsave]; source & target.
  • What version of Konsave are you using? Did you try updating? = v2.1.2 [ie, current/latest version]; source & target.

Additional context Commands used, output seen:

Source:

guigirl@archlinuxTower[~] 05:00:05 Wed Nov 02 $> konsave -s RHS-Panel_LHS-Conky__20221102_Widgets_on_Activity1_rhs_Conkies_on_Activity1+2_lhs
Konsave: Saving profile...
Konsave: Profile saved successfully!
guigirl@archlinuxTower[~] 05:01:11 Wed Nov 02 $> 
guigirl@archlinuxTower[~] 05:21:50 Wed Nov 02 $> konsave -l
Konsave profiles:
ID      NAME
1       RHS-Panel_LHS-Conky__20221102_Widgets_on_Activity1_rhs_Conkies_on_Activity1+2_lhs
guigirl@archlinuxTower[~] 05:21:52 Wed Nov 02 $>
guigirl@archlinuxTower[~] 05:24:22 Wed Nov 02 $> konsave -e RHS-Panel_LHS-Conky__20221102_Widgets_on_Activity1_rhs_Conkies_on_Activity1+2_lhs
Konsave: Exporting profile. it might take a minute or two...
Konsave: Exporting "configs"...
Konsave: Exporting "app_layouts"...
Konsave: Exporting "plasma"...
Konsave: Exporting "kwin"...
Konsave: Exporting "konsole"...
Konsave: Exporting "fonts"...
Konsave: Exporting "color-schemes"...
Konsave: Exporting "aurorae"...
Konsave: Exporting "icons"...
Konsave: Exporting "wallpapers"...
Konsave: Exporting ".fonts"...
Konsave: Exporting ".themes"...
Konsave: Exporting ".icons"...
Konsave: Creating archive
Konsave: Successfully exported to /home/guigirl/rhs-panel_lhs-conky__20221102_widgets_on_activity1_rhs_conkies_on_activity1+2_lhs.knsv
guigirl@archlinuxTower[~] 05:25:15 Wed Nov 02 $>

Target:

 [guigirl@algi hostfiles]$ konsave -i /home/guigirl/hostfiles/RHS-Panel_LHS-Conky__20221102_Widgets_on_Activity1_rhs_Conkies_on_Activity1+2_lhs.knsv
Konsave: Importing profile. it might take a minute or two...
Konsave: Importing "plasma"...
Konsave: Importing "kwin"...
Konsave: Importing "konsole"...
Konsave: Importing "fonts"...
Konsave: Importing "color-schemes"...
Konsave: Importing "aurorae"...
Konsave: Importing "icons"...
Konsave: Importing "wallpapers"...
Konsave: Importing ".fonts"...
Konsave: Importing ".themes"...
Konsave: Importing ".icons"...
Konsave: Profile successfully imported!
[guigirl@algi hostfiles]$
[guigirl@algi hostfiles]$ cd /home/guigirl/.config/konsave/profiles
[guigirl@algi profiles]$ ls -la
total 20
drwxr-xr-x 5 guigirl guigirl 4096 Nov  2 06:07 .
drwxr-xr-x 4 guigirl guigirl 4096 Nov  2 05:54 ..
drwxr-xr-x 4 guigirl guigirl 4096 Nov  2 04:12 My_ALG_20221102_0412
drwxr-xr-x 4 guigirl guigirl 4096 Nov  2 04:26 My_ALG_20221102_0426
drwxr-xr-x 4 guigirl guigirl 4096 Nov  2 06:07 RHS-Panel_LHS-Conky__20221102_Widgets_on_Activity1_rhs_Conkies_on_Activity1+2_lhs
[guigirl@algi profiles]$
[guigirl@algi profiles]$ konsave -a RHS-Panel_LHS-Conky__20221102_Widgets_on_Activity1_rhs_Conkies_on_Activity1+2_lhs
Konsave: Copying files...
Konsave: Profile applied successfully! please log-out and log-in to see the changes completely!
[guigirl@algi profiles]$

guigirl42 avatar Nov 02 '22 04:11 guigirl42

Can you please check if the widgets were automatically installed after importing the profile?

Prayag2 avatar Nov 03 '22 12:11 Prayag2

This might appear a silly question, but please would you describe specifically how you'd like me to check that?

In my OP's picture, all widgets on the rhs of the [source] desktop are standard Plasma widgets, available out of the box with any Plasma installation afaik... so ofc they're already available in default condition also in the Add Widgets tool of my target, ie, the VM. The problem is, however, that i had expected/hoped that this import process would recreate all those widgets on my target [VM] desktop, all with my hours of customised configs... but instead the VM's desktop post-import has none of them.

The single widget in the desktop centre is not available out of the box with generic Plasma installations afaik. However, unfortunately, in the VM's guise before i first performed this import, i already had installed that widget, so i'm unsurprised to see it is available now still post-import in the Add Widgets tool... but again, it's not on the desktop.

Maybe i have simply misunderstood the purpose of your project? However, if indeed it was never designed to be able to recreate the user's source widgets in her target installation, then sadly it's not much use to me. Hopefully, though, that's not the situation...?

guigirl42 avatar Nov 04 '22 07:11 guigirl42

I just saw v2.2.0 was released, but i've not yet updated. Will it solve the problem i raised in this Issue?

guigirl42 avatar Jan 31 '23 11:01 guigirl42

No, this issue is still present but I'll try to fix it.

Prayag2 avatar Feb 01 '23 07:02 Prayag2

Hi again. Any progress pls?

guigirl42 avatar Aug 15 '23 09:08 guigirl42

I'm sorry for the late reply but I'll look into this once more.

Prayag2 avatar Dec 17 '23 19:12 Prayag2

I'm sorry for the late reply but I'll look into this once more.

Hello. That would be nice; thank you.

guigirl42 avatar Dec 20 '23 04:12 guigirl42