Gradio icon indicating copy to clipboard operation
Gradio copied to clipboard

Startup notification broken if browser running in background

Open ghost opened this issue 6 years ago • 0 comments

When running gradio in the background, if you click on gradio icon in dock, startup notification process is not completed making appmenu unusable until a timeout...

Here how to fix it (based on Lollypop code so you need to translate this to Vala) in Gio.Application.init():

self.register(None)
if self.get_is_remote():
       Gdk.notify_startup_complete()

ghost avatar Mar 22 '18 10:03 ghost