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

Regression: confirm_os_window_close=x stopped to work #3960

Closed
Felixoid opened this issue Aug 20, 2021 · 6 comments
Closed

Regression: confirm_os_window_close=x stopped to work #3960

Felixoid opened this issue Aug 20, 2021 · 6 comments
Labels

Comments

@Felixoid
Copy link

Describe the bug
The setting is ignored and window/tab is closed silently

To Reproduce
Steps to reproduce the behavior:

  1. kitty --config NONE -o confirm_os_window_close=1
  2. Open a few more windows and tabs
  3. Try to close a tab with few windows, it's closed w/o confirmation
  4. Try to close an OS window with few tabs, it's closed too

Environment details

kitty 0.23.1 (8397970bf8) created by Kovid Goyal
Linux felix-lm 5.13.9-arch1-1 #1 SMP PREEMPT Sun, 08 Aug 2021 11:25:35 +0000 x86_64
Arch Linux \r (\l)
Running under:X11
Loaded config overrides:
  confirm_os_window_close 1

Config options different from defaults:
confirm_os_window_close 1

@Felixoid Felixoid added the bug label Aug 20, 2021
@kovidgoyal
Copy link
Owner

Works for me. Note that if you are running from master, it will ignore
windows that are sitting at a prompt.

@Felixoid
Copy link
Author

Felixoid commented Aug 20, 2021

Here's a screencast of a mentioned behavior

vokoscreenNG-2021-08-20_11-04-32.mov

vokoscreenNG-2021-08-20_11-04-32.tar.gz

@kovidgoyal
Copy link
Owner

Those are all windows sitting at prompts.

@Felixoid
Copy link
Author

Ok, it seems I didn't get your idea. But how can I now prevent the terminal from unsafe closing the tab or window?

https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.confirm_os_window_close does this documentation misleading now?

@kovidgoyal
Copy link
Owner

kovidgoyal commented Aug 20, 2021 via email

@Felixoid
Copy link
Author

Oh, thanks. It works now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants