andrew-bibb / cmst

QT GUI for Connman
173 stars 37 forks source link

Ensure that status is updated upon notification #302

Open iDarkTemplar opened 10 months ago

iDarkTemplar commented 10 months ago

Usually when network is connected, then disconnected and connected again, there is a notification that network is available, but tray icon and some parts of application window still indicate that network is not available. Update those parts of interface on notification signal.

andrew-bibb commented 9 months ago

Are you seeing the program widgets not updating. I've been testing the program and at this end the widgets seem to update properly. This is also related to issue #240 where I removed the call updateDisplayWidgets() as it was causing a crash and really was not necessary.

By the way, thank you for all the PR's you've been working on. You may have seen the big announcement on the front page but if not in late June I was diagnosed with stage 4 abdominal cancer and pretty much all of my attention since then has been focused on fighting that. Still waiting to see if the treatments are working, but I've got a bit of time now which is why I'm working on these.

A-

iDarkTemplar commented 9 months ago

Hi, yes, I've seen the announcement. Best wishes.

As for this bug, I have a machine with wired connection. I open cmst and press "On" button near my wired network connection. cmst disables wired network. After approximately a second I press same button again (now with "Off" label) and network goes up again in a few moments. Usually application window and tray icon still show "offline" state even after "online" notification appears. I don't do anything else like minimizing to tray and opening window again. Doing that sometimes actually updates both tray icon and application window.

Gentoo with qt 5.15.10. EDIT: cmst 2023.03.14.