Menu item creation refused if you have not uploaded your own icon image

Bug #1983607 reported by Terra Home
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
alacarte (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Under Ubuntu version 22.04 Alacarte refuses to save a menu item if you have not uploaded your own icon image. I suggest that a solution be implemented to create a menu item with a default icon.

Under Debian version 11.4 the error does not occur.
2) Alacarte package Version 4.16.1-1

=

user@ubuntu: $ alacarte

(alacarte:35659): Gtk-CRITICAL **: 19:26:31.197: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(alacarte:35659): Gtk-CRITICAL **: 19:26:31.197: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
Traceback (most recent call last):
  File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 186, in on_response
    self.save()
  File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 176, in save
    util.fillKeyFile(self.keyfile, self.get_keyfile_edits())
  File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 234, in get_keyfile_edits
    Icon=get_icon_string(self, self.builder.get_object('icon-image')),
  File "/usr/share/alacarte/Alacarte/ItemEditor.py", line 58, in get_icon_string
    filename = editor.icon_file
AttributeError: 'LauncherEditor' object has no attribute 'icon_file'
user@ubuntu: $

Terra Home (pantomime)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alacarte (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.