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

Export and Import Themes Buttons Not Functioning in a VM #550

Open
AkroVibe opened this issue Sep 2, 2024 · 6 comments
Open

Export and Import Themes Buttons Not Functioning in a VM #550

AkroVibe opened this issue Sep 2, 2024 · 6 comments
Milestone

Comments

@AkroVibe
Copy link

AkroVibe commented Sep 2, 2024

I cannot use the Export and Import theme buttons found in Cosmic Settings under Settings > Desktop > Appearance > Export/Import. They seem unresponsive when I attempt to export my custom theme. I’m new to this and would greatly appreciate any advice on troubleshooting and fixing the problem.

@bri-rose
Copy link

bri-rose commented Sep 9, 2024

from my experience, they do work however there is no feedback if an error prevents the themes import.
you could test by exporting the default dark or light theme then importing that to the inverse.

it seems the appearance settings are very particular about the wording in a custom theme: making tweaks to the actual values without changing any names has worked for me. i’m not sure yet (though i’ve been fiddling a bit to find it) what the exact requirements are, eg. not sure if all the name items from the default config need to be present, or if you can remove some but can’t use any color names that aren’t present.

@WatchMkr
Copy link

WatchMkr commented Sep 11, 2024

@AkroVibe are you using COSMIC in a VM?

On my hardware install Export/Import works. On a new 24.04 VM install the buttons do not work. There are no error messages when ran from the terminal.

@WatchMkr WatchMkr moved this to Alpha 2 Settings in COSMIC Epoch 1 Sep 12, 2024
@WatchMkr WatchMkr added this to the alpha 2 milestone Sep 12, 2024
@AkroVibe
Copy link
Author

@WatchMkr , I've encountered this error on a VM, specifically with 'Boxes' running on Fedora 40 Workstation. I will also test it on bare metal by the end of the day and will provide you with an update on whether the error persists.

@AkroVibe
Copy link
Author

@WatchMkr I have checked the bare metal and can confirm it is performing well. The issue seems to be limited to the virtual machine at this time.

@WatchMkr WatchMkr changed the title Export and Import Themes Buttons Not Functioning Export and Import Themes Buttons Not Functioning in a VM Sep 16, 2024
@WatchMkr WatchMkr modified the milestones: alpha 2, alpha 3 Sep 25, 2024
@WatchMkr WatchMkr moved this from Alpha 5 Settings to Post-Current-Alpha ToDo in COSMIC Epoch 1 Dec 3, 2024
@WatchMkr WatchMkr modified the milestones: alpha 3, alpha 6 Dec 3, 2024
@WatchMkr WatchMkr modified the milestones: alpha 6, alpha 7 Jan 14, 2025
@outpoints
Copy link

outpoints commented Jan 20, 2025

I can't get this to work on Alpha 5.
Running cosmic-settings via terminal outputs this when selecting the import/export buttons.

  ERROR  shortcuts custom config error: GetKey("custom", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at /build/.cargo/git/checkouts/cosmic-settings-daemon-8f1ce050cb107471/747e482/config/src/shortcuts/mod.rs:43 on main

  ERROR  failed to select a file for importing a custom theme.
    at cosmic-settings/src/pages/desktop/appearance/mod.rs:905 on tokio-runtime-worker

  ERROR  failed to select a file for importing a custom theme.
    at cosmic-settings/src/pages/desktop/appearance/mod.rs:928 on tokio-runtime-worker

Running Alpha 5 on Arch Linux.

@outpoints
Copy link

I just tested the git version and it is still encountering the same issue.

    at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/i18n-embed-0.15.3/src/fluent.rs:35 on main

  ERROR  Error while adding resource to bundle: Overriding { kind: Message, id: "password" }.
    at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/i18n-embed-0.15.3/src/fluent.rs:35 on main

  ERROR  Error while adding resource to bundle: Overriding { kind: Message, id: "username" }.
    at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/i18n-embed-0.15.3/src/fluent.rs:35 on main

  ERROR  Error while adding resource to bundle: Overriding { kind: Message, id: "password" }.
    at /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/i18n-embed-0.15.3/src/fluent.rs:35 on main

  ERROR  Failed to load Panel system config., err: GetKey("size_wings", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at cosmic-settings/src/pages/desktop/panel/mod.rs:86 on main

  ERROR  Failed to load Panel system config., err: GetKey("size_center", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at cosmic-settings/src/pages/desktop/panel/mod.rs:86 on main

  ERROR  Error when loading Panel container config., err: GetKey("size_wings", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at cosmic-settings/src/pages/desktop/panel/inner.rs:68 on main

  ERROR  Error when loading Panel container config., err: GetKey("size_center", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at cosmic-settings/src/pages/desktop/panel/inner.rs:68 on main

  ERROR  Error when loading Panel container config., err: GetKey("size_wings", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at cosmic-settings/src/pages/desktop/panel/inner.rs:68 on main

  ERROR  Error when loading Panel container config., err: GetKey("size_center", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at cosmic-settings/src/pages/desktop/panel/inner.rs:68 on main

  ERROR  Failed to load Dock system config., err: GetKey("size_wings", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at cosmic-settings/src/pages/desktop/dock/mod.rs:134 on main

  ERROR  Failed to load Dock system config., err: GetKey("size_center", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at cosmic-settings/src/pages/desktop/dock/mod.rs:134 on main

  ERROR  Error when loading Panel container config., err: GetKey("size_wings", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at cosmic-settings/src/pages/desktop/panel/inner.rs:68 on main

  ERROR  Error when loading Panel container config., err: GetKey("size_center", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at cosmic-settings/src/pages/desktop/panel/inner.rs:68 on main

  ERROR  Error when loading Panel container config., err: GetKey("size_wings", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at cosmic-settings/src/pages/desktop/panel/inner.rs:68 on main

  ERROR  Error when loading Panel container config., err: GetKey("size_center", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at cosmic-settings/src/pages/desktop/panel/inner.rs:68 on main

   WARN  Key-Binding 'Period' only matched case insensitive for "period"
    at /home/user/.cargo/git/checkouts/cosmic-settings-daemon-8f1ce050cb107471/fe529ae/config/src/shortcuts/sym.rs:26 on main

   WARN  Key-Binding 'Comma' only matched case insensitive for "comma"
    at /home/user/.cargo/git/checkouts/cosmic-settings-daemon-8f1ce050cb107471/fe529ae/config/src/shortcuts/sym.rs:26 on main

   WARN  Key-Binding 'Period' only matched case insensitive for "period"
    at /home/user/.cargo/git/checkouts/cosmic-settings-daemon-8f1ce050cb107471/fe529ae/config/src/shortcuts/sym.rs:26 on main

   WARN  Key-Binding 'Comma' only matched case insensitive for "comma"
    at /home/user/.cargo/git/checkouts/cosmic-settings-daemon-8f1ce050cb107471/fe529ae/config/src/shortcuts/sym.rs:26 on main

  ERROR  shortcuts custom config error: GetKey("custom", Os { code: 2, kind: NotFound, message: "No such file or directory" })
    at /home/user/.cargo/git/checkouts/cosmic-settings-daemon-8f1ce050cb107471/fe529ae/config/src/shortcuts/mod.rs:43 on main

  ERROR  failed to select a file for importing a custom theme.
    at cosmic-settings/src/pages/desktop/appearance/mod.rs:905 on tokio-runtime-worker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Post-Current-Alpha ToDo
Development

No branches or pull requests

4 participants