Skip to content

Custom keyboard shortcuts disappear when setting an extension base directory #2164

@ksnortum

Description

@ksnortum

Frescobaldi: 4.0.6.dev1
Extension API: 0.9.0
Python: 3.13.7
Git branch: master
on commit: c6bece3
python-ly: 0.9.9
Qt: 6.10.0
PyQt: 6.10.2
qpageview: 1.0.3
OS: Linux-6.17.0-14-generic-x86_64-with-glibc2.42 (Ubuntu 25.10)
Installation kind: distro package or installed from source

In testing someone's extension, I noticed that custom keyboard shortcuts disappear when trying to set a base directory for extensions. It doesn't seem to be related to any specific extension; just setting the base will do it. Here are the steps to recreate the problem (at least on my system):

  1. Copy the Frescobaldi preferences.conf file or start with a fresh install
  2. Create a custom shortcut for a snippet
  3. Edit -> Preferences -> Extensions and select a base directory for the extensions
  4. Frescobaldi requires a restart. Cancel.
  5. Close Frescobaldi manually and relaunch it.
  6. The custom shortcuts for snippets are gone.

Note that my system is setup in a way that makes automatic restarts in Frescobaldi not work. I don't know if this is part of the problem or not. (I will try this on another system soon.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions