FS#73832 - [gnome-passwordsafe] Should depend on python-cairo, otherwise crashes on TOTP field

Attached to Project: Community Packages
Opened by bbhtt (bbhtt) - Thursday, 17 February 2022, 09:58 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 17 February 2022, 20:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Balló György (City-busz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

1. Try writing/pasting something in the new One-time Secret field

2. Crash:

```
(secrets:14480): Gtk-WARNING **: 14:45:04.715: GtkText - did not receive a focus-out event.
If you handle this event, you must return
GDK_EVENT_PROPAGATE so the default handler
gets the event as well
Traceback (most recent call last):
 File "/usr/lib/python3.10/site-packages/gsecrets/widgets/progress_icon.py", line 20, in do_snapshot_symbolic
 ctx = snapshot.append_cairo(rect)
TypeError: Couldn't find foreign struct converter for 'cairo.Context'
```
Installing python-cairo fixes the crash.

Additional info:
* 6.1-1
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 17 February 2022, 20:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  gnome-passwordsafe 6.1-2
Comment by bbhtt (bbhtt) - Thursday, 17 February 2022, 10:04 GMT
Sorry, the alignment broke on pasting the log... here,

```
(secrets:14480): Gtk-WARNING **: 14:45:04.715: GtkText - did not receive a focus-out event.

If you handle this event, you must return

GDK_EVENT_PROPAGATE so the default handler

gets the event as well

Traceback (most recent call last):

File "/usr/lib/python3.10/site-packages/gsecrets/widgets/progress_icon.py",
line 20, in do_snapshot_symbolic

ctx = snapshot.append_cairo(rect)

TypeError: Couldn't find foreign struct converter for 'cairo.Context'
```

Loading...