GNU bug report logs - #48783
Advertise support for Startup Notification when built with GTK

Previous Next

Package: emacs;

Reported by: Peter Oliver <p.d.oliver <at> mavit.org.uk>

Date: Tue, 1 Jun 2021 18:41:01 UTC

Severity: normal

Tags: patch

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48783 in the body.
You can then email your comments to 48783 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#48783; Package emacs. (Tue, 01 Jun 2021 18:41:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Oliver <p.d.oliver <at> mavit.org.uk>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 01 Jun 2021 18:41:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Oliver <p.d.oliver <at> mavit.org.uk>
To: bug-gnu-emacs <at> gnu.org
Subject: Advertise support for Startup Notification when built with GTK
Date: Tue, 1 Jun 2021 19:40:01 +0100 (BST)
[Message part 1 (text/plain, inline)]
The specification for the Startup Notification Protocol (https://specifications.freedesktop.org/startup-notification-spec/startup-notification-latest.txt) says that we should put “StartupNotify=true” in our .desktop files if we support it.  Although we don’t cater for it directly, GTK gives us it for free from version 2.2 onwards (https://developer.gnome.org/platform-overview/stable/dev-launching-startupnotify.html.en).  Hence, we should advertise support provided that this is a GTK build.

I have attached a patch to do this.

The practical effect of this change is that window managers will arrange for a slow to start Emacs to not steal the keyboard focus of a user who is typing into another application when Emacs pops onto the screen.

I have requested copyright assignment paperwork but am currently waiting to hear back.

-- 
Peter Oliver
[0001-Advertise-support-for-Startup-Notification-when-buil.patch (text/plain, attachment)]

Added tag(s) patch. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 02 Jun 2021 06:00:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48783; Package emacs. (Fri, 04 Jun 2021 10:06:01 GMT) Full text and rfc822 format available.

Message #10 received at 48783 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Peter Oliver <p.d.oliver <at> mavit.org.uk>
Cc: 48783 <at> debbugs.gnu.org
Subject: Re: bug#48783: Advertise support for Startup Notification when
 built with GTK
Date: Fri, 04 Jun 2021 12:05:25 +0200
Peter Oliver <p.d.oliver <at> mavit.org.uk> writes:

> I have attached a patch to do this.
>
> The practical effect of this change is that window managers will
> arrange for a slow to start Emacs to not steal the keyboard focus of a
> user who is typing into another application when Emacs pops onto the
> screen.

Sounds like a good idea to me.

> I have requested copyright assignment paperwork but am currently
> waiting to hear back.

Great; we'll be told when the assignment is complete, but in case we
miss it, can you remind us after it's complete so that we can apply this
patch?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48783; Package emacs. (Tue, 22 Jun 2021 10:52:02 GMT) Full text and rfc822 format available.

Message #13 received at 48783 <at> debbugs.gnu.org (full text, mbox):

From: Peter Oliver <p.d.oliver <at> mavit.org.uk>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 48783 <at> debbugs.gnu.org
Subject: Re: bug#48783: Advertise support for Startup Notification when built
 with GTK
Date: Tue, 22 Jun 2021 11:50:54 +0100 (BST)
On Fri, 4 Jun 2021, Lars Ingebrigtsen wrote:

> Peter Oliver <p.d.oliver <at> mavit.org.uk> writes:
>
>> I have requested copyright assignment paperwork but am currently
>> waiting to hear back.
>
> Great; we'll be told when the assignment is complete, but in case we
> miss it, can you remind us after it's complete so that we can apply this
> patch?

The paperwork is now complete.  Thanks.

-- 
Peter Oliver




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#48783; Package emacs. (Tue, 22 Jun 2021 13:19:02 GMT) Full text and rfc822 format available.

Message #16 received at 48783 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Peter Oliver <p.d.oliver <at> mavit.org.uk>
Cc: 48783 <at> debbugs.gnu.org
Subject: Re: bug#48783: Advertise support for Startup Notification when
 built with GTK
Date: Tue, 22 Jun 2021 15:17:50 +0200
Peter Oliver <p.d.oliver <at> mavit.org.uk> writes:

> The paperwork is now complete.  Thanks.

Great; I've now pushed your patch to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 28.1, send any further explanations to 48783 <at> debbugs.gnu.org and Peter Oliver <p.d.oliver <at> mavit.org.uk> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 22 Jun 2021 13:19:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 21 Jul 2021 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 280 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.