Gtk2Hs: Ticket Queryhttp://trac.haskell.org/gtk2hs/query?group=status&milestone=0.10.1&row=description
The Gtk2Hs projecten-USGtk2Hshttp://projects.haskell.org/gtk2hs/Gtk2Hs-bug-tracker-banner-nobg.pnghttp://trac.haskell.org/gtk2hs/query?group=status&milestone=0.10.1&row=description
Trac 0.11.1http://trac.haskell.org/gtk2hs/ticket/1156
http://trac.haskell.org/gtk2hs/ticket/1156#1156: textBufferPasteClipboardThu, 19 Mar 2009 20:04:36 GMTguest<p>
Unable to paste at the current cursor position
</p>
<p>
In <a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/TextBuffer" rel="nofollow">TextBuffer?</a>, function textBufferPasteClipboard has type
</p>
<p>
textBufferPasteClipboard :: <a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/TextBufferClass" rel="nofollow">TextBufferClass?</a> self
=&gt; self
-&gt; Clipboard
-&gt; <a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/TextIter" rel="nofollow">TextIter?</a>
-&gt; Bool defaultEditable
-&gt; IO ()
</p>
<p>
I think the type should be
textBufferPasteClipboard :: <a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/TextBufferClass" rel="nofollow">TextBufferClass?</a> self
=&gt; self
-&gt; Clipboard
-&gt; Maybe <a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/TextIter" rel="nofollow">TextIter?</a>
-&gt; Bool defaultEditable
-&gt; IO ()
</p>
Resultshttp://trac.haskell.org/gtk2hs/ticket/1156#changeloghttp://trac.haskell.org/gtk2hs/ticket/1165
http://trac.haskell.org/gtk2hs/ticket/1165#1165: gtk2hs does not install on haskell platform under windowsTue, 28 Apr 2009 10:39:25 GMTguest<p>
I just tried the new haskell platform installer under Windows XP. When subsequently trying to install gtk2hs 0.10.0, the installer complains that ghc 6.10.1 in required (the platform is 6.10.2) and that i need to fix the searchpath myself (any help on how to do this?). Cabal cannot install cairo/gtk dependent pkgs.
</p>
Resultshttp://trac.haskell.org/gtk2hs/ticket/1165#changeloghttp://trac.haskell.org/gtk2hs/ticket/1185
http://trac.haskell.org/gtk2hs/ticket/1185#1185: development version should have a different version number than the current oneWed, 17 Mar 2010 07:55:05 GMTguest<p>
i just downloaded and compiled/installed the gtk2hs development version from darcs. no problem - thank you for excellent work!
</p>
<p>
i realize that the current version is 0.10.1
and the version i got from darcs has the same 0.10.1 version number. this is unfortunate, because
a) i cannot see if the ghc-pkg contains the development version or the current regular version
b) i cannot have both versions in ghc-pkg and select one or the other with dependence in cabal.
</p>
<p>
i suggest that the development verion has a separate number (and if it were only 0.10.1.1)
</p>
<p>
thank you
andrew
</p>
<p>
ps. how do i register in gtk2hs?
</p>
Resultshttp://trac.haskell.org/gtk2hs/ticket/1185#changeloghttp://trac.haskell.org/gtk2hs/ticket/1184
http://trac.haskell.org/gtk2hs/ticket/1184#1184: Non exhaustive pattern in Show instance for Weight attribute in PangoThu, 04 Mar 2010 17:58:00 GMTguest<p>
In the file
</p>
<p>
gtk/gtk2hs-0.10.1/gtk/Graphics/UI/Gtk/Pango/Types.chs.pp
</p>
<p>
the Show instance for the Weight font attribute is missing the case for the value "<a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/WeightSemibold" rel="nofollow">WeightSemibold?</a>".
</p>
Resultshttp://trac.haskell.org/gtk2hs/ticket/1184#changeloghttp://trac.haskell.org/gtk2hs/ticket/1179
http://trac.haskell.org/gtk2hs/ticket/1179#1179: drag-and-drop with IconViews doesn't work with empty destination storeSat, 19 Dec 2009 11:25:19 GMTguest<p>
It seems that dragging and dropping something into a model backed by an empty store does not work: no new element is added to the store. Using some printouts, it seems that the handlers in <a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/DragDestIface" rel="nofollow">DragDestIface?</a> are not even being called. Maybe I'm doing something wrong?
</p>
<p>
As long as the destination store has something in it when the drop happens, the new element will be added.
</p>
<p>
I've reproduced this behavior in 2 small test cases, using <a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/IconViews" rel="nofollow">IconViews?</a> and <a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/TreeViews" rel="nofollow">TreeViews?</a> as the model, and with a <a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/ListStore" rel="nofollow">ListStore?</a> as the backing store.
</p>
Resultshttp://trac.haskell.org/gtk2hs/ticket/1179#changeloghttp://trac.haskell.org/gtk2hs/ticket/1181
http://trac.haskell.org/gtk2hs/ticket/1181#1181: Filling a TreeView from a background threadSun, 17 Jan 2010 16:31:32 GMTguest<p>
Hello,
</p>
<blockquote>
<p>
I try to refresh the content from a <a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/TreeView" rel="nofollow">TreeView?</a> from a background thread
</p>
</blockquote>
<p>
(created by forkIO). Basically from the background thread I call
listStoreClear and several listStoreAppend from the background thread. I also
use the code from 'Real world Haskell'
timeoutAddFull (yield &gt;&gt; return True)
</p>
<blockquote>
<p>
priorityDefaultIdle 50
</p>
</blockquote>
<p>
So that UI call's has a effect from the background, if I update the text of a
label from the background thread this seems to work however for my treeview I
get the error :
&lt;&lt;
There is a disparity between the internal view of the <a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/GtkTreeView" rel="nofollow">GtkTreeView?</a>,
and the <a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/GtkTreeModel" rel="nofollow">GtkTreeModel?</a>. This generally means that the model has changed
without letting the view know. Any display from now on is likely to
be incorrect.
</p>
<p>
(Newsreader:31777): Gtk-CRITICAL **:
gtk_tree_model_sort_convert_iter_to_child_iter: assertion `VALID_ITER
(sorted_iter, tree_model_sort)' failed
</p>
<p>
(Newsreader:31777): Gtk-CRITICAL **:
gtk_tree_model_sort_convert_iter_to_child_iter: assertion `VALID_ITER
(sorted_iter, tree_model_sort)' failed
Newsreader: user error (<a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/ListStore" rel="nofollow">ListStore?</a>.getRow: iter does not refer to a valid
entry)
</p>
<blockquote class="citation">
<blockquote class="citation">
</blockquote>
</blockquote>
<p>
Apparently I do something wrong, so how do you update a <a class="missing wiki" href="http://trac.haskell.org/gtk2hs/wiki/TreeView" rel="nofollow">TreeView?</a> from a
background thread (in C# or Java we must do the update on the thread of the UI
but I do not seem to find a function to do this.
</p>
<p>
Any help is really appreciated.
</p>
<p>
Thanks
</p>
<p>
Marc Mertens
</p>
Resultshttp://trac.haskell.org/gtk2hs/ticket/1181#changelog