Field end cut when they contain non-ascii utf-8 letters
Bug #1817885 reported by
Daniel Agocs
This bug report is a duplicate of:
Bug #1825213: UnicodeDecodeError: 'utf-8' codec can't decode bytes in position 34-35: unexpected end of data.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MenuLibre |
New
|
Undecided
|
Unassigned |
Bug Description
When editing an item like Browser in hungarian OS, where the name is Webböngésző, every save cuts the end of text, to like Webböngés. The solution is to remove length parameter from GLib.markup_
To post a comment you must log in.
Hi
Fedora 30 does not work on
[serdar@fedora Masaüstü]$ menulibre
(menulibre:8936): Gtk-WARNING **: 02:47:49.044: gtk_menu_ attach_ to_widget( ): menu already attached to GtkMenuButton
(menulibre:8936): Gtk-WARNING **: 02:47:49.131: gtk_menu_ attach_ to_widget( ): menu already attached to GtkMenuButton python3. 7/site- packages/ menulibre/ MenulibreApplic ation.py" , line 2216, in do_activate (self, headerbar) python3. 7/site- packages/ menulibre/ MenulibreApplic ation.py" , line 249, in __init__ configure_ application_ treeview( builder) python3. 7/site- packages/ menulibre/ MenulibreApplic ation.py" , line 588, in configure_ application_ treeview ew.Treeview( self, builder) python3. 7/site- packages/ menulibre/ MenulibreTreevi ew.py", line 47, in __init__ _configure_ treeview( builder) python3. 7/site- packages/ menulibre/ MenulibreTreevi ew.py", line 58, in _configure_treeview get_treestore( ) python3. 7/site- packages/ menulibre/ MenuEditor. py", line 122, in get_treestore treestore( treestore, None, menu) python3. 7/site- packages/ menulibre/ MenuEditor. py", line 110, in menu_to_treestore treestore( treestore, treeiter, item[3]) python3. 7/site- packages/ menulibre/ MenuEditor. py", line 99, in menu_to_treestore item[2] ['comment' ]) python3. 7/site- packages/ menulibre/ util.py" , line 98, in escapeText escape_ text(text, len(text)) python3. 7/site- packages/ gi/overrides/ GLib.py" , line 415, in markup_escape_text escape_ text(text, length)
Traceback (most recent call last):
File "/usr/lib/
self.win = MenulibreWindow
File "/usr/lib/
self.
File "/usr/lib/
self.treeview = MenulibreTreevi
File "/usr/lib/
self.
File "/usr/lib/
treestore = MenuEditor.
File "/usr/lib/
return menu_to_
File "/usr/lib/
treestore = menu_to_
File "/usr/lib/
tooltip = escapeText(
File "/usr/lib/
return GLib.markup_
File "/usr/lib64/
return GLib.markup_
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc5 in position 28: unexpected end of data