Skip to content

Text overlaps when renaming a printer #384

Open
@FelipeFMA

Description

@FelipeFMA

When renaming a printer the new text overlaps with the old name, making it hard to read or edit. The expected behavior is for the text field to completely replace the old name or clear it upon entering edit mode.

Steps to Reproduce:

  1. Open system-config-printer.
  2. Right-click on a configured printer.
  3. Select the "Rename" option.
  4. Start typing a new name.

Expected Result:
The input field should:

  • Display only the new text being typed.
  • Clear the old name automatically when renaming starts.

Additional Information:

  • Operating System: Arch Linux with Sway (Wayland).
  • system-config-printer version: 1.5.18-5 (official Arch Linux extra repository).

IMG_6122

When opening the application, the following warnings are displayed in the terminal:

$ system-config-printer

(system-config-printer.py:26202): Handy-WARNING **: 13:00:48.473: Using GtkSettings:gtk-application-prefer-dark-theme together with HdyStyleManager is unsupported. Please use HdyStyleManager:color-scheme instead.
/usr/share/system-config-printer/system-config-printer.py:325: DeprecationWarning: Gtk.ActionGroup.list_actions is deprecated
  for action in printer_manager_action_group.list_actions ():
/usr/share/system-config-printer/system-config-printer.py:326: DeprecationWarning: Gtk.Action.set_sensitive is deprecated
  action.set_sensitive (False)
/usr/share/system-config-printer/system-config-printer.py:334: DeprecationWarning: Gtk.ActionGroup.get_action is deprecated
  act = printer_manager_action_group.get_action (action)
/usr/share/system-config-printer/system-config-printer.py:364: DeprecationWarning: Gtk.UIManager.ensure_update is deprecated
  self.ui_manager.ensure_update ()
/usr/share/system-config-printer/system-config-printer.py:365: DeprecationWarning: Gtk.UIManager.get_accel_group is deprecated
  self.PrintersWindow.add_accel_group (self.ui_manager.get_accel_group ())
/usr/share/system-config-printer/system-config-printer.py:374: DeprecationWarning: Gtk.UIManager.get_action is deprecated
  action = self.ui_manager.get_action ("/new-printer")
/usr/share/system-config-printer/system-config-printer.py:375: DeprecationWarning: Gtk.Action.create_menu_item is deprecated
  newprinteritem = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:673: DeprecationWarning: Gtk.Action.get_proxies is deprecated
  for widget in action.get_proxies ():
/usr/share/system-config-printer/system-config-printer.py:2253: DeprecationWarning: Gdk.threads_enter is deprecated
  Gdk.threads_enter ()
/usr/share/system-config-printer/system-config-printer.py:2204: DeprecationWarning: Gdk.threads_leave is deprecated
  Gdk.threads_leave ()
/usr/share/system-config-printer/system-config-printer.py:711: DeprecationWarning: Gtk.Menu.popup_for_device is deprecated
  self.printer_context_menu.popup_for_device (None, None, None, None,

No additional terminal messages appear when the overlapping issue occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions