On Wed, 3 Jun 2020 23:20:57 +0200, Mike Wey wrote:
On 03-06-2020 00:08, Joel Christensen wrote:
**
Gdk:ERROR:../gdk/quartz/gdkdnd-quartz.c:43:gdkquartzwindowdragbegin: assertion failed: (gdkquartzdragsourcecontext == NULL)
Bail out! Gdk:ERROR:../gdk/quartz/gdkdnd-quartz.c:43:gdkquartzwindowdragbegin: assertion failed: (gdkquartzdragsourcecontext == NULL)
Abort trap: 6Workaround is to click and then use the keyboard to copy text.
Might be a GTK issue, do you have something i could try locally?
On my Mac, using the trackpad, when I click and drag to select text, sometimes it doesn't select anything, and that's when it crashes.
class ScrolledTextWindow : ScrolledWindow {
MyTextView myTextView;
this()
{
super();
myTextView = new MyTextView("");
add(myTextView);
} // this()
auto getMyTextView() {
return myTextView;
}
}
class MyTextView : TextView
{
private:
TextBuffer textBuffer;
string _content;
//TextIter textIter;
public:
this(string content)
{
super();
textBuffer = getBuffer();
_content = content;
setWrapMode(GtkWrapMode.WORD);
textBuffer.setText(_content);
}
auto getTextBuffer() {
return textBuffer;
}
} // class MyTextView