On 19-09-2022 22:35, Matt Horan wrote:
This package is missing a dependency on python3-gi-cairo. This is not a
major issue but does cause the unread icon to not work. I backported
this package to bullseye but I presume it's an issue in unstable. I
think this is due to a change back in ~2020 to fix some trayicon issues.

trayicon is a plugin, shall we make that a recommends?

Sounds good to me. Though if the trayicon is enabled by default, it's somewhat confusing behavior.

And, .... I only see "import cairo". We do depend on python3-cairo. Can
you show how it doesn't work? (Maybe starting liferea from the command
line and hope we see messages).

Here is the traceback I get without the python3-gi-cairo package installed:

Traceback (most recent call last):
  File "/usr/lib/x86_64-linux-gnu/liferea/plugins/trayicon.py", line 256, in 
feedlist_new_items_cb
    pix = self.show_new_count(double_figure)
  File "/usr/lib/x86_64-linux-gnu/liferea/plugins/trayicon.py", line 243, in 
show_new_count
    pix = pixbuf_text(pix_size, pix_size,
  File "/usr/lib/x86_64-linux-gnu/liferea/plugins/trayicon.py", line 63, in 
pixbuf_text
    Gdk.cairo_set_source_pixbuf(context, bg_pix,
KeyError: 'could not find foreign type Context'

Then the icon remains the globe instead of the newspaper with a count.

Thanks,
Matt

Attachment: signature.asc
Description: PGP signature

Reply via email to