Skip to content

Ctrl+Q to close program #2136

Closed
Closed

Description

@toboil-features

The fewer issues I have to read, the more new features I will have time to implement, so I ask that you please try these things first

Description

I want to have an ability to close program with this shortcut.
Important to note: I want to close it flawlessly if I just started the program, without any prompts of saving of what I even haven't changed.

Activity

  1. mifi commented on Sep 2, 2024

    @mifi
    Owner

    are you saying CTRL+Q doesn't work? it's a built in accelerator in electron so i don't see why it shouldn't work. works for me on macos. or are you saying you don't want to be prompted before quitting? then go to Settings and turn off "Ask for confirmation when closing app or file"

  2. toboil-features commented on Sep 3, 2024

    @toboil-features
    Author

    About Ctrl+Q

    For some reason it doesn't work under KDE Plasma on both Wayland and X11 sessions.
    I am using the latest packages now.
    I use losslesscut-bin from AUR

    To be specific:
    Operating System: Arch Linux
    KDE Plasma Version: 6.1.4
    KDE Frameworks Version: 6.5.0
    Qt Version: 6.7.2

    About confirmation window

    To test it out, i need Ctrl+Q to work :)

  3. toboil-features commented on Sep 3, 2024

    @toboil-features
    Author

    Also tried out losslesscut-bin-3.62.0-1 (AUR) with Electron 31.3.1, still problem is here.

  4. mifi commented on Sep 3, 2024

    @mifi
    Owner

    does ctrl-q work in other apps? other electron based apps? have you bound the key to anything else inside losslesscut? do other keyboard shortcuts work in losslesscut like ctrl+w to close the current opened file?

    To test it out, i need Ctrl+Q to work :)

    you can also try to close the app using the mouse, it should also trigger the prompt

  5. toboil-features commented on Sep 4, 2024

    @toboil-features
    Author

    Yes, Ctrl+Q works for me at least in Obsidian.
    No, I haven't reassigned this shortcut, even in Desktop Environment.
    Yes, Ctrl+W does work in LosslessCut as expected.
    Yes, I can close the program in traditional way by pressing X.

  6. added
    ElectronUpstream electron or electron builder bug
    on Sep 29, 2024
  7. added 2 commits that reference this issue on Oct 18, 2026
    5c454ba
    1ab29d5
  8. toboil-features commented on Oct 27, 2026

    @toboil-features
    Author

    oh, works now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ElectronUpstream electron or electron builder bugbug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions