Custom Query (152 matches)
Results (16 - 18 of 152)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1107 | fixed | Please implement | somebody | guest |
| description |
The following function: pango_parse_markup () isn't implemented. If anyone tells me how to do it, I'm willing to do it myself (never really touched the FFI before) |
|||
| #1108 | fixed | Add Eq instances for all of Graphics.UI.Gtk.Gdk.Enums | somebody | guest |
| description |
None of the enumerations in Gdk.Enums are instances of Eq, which makes it cumbersome to check for certain events. For example, I wanted to keep track of the fullscreen state of a window with the following code: ref <- newIORef False
onWindowState win $ \WindowState { eventWindowState = state } -> do
writeIORef ref (WindowStateFullscreen `elem` state)
return True
However, writing the code this way requires an Eq instance; workarounds require either manually defining one or using pattern matching, which is cumbersome because state is a list of WindowState values. It would be trivial to add deriving (Eq) to these enumerations (and also Read/Show, for debugging purposes). |
|||
| #1112 | fixed | "Xlib: unexpected async reply" with threaded RTS and --sync command line parameter | somebody | guest |
| description |
A trivial program which uses unsafeInitGUIForThreadedRTS, and doesn't even start additional threads, causes the above error message when started with the "--sync" command line parameter. It has to be compiled with "-threaded", but multithreading doesn't need to be enabled at runtime for the error to occur. The same problem occurs even without the "--sync" parameter, but only in a much more complex program. All the parameter does is tell X to report errors synchronously. Calling XInitThreads at the start of main makes the error disappear, which indicates that Haskell calls Gtk (which in turn calls X) from multiple OS threads. The attached archive contains three versions of the same program:
|
|||