GNU bug report logs - #65534
[FR] icon for w32 notification message

Previous Next

Package: emacs;

Reported by: Shynur Xie <one.last.kiss <at> outlook.com>

Date: Fri, 25 Aug 2023 13:04:01 UTC

Severity: wishlist

To reply to this bug, email your comments to 65534 AT debbugs.gnu.org.

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#65534; Package emacs. (Fri, 25 Aug 2023 13:04:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Shynur Xie <one.last.kiss <at> outlook.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 25 Aug 2023 13:04:02 GMT) Full text and rfc822 format available.

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

From: Shynur Xie <one.last.kiss <at> outlook.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: [FR] icon for w32 notification message
Date: Fri, 25 Aug 2023 12:57:57 +0000
I use this form to send message to the desktop:

    (w32-notification-close
     (w32-notification-notify
      :body "Body."))

But it doesn't display an Emacs icon like this:

    +------------------------+
    |[ICON] GNU.Emacs   ... X|
    |                        |
    |Body.                   |
    +------------------------+

How about adding an icon for this message, like most apps do?

MS-Windows 11
system-configuration: x86_64-w64-mingw32



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#65534; Package emacs. (Fri, 25 Aug 2023 14:14:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Shynur Xie <one.last.kiss <at> outlook.com>
Cc: 65534 <at> debbugs.gnu.org
Subject: Re: bug#65534: [FR] icon for w32 notification message
Date: Fri, 25 Aug 2023 17:13:57 +0300
> From: Shynur Xie <one.last.kiss <at> outlook.com>
> Date: Fri, 25 Aug 2023 12:57:57 +0000
> msip_labels: 
> 
> I use this form to send message to the desktop:
> 
>     (w32-notification-close
>      (w32-notification-notify
>       :body "Body."))
> 
> But it doesn't display an Emacs icon like this:
> 
>     +------------------------+
>     |[ICON] GNU.Emacs   ... X|
>     |                        |
>     |Body.                   |
>     +------------------------+

The :icon parameter (and its default, if :icon is not specified)
defines the icon shown in the system tray, not the icon shown on the
notification "balloon".

You can have a limited fixed set of icons expressing the severity of
the notification displayed, like this:

(w32-notification-notify
  :body "Text notify"
  :level 'error
  :title "Title")

> How about adding an icon for this message, like most apps do?

Feel free to submit patches that allow that.  I'm not sure I see how
to do that using the Shell_NotifyIconW API, but maybe I'm missing
something.




Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 03 Sep 2023 11:05:02 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 285 days ago.

Previous Next


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