Emote icon indicating copy to clipboard operation
Emote copied to clipboard

Close button in "About" dialog has no effect in some desktop environments

Open tomsquest opened this issue 3 years ago • 5 comments

Clicking on "close" button of the "About" dialog does not close the aforementioned dialog

image

But, clicking on the close button of the header bar does close the dialog.

tomsquest avatar Nov 22 '20 13:11 tomsquest

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?

tom-james-watson avatar Nov 22 '20 13:11 tom-james-watson

Hi,

I am using Kubuntu 20.04. Emote is from Snap, 1.2.0.

tomsquest avatar Nov 24 '20 16:11 tomsquest

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())

rafaelmardojai avatar Dec 01 '20 03:12 rafaelmardojai

I can reproduce this issue @tom-james-watson

mdhishamsayed avatar Aug 17 '22 16:08 mdhishamsayed

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.

Martina-Neumayer avatar Jul 25 '23 21:07 Martina-Neumayer