Skip to content

Ability to fetch debug information from the app #1625

@flxzt

Description

@flxzt

I noticed other apps like Pika Backup have functionality to retrieve extensive debug information from the application itself:

This app has a "Troubleshooting" sub-menu in the help dialog from which this information can be fetched.
We should introduce something similar and require it when opening issues.

Pika backup fetches the following information on my machine:

  • Version: 0.7.5
  • Commit: c802cb1
  • App ID: org.gnome.World.PikaBackup
  • Sandboxed: true (flatpak)
  • BorgBackup Version: borg 1.4.1
OS Information
NAME="Fedora Linux"
VERSION="43 (Workstation Edition)"
RELEASE_TYPE=stable
ID=fedora
VERSION_ID=43
VERSION_CODENAME=""
PRETTY_NAME="Fedora Linux 43 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:43"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f43/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=43
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=43
SUPPORT_END=2026-12-02
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Flatpak Information
Ok(
    FlatpakInfo {
        instance: Instance {
            app_commit: Some(
                "5b8ae021f079a58720e99c34ee5f30fea1acad813144319c38829f65b4700013",
            ),
            flatpak_version: Some(
                "1.16.2",
            ),
        },
        context: {
            "shared": "network;ipc;",
            "devices": "all;",
            "sockets": "x11;wayland;fallback-x11;ssh-auth;",
            "filesystems": "~/.var/app;xdg-run/gvfsd;xdg-run/pika-backup:create;/var:ro;xdg-run/gvfs;xdg-data/flatpak:ro;host;",
            "unset-environment": "GTK_THEME;LD_PRELOAD;",
        },
        session_bus_policy: {
            "org.gtk.MountOperationHandler": "talk",
            "org.freedesktop.Flatpak.*": "talk",
            "org.gtk.vfs.*": "talk",
        },
        system_bus_policy: {
            "org.freedesktop.UPower": "talk",
        },
    },
)
User Autostart
[Desktop Entry]
Type=Application
Name=org.gnome.World.PikaBackup
X-XDP-Autostart=org.gnome.World.PikaBackup
Exec=flatpak run --command=pika-backup-monitor org.gnome.World.PikaBackup
X-Flatpak=org.gnome.World.PikaBackup

Global Autostart

Metadata

Metadata

Assignees

No one assigned

    Labels

    devDevelopment / Build issuesenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions