Public bug reported:
1) Description: Ubuntu Resolute Raccoon (development branch)
Release: 26.04
2) Εγκατεστημένα: 50~alpha-1
Υποψήφιο: 50~alpha-1
Πίνακας Έκδοσης:
*** 50~alpha-1 500
500 http://gr.archive.ubuntu.com/ubuntu resolute/universe amd64 Packages
500 http://gr.archive.ubuntu.com/ubuntu resolute/universe i386 Packages
100 /var/lib/dpkg/status
3) I'm expecting the different categories of applications to have their
respective icons as well
4) they do not have icons
I'm providing some coding I did, which is working for the english language.
It couldn't be added to the apps package, because every time I have to
implement it manually.
That way it could resemble old ubuntu where different categories were
accompanied by their respective icons.
const APPLICATION_ICON_SIZE = 24; /changes the size of subcategory application
e.g. from Games Chess/(if we want bigger icons then change 24 to 32 and change
also the line):const MENU_HEIGHT_OFFSET = 182; /changes height of menu 132/
class CategoryMenuItem extends PopupMenu.PopupBaseMenuItem {static
{GObject.registerClass(this);}
constructor(button, category) {
super();
this._category = category;
this._button = button;
this._oldX = -1;
this._oldY = -1;
//Add icons to categories
//in newer shell versions could start from here
let Icon = new St.Icon();
if (this._category)
{var catname = this._category.get_name();
if (catname==='Accessories')
Icon = new St.Icon({icon_name:
`applications-accessories-symbolic.symbolic.png`, style_class:
'system-status-icon', icon_size: '24'});
if (catname==='CrossOver')
Icon = new St.Icon({icon_name:
`cxmenu-cxoffice-0-crossover-symbolic.symbolic.png`, style_class:
'system-status-icon', icon_size: '24'});
if (catname==='Games')
Icon = new St.Icon({icon_name:
`applications-games-symbolic.symbolic.png`, style_class: 'system-status-icon',
icon_size: '24'});
if (catname==='Graphics')
Icon = new St.Icon({icon_name:
`applications-graphics-symbolic.symbolic.png`, style_class:
'system-status-icon', icon_size: '24'});
if (catname==='Internet')
Icon = new St.Icon({icon_name:
`applications-internet-symbolic.symbolic.png`, style_class:
'system-status-icon', icon_size: '24'});
if (catname==='Office')
Icon = new St.Icon({icon_name:
`applications-office-symbolic.symbolic.png`, style_class: 'system-status-icon',
icon_size: '24'});
if (catname==='Other')
Icon = new St.Icon({icon_name:
`applications-other-symbolic.symbolic.png`, style_class: 'system-status-icon',
icon_size: '24'});
if (catname==='Programming')
Icon = new St.Icon({icon_name:
`applications-engineering-symbolic.symbolic.png`, style_class:
'system-status-icon', icon_size: '24'});
if (catname==='Science')
Icon = new St.Icon({icon_name:
`applications-science-symbolic.symbolic.png`, style_class:
'system-status-icon', icon_size: '24'});
if (catname==='Electronics')
Icon = new St.Icon({icon_name:
`applications-electronics-symbolic.symbolic.png`, style_class:
'system-status-icon', icon_size: '24'});
if (catname==='Education')
Icon = new St.Icon({icon_name:
`applications-libraries-symbolic.symbolic.png`, style_class:
'system-status-icon', icon_size: '24'});
if (catname==='Sound & Video')
Icon = new St.Icon({icon_name:
`applications-multimedia-symbolic.symbolic.png`, style_class:
'system-status-icon', icon_size: '24'});
if (catname==='System Tools')
Icon = new St.Icon({icon_name:
`applications-system-tools-symbolic.symbolic.png`, style_class:
'system-status-icon', icon_size: '24'});
if (catname==='Utilities')
Icon = new St.Icon({icon_name:
`applications-utilities-symbolic.symbolic.png`, style_class:
'system-status-icon', icon_size: '24'});
if (catname==='Windows Applications')
Icon = new St.Icon({icon_name:
`cxmenu-cxoffice-0-cxmenu-symbolic.symbolic.png`, style_class:
'system-status-icon', icon_size: '24'});
if (catname==='Wine')
Icon = new St.Icon({icon_name: `wine-symbolic.symbolic.png`,
style_class: 'system-status-icon', icon_size: '24'});}
else
Icon = new St.Icon({icon_name: 'emblem-favorite-symbolic.symbolic.png',
style_class: 'system-status-icon', icon_size: '24'})
this.add_child(Icon);
//from here on the same
let name;
if (this._category)
name = this._category.get_name();
else
name = _('Favorites');
this.add_child(new St.Label({text: name}));
this.connect('motion-event', this._onMotionEvent.bind(this));
this.connect('notify::active', this._onActiveChanged.bind(this));
ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: gnome-shell-extension-apps-menu 50~alpha-1
ProcVersionSignature: Ubuntu 6.19.0-6.6-generic 6.19.2
Uname: Linux 6.19.0-6-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Feb 28 02:02:19 2026
InstallationDate: Installed on 2022-08-28 (1279 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Alpha amd64 (20220828)
PackageArchitecture: all
SourcePackage: gnome-shell-extensions
UpgradeStatus: Upgraded to resolute on 2026-02-06 (21 days ago)
** Affects: gnome-shell-extensions (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug resolute wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142914
Title:
apps categories don't have icons
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extensions/+bug/2142914/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs