Bug 28523 - Emacs toolbar displays text instead of icons
Summary: Emacs toolbar displays text instead of icons
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA9-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2021-03-05 07:52 CET by Cyril Levet
Modified: 2024-08-28 19:12 CEST (History)
5 users (show)

See Also:
Source RPM: emacs-29.4-1.mga9
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.

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

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.
Comment 5 Marja Van Waes 2024-08-22 22:59:47 CEST
We stopped supporting Mageia 8 almost 8 months ago 
https://blog.mageia.org/en/2023/12/30/mageia-8-end-of-life/

That means we also stopped fixing Mageia 8 bugs and that this bug report needs to be closed, regardless of whether it was fixed for Mageia 8 or not.

If this particular bug did not get fixed for Mageia 8, then we do regret that.

If this issue is still present in Mageia 9 or cauldron, then please reopen this report, write a comment and adjust the "Version:" field.

If you are not yet a member of one or our teams, then please consider becoming one. https://wiki.mageia.org/en/Contributing
Mageia is a community project, meaning that we, the users, make Mageia together.

The more active contributors we have, the more bug reports will get fixed.
Besides, being active in a team can be very rewarding. It was and is certainly rewarding to me :-D

Status: NEW => RESOLVED
Resolution: (none) => OLD

Comment 6 Cyril Levet 2024-08-23 20:31:03 CEST
Still valid in Mageia 9 and Mageia Cauldron. For Mageia 9:
- emacs-29.4-1
- plasma-workspace-5.27.10-1.2
For Cauldron:
- emacs-29.4-1
- plasma-workspace-6.1.4-1

To be more specific, when you set the Toolbar label in Plasma parameters the results are:
- None -> emacs displays text besides icons
- Text Only -> emacs displays icons only except for Save and Undo (default emacs behaviour)
- Beside icons -> emacs displays text only
- Below icons -> emacs display icons only

Source RPM: emacs-27.1-1.mga8.src.rpm => emacs-29.4-1.mga9.src.rpm
Resolution: OLD => (none)
Version: 8 => 9
Status: RESOLVED => REOPENED

Comment 7 Marja Van Waes 2024-08-24 16:38:12 CEST
Tested with several DEs in cauldron (all using X): Mate, Gnome and Xfce all have the same issue. I didn't manage to test with wayland.

Whiteboard: (none) => MGA9TOO
Version: 9 => Cauldron
CC: (none) => marja11
Source RPM: emacs-29.4-1.mga9.src.rpm => emacs-29.4-1.mga9, emacs-29.4-1.mga10
Summary: Emacs toolbar display text instead of icons in KDE Plasma Desktop => Emacs toolbar displays text instead of icons

Comment 8 David GEIGER 2024-08-25 10:19:27 CEST
Should be fixed with emacs-29.4-1.1.mga9!


Assigning to QA,

Packages in 9/Core/Updates_testing:
======================
emacs-29.4-1.1.mga9
emacs-common-29.4-1.1.mga9
emacs-doc-29.4-1.1.mga9.noarch.rpm
emacs-el-29.4-1.1.mga9.noarch.rpm
emacs-leim-29.4-1.1.mga9.noarch.rpm
emacs-nox-29.4-1.1.mga9
emacs-pgtk-29.4-1.1.mga9

From SRPMS:
emacs-29.4-1.1.mga9.src.rpm

CC: (none) => geiger.david68210

Comment 9 Marja Van Waes 2024-08-26 11:09:14 CEST
Thanks, David.

In cauldron, I can now see the icons above the text (having both seems a good choice to me). Mostly modern icons, except those for Open directory and Close, which are traditional, but if that annoys anyone: that is a different issue.

Assigning to QA

Assignee: thierry.vignaud => qa-bugs
Whiteboard: MGA9TOO => (none)
Version: Cauldron => 9
Source RPM: emacs-29.4-1.mga9, emacs-29.4-1.mga10 => emacs-29.4-1.mga9

katnatek 2024-08-27 03:20:21 CEST

Keywords: (none) => advisory

Comment 10 katnatek 2024-08-27 03:22:22 CEST
RH x86_64 Plasma session

Confirm the bug
Update without issues
The update fix the reported issue

Whiteboard: (none) => MGA9-64-OK
CC: (none) => andrewsfarm

Comment 11 Thomas Andrews 2024-08-27 14:34:15 CEST
Validating.

CC: (none) => sysadmin-bugs
Keywords: (none) => validated_update

Comment 12 Mageia Robot 2024-08-28 19:12:30 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2024-0188.html

Resolution: (none) => FIXED
Status: REOPENED => RESOLVED


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