* bug#39238: 26.3; Emacs icons displaying improperly on KDE
@ 2020-01-22 7:41 xs wang
2020-10-28 12:39 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: xs wang @ 2020-01-22 7:41 UTC (permalink / raw)
To: 39238
[-- Attachment #1: Type: text/plain, Size: 1495 bytes --]
Problem description:
When I use the Task Switcher in the large icon style in KDE plasma, the
Emacs icon is always displayed in low resolution, like in the link below.
https://i.imgur.com/AV4YsN3.png
Steps to reproduce:
1. Install Emacs on Manjaro KDE edition
2. Use the Plasma Large Icons style for the Task Switcher (System Settings
> Window Management > Task Switcher > Main Window > Visualization > Large
icons)
4. Hit alt-tab
Actual results:
The alt-tab window switcher displays Emacs's icon as an ugly scaled-up
48x48 icon as shown in the above picture link.
Expected results:
The 128x128 icon should be used instead, so that the large icon is pretty
and not pixelated.
The problem occurs because Emacs does not set _NET_WM_ICON_NAME to a
128x128 icon. Because of this, the window manager it not aware of the
high-res icon, and is forced to display a scaled-up version of the largest
icon it is aware of--the 48x48 version. This can be verified by running
`xprop` and targeting Emacs's main window; you will see that the largest
icon it knows about is only 48x48.
For more information and context, see the following:
https://bugs.kde.org/show_bug.cgi?id=351055
https://specifications.freedesktop.org/wm-spec/1.4/ar01s05.html
The same problem have been discussed several times in the reddit, see:
https://www.reddit.com/r/emacs/comments/czhs57/the_emacs_icon_is_pixelated_in_plasma/
https://www.reddit.com/r/kde/comments/cnyuzw/some_icons_in_alt_tab_switcher_are_pixelated_for/
[-- Attachment #2: Type: text/html, Size: 2109 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#39238: 26.3; Emacs icons displaying improperly on KDE
2020-01-22 7:41 bug#39238: 26.3; Emacs icons displaying improperly on KDE xs wang
@ 2020-10-28 12:39 ` Lars Ingebrigtsen
2020-12-08 18:10 ` Lars Ingebrigtsen
0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-10-28 12:39 UTC (permalink / raw)
To: xs wang; +Cc: 39238
xs wang <wangxs1989@gmail.com> writes:
> The 128x128 icon should be used instead, so that the large icon is pretty and not
> pixelated.
>
> The problem occurs because Emacs does not set _NET_WM_ICON_NAME to a
> 128x128 icon. Because of this, the window manager it not aware of the high-res
> icon, and is forced to display a scaled-up version of the largest icon it is aware
> of--the 48x48 version. This can be verified by running `xprop` and targeting
> Emacs's main window; you will see that the largest icon it knows about is only
> 48x48.
I don't have a KDE system to test with here -- is this problem still
present in Emacs 28? If so, would it be possible for you to create a
patch for this problem?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#39238: 26.3; Emacs icons displaying improperly on KDE
2020-10-28 12:39 ` Lars Ingebrigtsen
@ 2020-12-08 18:10 ` Lars Ingebrigtsen
0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-08 18:10 UTC (permalink / raw)
To: xs wang; +Cc: 39238
Lars Ingebrigtsen <larsi@gnus.org> writes:
> I don't have a KDE system to test with here -- is this problem still
> present in Emacs 28? If so, would it be possible for you to create a
> patch for this problem?
More information was requested, but no response was given within a
month, so I'm closing this bug report. If the problem still exists,
please respond to this email and we'll reopen the bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-08 18:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-22 7:41 bug#39238: 26.3; Emacs icons displaying improperly on KDE xs wang
2020-10-28 12:39 ` Lars Ingebrigtsen
2020-12-08 18:10 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.