What Happened?
The wifi in a hospital is very weak. It's very often disconnected and reconnecting fails.
authentication with ... timed out
When authentication fails multiple times, it asks for the password again.
The problem is, the password dialog opens in the background, so i don't notice it!

Steps to Reproduce
You might be able to reproduce the situation with this steps:
- Have some program window open
- Login to a wifi with a password
- Change the saved password in the network settings

- Try to connect to the Wifi again (it should fail and show the dialog)
Expected Behavior
Dialogs should open in the foreground, so the user notices them.
Make sure to apply this to any dialog.
OS Version
Other Linux: NixOS 22.11.4021.54495a4eafe
Software Version
Latest release (I have run all updates)
/nix/store/jikk3bw60msva4n667ggs67h0lby1qd9-wingpanel-indicator-network-2.3.4/
Log Output
May 14 18:53:03 X230 wpa_supplicant[1128]: wlp3s0: Reject scan trigger since one is already pending
May 14 18:53:05 X230 kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
May 14 18:53:05 X230 kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
May 14 18:53:05 X230 wpa_supplicant[1128]: wlp3s0: SME: Trying to authenticate with 72:a7:41:12:dd:f3 (SSID='CAK.Gast' freq=5240 MHz)
May 14 18:53:05 X230 kernel: wlp3s0: authenticate with 72:a7:41:12:dd:f3
May 14 18:53:05 X230 kernel: wlp3s0: send auth to 72:a7:41:12:dd:f3 (try 1/3)
May 14 18:53:06 X230 kernel: wlp3s0: send auth to 72:a7:41:12:dd:f3 (try 2/3)
May 14 18:53:08 X230 kernel: wlp3s0: send auth to 72:a7:41:12:dd:f3 (try 3/3)
May 14 18:53:08 X230 kernel: wlp3s0: authentication with 72:a7:41:12:dd:f3 timed out
May 14 18:53:08 X230 wpa_supplicant[1128]: BSSID 72:a7:41:12:dd:f3 ignore list count incremented to 2, ignoring for 10 seconds
May 14 18:53:08 X230 wpa_supplicant[1128]: wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="CAK.Gast" auth_failures=1 duration=10 reason=CONN_FAILED
May 14 18:53:19 X230 wpa_supplicant[1128]: wlp3s0: CTRL-EVENT-SSID-REENABLED id=0 ssid="CAK.Gast"
May 14 18:53:19 X230 kernel: wlp3s0: authenticate with 72:a7:41:12:dd:f2
May 14 18:53:19 X230 wpa_supplicant[1128]: wlp3s0: SME: Trying to authenticate with 72:a7:41:12:dd:f2 (SSID='CAK.Gast' freq=2437 MHz)
May 14 18:53:19 X230 kernel: wlp3s0: send auth to 72:a7:41:12:dd:f2 (try 1/3)
May 14 18:53:19 X230 kernel: wlp3s0: send auth to 72:a7:41:12:dd:f2 (try 2/3)
May 14 18:53:21 X230 kernel: wlp3s0: send auth to 72:a7:41:12:dd:f2 (try 3/3)
May 14 18:53:22 X230 kernel: wlp3s0: authentication with 72:a7:41:12:dd:f2 timed out
May 14 18:53:22 X230 wpa_supplicant[1128]: BSSID 72:a7:41:12:dd:f2 ignore list count incremented to 2, ignoring for 10 seconds
May 14 18:53:22 X230 wpa_supplicant[1128]: wlp3s0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="CAK.Gast" auth_failures=2 duration=20 reason=CONN_FAILED
May 14 18:53:31 X230 NetworkManager[896]: <warn> [1684083211.2033] device (wlp3s0): Activation: (wifi) association took too long, failing activation
May 14 18:53:31 X230 kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
May 14 18:53:31 X230 kernel: iwlwifi 0000:03:00.0: Radio type=0x1-0x2-0x0
May 14 18:53:31 X230 NetworkManager[896]: <warn> [1684083211.5994] device (wlp3s0): Activation: failed for connection 'CAK.Gast'
Hardware Info
Lenovo Thinkpad X230
What Happened?
The wifi in a hospital is very weak. It's very often disconnected and reconnecting fails.
When authentication fails multiple times, it asks for the password again.
The problem is, the password dialog opens in the background, so i don't notice it!
Steps to Reproduce
You might be able to reproduce the situation with this steps:
Expected Behavior
Dialogs should open in the foreground, so the user notices them.
Make sure to apply this to any dialog.
OS Version
Other Linux: NixOS 22.11.4021.54495a4eafe
Software Version
Latest release (I have run all updates)
/nix/store/jikk3bw60msva4n667ggs67h0lby1qd9-wingpanel-indicator-network-2.3.4/
Log Output
Hardware Info
Lenovo Thinkpad X230