Emote
Emote copied to clipboard
Close button in "About" dialog has no effect in some desktop environments
Clicking on "close" button of the "About" dialog does not close the aforementioned dialog
But, clicking on the close button of the header bar does close the dialog.
This is a core GTK window, not a custom thing - https://github.com/tom-james-watson/Emote/blob/master/emote/picker.py#L200:L215.
I'll need to check on gnome that it works as expected (not at home) but i think it looks like an upstream bug.
What desktop environment / version is this?
Hi,
I am using Kubuntu 20.04. Emote is from Snap, 1.2.0.
This happens when the gtk-dialogs-use-header
setting is set to False
in some environments.
To fix this, you need to destroy the dialog on the response
signal.
Something like this should work:
about_dialog.connect('response', lambda dialog, response: about_dialog.destroy())
I can reproduce this issue @tom-james-watson
I can confirm this issue also on Mate and Compiz stand-alone mode as well under Arch Linux. Rmb on the about window border and choose "close" works as expected.