Gtk.Clipboard set_text() not working

Bug #1876518 reported by Dark Dragon
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pygobject
New
Unknown
pygobject (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Writing to Gtk.Clipboard doesn't work (reading works).

Example code:

#!/usr/bin/python3
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk, Gdk
clipboard = Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD)
clipboard.set_text("Does a text of all texts contain itself?", -1)
clipboard.store()

Ubuntu 20.04 with Gtk 3.36.0-1

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. What desktop environment do you use?

Could you report it upstream on https://gitlab.gnome.org/GNOME/pygobject/ ?

Changed in pygobject (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
bitinerant (bitinerant) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks for reporting it to upstream!

Changed in pygobject (Ubuntu):
status: Incomplete → Triaged
Changed in pygobject:
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.