Skip to content

Text invisible / TypeError: 'RGBA' object is not iterable #374

Description

@cweiske

Trying to draw a text on a screenshot with gradia 1.13.0-4 on Debian 13 (with .deb package from debian testing), I get errors:

TypeError: 'RGBA' object is not iterable
Traceback (most recent call last):
  File "/usr/share/gradia/gradia/overlay/drawing_overlay.py", line 769, in _on_draw
    action.draw(cr, self._image_to_widget_coords, scale)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/gradia/gradia/overlay/drawing_actions.py", line 415, in draw
    if self.options.fill_color and any(c > 0 for c in self.options.fill_color):
                                                      ^^^^^^^^^^^^^^^^^^^^^^^

The text is invisible.
The color selection on the left only shows transparent background unless I manually select a color.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions