manatools / dnfdragora

dnfdragora is a dnf frontend based on libyui abstraction
GNU General Public License v3.0
137 stars 41 forks source link

Can't Close Panel Notification #45

Closed jimkp closed 6 years ago

jimkp commented 7 years ago

Using on Korora 25 Xfce dnfdragora.noarch 1.0.1-5.git20170505.2a3b056.fc25
dnfdragora-gui.noarch 1.0.1-5.git20170505.2a3b056.fc25 After running dnfdragora-updater from the menu an icon appears in the notification area. Right click on that icon gives a few options and all work except the final one "Exit". The icon doesn't disappear and remains active, i.e. the other options continue to work.

jimkp commented 7 years ago

Further info on this. I ran the Check Update option and it crashed. Now the exit option is working.

Not sure what was happening before. But will monitor in future. If I can't re-produce in the next couple of days I'll close this.

jimkp commented 7 years ago

I've been monitoring this and seeing it happen occasionally. Today I finally worked out what triggered it. The panel icon becomes unresponsive after resuming from hibernation.

As mentioned running Korora 25 Xfce, all latest updates from Fedora including kernel 4.10.15-200.

jimkp commented 7 years ago

Additional information - When trying to run dnfdragora with the icon unresponsive I see this error "nfdaemon client error: g-io-error-quark: GDBus.Error:org.baseurl.DnfSystem.LockedError: dnf is locked by another application (36)"

anaselli commented 7 years ago

good catch indeed we don't unlock if we don't exit the program. We should think how to manage something like that @Conan-Kudo wdyt?

Conan-Kudo commented 7 years ago

@anaselli Yeah, most definitely. We probably need something to ensure that things hand off smoothly, or otherwise this will remain pretty broken.