GNOME Bugzilla – Bug 667739
Moving a anchored widget does not work
Last modified: 2018-04-15 00:10:31 UTC
When a Widget is anchored within a TextView and you move around a selection which contains text and a widget, the text is moved but the widget disappears. Steps to reproduce: 1.) Insert some text and a widget (e.g. a button) into a textview 2.) make a selection to include some text and the widget 3.) drag around the selection and release the mouse button 4.) The text has been moved, the widget is gone. From what i've found out so far the associated Gdk Window of the widget is unrealized when it's anchor is moved within the textbuffer.
Which gtk+ version is this about?
I am using Gtk 2.24 using the Gtk# 2.12 Bindings
Okay, just to get this straight, what makes you sure that this is not an issue of the ancient and outdated Gtk# bindings? A plain C testcase is welcome, I guess...
Created attachment 205085 [details] Testcase
I confirm this bug, it still occurs with gtk+ 3.13.
Probably related: bug #596989.
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla. If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab: https://gitlab.gnome.org/GNOME/gtk/issues/new