https://bugs.gpodder.org/show_bug.cgi?id=1258

           Summary: Episodes list graphic glitch with non-english
                    description
           Product: gPodder
           Version: 2.11+ (Git "master" branch)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: low
         Component: Application
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=603)
 --> (https://bugs.gpodder.org/attachment.cgi?id=603)
str -> unicode

Every episodes list update, duplicate lines of some episode from either current
or previous selected podcast appear. By hovering mouse over them or scrolling
around messes list more and more.

Console is filled with this kind of errors:
...
/home/mcs/src/gpodder/src/gpodder/gtkui/base.py:222: GtkWarning: Failed to set
text from markup due to error parsing markup: Ошибка в строке 2 на симво
ле 132: Недопустимый UTF-8 текст в имени — неправильная последовательность
«Гости: Илья Барабанов , Илья Азар , Олеся Герасименко , Дарья Черку�...»       
  gtk.main()
...
i.e. invalid utf-8 text if found (namely, the last char)

After some research I've found that this error was introduced by commit
2994c2e15d1ed8397597433d651f4f2aeed1a323 (src/gpodder/model.py)
Starting this commit any description longer than 120 chars will be sliced to
fit them. But this will work incorrectly with multi-byte str.

Trivial fix attached.

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to