Bug 28523 - Emacs toolbar display text instead of icons in KDE Plasma Desktop
Summary: Emacs toolbar display text instead of icons in KDE Plasma Desktop
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-05 07:52 CET by Cyril Levet
Modified: 2023-06-15 21:00 CEST (History)
1 user (show)

See Also:
Source RPM: emacs-27.1-1.mga8.src.rpm
CVE:
Status comment:


Attachments
Screeenshot of the problem (37.85 KB, image/png)
2021-03-05 07:53 CET, Cyril Levet
Details

Description Cyril Levet 2021-03-05 07:52:08 CET
Description of problem: Using KDE Plasma desktop emacs toolbar display text buttons instead of icons ones. This only happen when launched as normal user. When launched as root (su -c emacs) icons are properly displayed.
Using GNOME desktop icons are correctly displayed. 


Version-Release number of selected component (if applicable): emacs-27.1-1, plasma-workspace-5.20.4-5


How reproducible: Always


Steps to Reproduce:
1. Install Mageia 8 KDE Plasma
2. Install emacs
3. Launch emacs
Comment 1 Cyril Levet 2021-03-05 07:53:25 CET
Created attachment 12421 [details]
Screeenshot of the problem

Screenshot of the problem when emacs is launched as a normal user with default parameters.
Comment 2 Aurelien Oudelet 2021-03-05 12:14:01 CET
Hi, thanks reporting this.
The screenshot speaks it self.

Gnu Emacs 27.1 (build 1, x86_64-mageia-linux-gnu, GTK+ Version 3.24.23)
2020-09-30
With W11 support.

I suspect this is due the fact this a side effect of bug https://bugs.mageia.org/show_bug.cgi?id=28299 , GTK Apps complains about missing window_decorations.css
GTK3 theme is sometimes not properly set in fresh installation Mageia 8 with only Plasma as a desktop.
No, even trying under Plasma (Systemsettings5 => Application Appearance => Configure GTK/GNOME...) No effects.

I wonder if this https://bugzilla.redhat.com/show_bug.cgi?id=1477745 affects us or an other bug somewhere.

Assigning to maintainer.

Assignee: bugsquad => thierry.vignaud
CC: (none) => ouaurelien

Comment 3 Cyril Levet 2021-04-17 11:41:55 CEST
I have found the source of the problem. It comes from Application Style -> Configure Icons and Toolbars -> Main toolbar label. By default, it is set on Beside Icons. However, Emacs only display text with this parameter.
To revert to the default behaviour of Emacs (Icons only except for Save and Undo) you have to change the value to Text Only. You can use Below Icons and Emacs will only display icons.

It's only a workaround because it seems Emacs does not properly understand the main toolbar label parameter.

In KUbuntu 20.04, Emacs toolbar is displayed correctly using the default parameter (Beside Icons)
Comment 4 Cyril Levet 2023-06-15 21:00:40 CEST
Still valid with Mageia 9 Bêta 2 and emacs-28.2-10.mga9.

Note You need to log in before you can comment on or make changes to this bug.