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

Child foreground niceness sometimes not applied #93

Open
jacobgkau opened this issue May 1, 2023 · 0 comments
Open

Child foreground niceness sometimes not applied #93

jacobgkau opened this issue May 1, 2023 · 0 comments

Comments

@jacobgkau
Copy link
Member

Steps to reproduce:

  • Fresh boot/login
  • Open a terminal, run top, open Firefox and Nautilus
  • Observe in top that the foreground/background nicenesses work when switching between Firefox and Nautilus
  • Switch focus to the first terminal, then open a second terminal
  • Run stress -c 1
  • Observe that stress (and sometimes top) have the background niceness of 6, even though the terminal with stress is focused.
  • Switch focus away from the terminal and back; the niceness of stress switches to 0.

Screenshot from 2023-05-01 13-05-54

This may occur more often if stress is run very quickly after switching focus to the terminal(s). However, it's not just a delay before the foreground niceness is applied; it's never applied until another focus switch when this issue occurs.

This is not caused by or fixed by #92.

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

No branches or pull requests

1 participant