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

Ctrl+Q to close program #2136

Open
4 tasks done
toboil-features opened this issue Aug 31, 2024 · 5 comments
Open
4 tasks done

Ctrl+Q to close program #2136

toboil-features opened this issue Aug 31, 2024 · 5 comments
Labels
bug Electron Upstream electron bug

Comments

@toboil-features
Copy link

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.

@mifi
Copy link
Owner

mifi commented Sep 2, 2024

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"

@toboil-features
Copy link
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 :)

@toboil-features
Copy link
Author

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

@mifi
Copy link
Owner

mifi commented Sep 3, 2024

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

@toboil-features
Copy link
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.

@mifi mifi added bug Electron Upstream electron bug labels Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Electron Upstream electron bug
Projects
None yet
Development

No branches or pull requests

2 participants