Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Not backing up widgets properly #64

Open
guigirl42 opened this issue Nov 2, 2022 · 7 comments
Open

[Bug] Not backing up widgets properly #64

guigirl42 opened this issue Nov 2, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@guigirl42
Copy link

guigirl42 commented Nov 2, 2022

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]$
@Prayag2
Copy link
Owner

Prayag2 commented Nov 3, 2022

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

@guigirl42
Copy link
Author

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
Copy link
Author

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

@Prayag2
Copy link
Owner

Prayag2 commented Feb 1, 2023

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

@guigirl42
Copy link
Author

Hi again. Any progress pls?

@Prayag2
Copy link
Owner

Prayag2 commented Dec 17, 2023

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

@Prayag2 Prayag2 changed the title Seems not to have backed-up/restored my desktop widgets. [BUG] Not backing up widgets properly Dec 17, 2023
@Prayag2 Prayag2 added the bug Something isn't working label Dec 17, 2023
@guigirl42
Copy link
Author

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

Hello. That would be nice; thank you.

@Prayag2 Prayag2 changed the title [BUG] Not backing up widgets properly [Bug] Not backing up widgets properly May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants