Skip to content

The Close Button Should be Removed in the Restore Windows for the GUI #2503

@DiamondAurumFox

Description

@DiamondAurumFox

When restoring, the windows titled "Restore" appears with the command used to restore selected files and folders. It seems to be a non-interactive terminal emulator window.

The close button on the bottom right of that windows has a "Close" button on the bottom right of the window, it's disabled while the command in running so that the command keeps running, but the window manager's close button is still active, clickable, and able close the window which kills that window (probably the commands too) and freezes backintime-qt

I know you can just disable/remove window manager's close button for that specific window, so I suggest it should be disabled/removed, to prevent accidental data loss. A simple change

$ ~ backintime --diagnostics
which: no crontab in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
which: no fcrontab in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
WARNING: Command crontab and fcrontab not found.
QSettings::value: Empty key passed
<sys>:0: Warning: g_main_context_pop_thread_default: assertion 'stack != NULL' failed
{
    "backintime": {
        "name": "Back In Time",
        "version": "1.6.1",
        "running-as-root": false,
        "latest-config-version": 6,
        "local-config-file": "/home/UsernameReplaced/.config/backintime/config",
        "local-config-file-found": true,
        "global-config-file": "/etc/backintime/config",
        "global-config-file-found": false,
        "started-from": "/usr/share/backintime/common",
        "user-callback": "/home/UsernameReplaced/.config/backintime/user-callback",
        "keyring-supported": true
    },
    "host-setup": {
        "OS": {
            "/etc/os-release": "Arch Linux",
            "/etc/arch-release": "\n",
            "/etc/lsb-release": "DISTRIB_ID=\"Arch\"\nDISTRIB_RELEASE=\"rolling\"\nDISTRIB_DESCRIPTION=\"Arch Linux\"\n"
        },
        "platform": "Linux-7.0.9-zen2-1-zen-x86_64-with-glibc2.43",
        "system": "Linux #1 ZEN SMP PREEMPT_DYNAMIC Fri, 22 May 2026 19:24:51 +0000",
        "XDG_SESSION_TYPE": "wayland",
        "XDG_CURRENT_DESKTOP": "KDE",
        "DESKTOP_SESSION": "/usr/share/wayland-sessions/plasma.desktop",
        "locale": "en_GB, UTF-8",
        "PATH": "/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"
    },
    "python-setup": {
        "python": "3.14.5 main May 10 2026 18:26:20 CPython GCC 16.1.1 20260430",
        "python-executable": "/usr/bin/python",
        "python-executable-symlink": true,
        "python-executable-resolved": "/usr/bin/python3.14",
        "sys.path": [
            "/usr/share/backintime/qt/plugins",
            "/usr/share/backintime/common/plugins",
            "/usr/share/backintime/plugins",
            "/usr/share/backintime/common",
            "/usr/lib/python314.zip",
            "/usr/lib/python3.14",
            "/usr/lib/python3.14/lib-dynload",
            "/usr/lib/python3.14/site-packages"
        ],
        "qt": {
            "Version": "PyQt 6.11.0 / Qt 6.11.1",
            "Theme": "breeze",
            "Theme Search Paths": [
                "/home/UsernameReplaced/.local/share/icons",
                "/var/lib/flatpak/exports/share/icons",
                "/usr/share/icons",
                ":/icons"
            ],
            "Fallback Theme": "breeze",
            "Fallback Search Paths": []
        }
    },
    "external-programs": {
        "RSYNC_OLD_ARGS": "(not set)",
        "RSYNC_PROTECT_ARGS": "(not set)",
        "rsync": {
            "version": "3.4.3",
            "protocol": "32.0",
            "capabilities": "file_bits: 64; inum_bits: 64; timestamp_bits: 64; long_int_bits: 64; socketpairs: True; symlinks: True; symtimes: True; hardlinks: True; hardlink_specials: True; hardlink_symlinks: True; IPv6: True; atimes: True; batchfiles: True; inplace: True; append: True; ACLs: True; xattrs: True; secluded_args: optional; iconv: True; prealloc: True; stop_at: True; crtimes: False",
            "optimizations": "SIMD_roll: True; asm_roll: False; openssl_crypto: True; asm_MD5: False",
            "checksum_list": "xxh128, xxh3, xxh64, md5, md4, sha1, none",
            "compress_list": "zstd, lz4, zlibx, zlib, none",
            "daemon_auth_list": "sha512, sha256, sha1, md5, md4"
        },
        "ssh": "OpenSSH_10.3p1, OpenSSL 3.6.2 7 Apr 2026",
        "sshfs": "3.7.5",
        "encfs": "(no encfs)",
        "shell": "/usr/bin/bash",
        "shell-version": "GNU bash, version 5.3.9(1)-release (x86_64-pc-linux-gnu)"
    }
}

(process:83135): GLib-CRITICAL **: 22:05:53.904: g_main_context_pop_thread_default: assertion 'stack != NULL' failed

Installed source: AUR, on Arch Linux
Video: https://github.com/user-attachments/assets/5c4e58f7-9c6f-4f4e-8367-1e3064092e06

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugGUI & CosmeticsRelated to the graphical interface. Not specific to Qt, which has a different label.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions