Custom Query (152 matches)
Results (16 - 18 of 152)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #1183 | fixed | Segfault in ghci 6.12.1 | axel | guest |
| description |
Summary: I get a segmentation fault when running gtk2hs in interactive mode. I haven't seen this happen (yet?) with a compiled gtk2hs program. I think that it may be related to garbage collection. Environment:
Reproduce:
Backtrace: Unfortunately, Arch Linux strips out a lot of debugging information so my gdb backtrace is rather useless. I tried to recompile without debug stripping, but I have yet to have the right magic to get it working correctly. Garbage collection?: I ran ghci with +RTS -S and performed the same steps. On startup, I got lots of things, typically (Gen: 0) - eg:
Which is perfectly fine. But when the GUI starts up, I get silence for the however many seconds, then I get:
and an immediate crash afterwards. In compiled mode, I see similar GC's (both) and I don't get a crash. |
|||
| #1222 | invalid | Setting Foreground / Background color via Attributes on pango layout does not work | axel | guest |
| description |
Hello,
If I do something like layoutSetAttributes lay [AttrForeground? 0 (-1) (Color 255 0 0),
then foreground and background is black (black rectangles are displayed), if I only set the foreground using layoutSetAttributes lay [AttrForeground? 0 (-1) (Color 255 0 0) then the foreground color is always black (not red), if I set the background to whatever value, using layoutSetAttributes lay [AttrBackground? 0 (-1) (Color 255 0 0) foreground and background is always black. To test this with the associated source, modify line 34 or 35 . Maybe I'm dooing something wrong, if so what is the correct way to set foreground and background color. |
|||
| #1238 | fixed | cairoCreateContext | axel | guest |
| description |
"Graphics.Rendering.Pango.Context": -- A context can be created from scratch or, more conveniently, by using -- default settings that are already used in the application. When text -- is rendered through Gdk, use -- 'Graphics.UI.Gtk.Abstract.Widget.widgetCreatePangoContext', if you use -- the Cairo rendering engine, a new context can be acquired using -- 'Graphics.Rendering.Cairo.cairoCreateContext'. The function 'Graphics.Rendering.Cairo.cairoCreateContext' is absent in cairo-0.12.1 . |
|||