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

Long exit delay causes "Do you want to terminate application" dialog #3866

Open
leamas opened this issue Apr 29, 2024 · 5 comments
Open

Long exit delay causes "Do you want to terminate application" dialog #3866

leamas opened this issue Apr 29, 2024 · 5 comments
Labels

Comments

@leamas
Copy link
Collaborator

leamas commented Apr 29, 2024

Describe the bug
I have since long observed a rather long delay from closing opencpn until it actually exits. Now, on a RPi clone running XFCE I get the dialog below which makes me file this.

To Reproduce
Steps to reproduce the behavior:

  1. Start opencpn
  2. Configure two serial connections, one input, one output (not clear to me if load affects this)
  3. Click X in top-right window corner
  4. Wait around a second
  5. See dialog below

Expected behavior
There should be no delay

Screenshots
unresponsive

Desktop (please complete the following information if applicable):

$ uname -a
Linux homsan 6.1.43-rockchip-rk3588 #1.1.8 SMP Fri Feb  2 21:16:10 CST 2024 aarch64 GNU/Linux

That is, Debian 12/Bookworm updated as of "recently" + Rockchip's kernel fork

Smartphone/Tablet (please complete the following information if applicable):

Orange PI 5 (similar to RPi 5, but based on RK3588S -> faster), NVME disk, 8Gb

Additional context

Disabling the serial drivers connections makes the problem go away.

@leamas leamas added the bug label Apr 29, 2024
@leamas leamas changed the title Long exit delay causes "Do you want to terminate appliation" dialog Long exit delay causes "Do you want to terminate application" dialog Apr 29, 2024
@leamas
Copy link
Collaborator Author

leamas commented Apr 29, 2024

Too late for 5.10? Might have to wait until we do something about #3116.

@transmitterdan
Copy link
Collaborator

On slow machines (Rpi) this dialog has been observed for a while. Most users know not to panic. Unless the fix is super simple I think it can wait.

@leamas
Copy link
Collaborator Author

leamas commented Apr 29, 2024

.Unless the fix is super simple I think it can wait.

Agreed

@leamas leamas added this to the OpenCPN 5.12.0 milestone Apr 29, 2024
@nohal
Copy link
Collaborator

nohal commented Apr 29, 2024

Maybe mention gsettings set org.gnome.mutter check-alive-timeout 60000 or even gsettings set org.gnome.mutter check-alive-timeout 0 somewhere. The default 5 seconds must be a pain with pretty much anything on the ARM SBCs...

@leamas
Copy link
Collaborator Author

leamas commented Apr 29, 2024

hm... This is on X11, no Wayland or mutter. As a quite large part of the Arm users, I guess.

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

3 participants