[grapefruit] [Gtk2hs-users] missing texts
Michael Dever
michael.dever2 at mail.dcu.ie
Tue Mar 10 15:40:56 EDT 2009
Hi,
Upon doing a re-install, and a fresh installation of gtk2hs 0.10, everything
is working again. Properly... no hidden text. So it must be something to do
with an update to Gtk, maybe.
In my update list, it says I have to install 3 different Gtk2+ engine
updates. Maybe one of this has an affect?
Cheers,
Michael
http://www.mickinator.com/wordpress
On Tue, Mar 10, 2009 at 5:58 PM, Michael Dever <michaelcdever at gmail.com>wrote:
> Hi
>
> Wolfgang, I just noticed that happening with my project today and it
> definately wasn't happening a few days ago.I retested some of my older code
> that I know worked properly and it's happening there too. I did however do a
> system update yesterday, so that may have had something to do with it.
>
> I'm reinstalling ubuntu and amn't going to update it, and the run my code.
> Will post my findings later to let you know!
>
> Mick
>
> Sent from my iPod
>
>
> On 10 Mar 2009, at 17:38, Wolfgang Jeltsch <g9ks157k at acme.softbase.org>
> wrote:
>
> Hello,
>>
>> we experienced a strange problem. The UI library Grapefruit (which I
>> develop)
>> uses Gtk2Hs internally. Grapefruit contains some small examples which run
>> very well on my machine (Ubuntu 8.10, AMD64). However, my collegues (who
>> use
>> Debian lenny and Gentoo Linux) have a problem: text sometimes disappears.
>> This applies to all kinds of text: text on buttons, text in text cells of
>> list views, text in progress cells of list views and titles of list view
>> columns. Sometimes, the text is absent at the start of the application. It
>> may disappear or reappear when the window contents are changed or the
>> mouse
>> moves over the respective widgets.
>>
>> Actually, Grapefruit does no strange things with Grapefruit (IMO).
>> Basically,
>> it creates widgets, sets attributes and registers event handlers. I’m not
>> sure whether it’s possible to corrupt memory by calling Gtk2Hs functions
>> in a
>> wrong way. Or if Gtk2Hs has a bug.
>>
>> So I’d like to ask you whether you could have a look at the examples. Do
>> you
>> experience such problems on your machine? Can you imagine what the cause
>> for
>> them might be?
>>
>> To try out, please get the latest Grapefruit version from the darcs
>> repository. It’s the Container example which causes the problems.
>> Downloading, building and running the examples is described on
>> <http://haskell.org/haskellwiki/Grapefruit>. However, this page advises
>> you
>> to use GHCi to run the examples. Since this doesn’t always work well, it’s
>> better to create a standard executable from the following (untested)
>> source
>> code:
>>
>> import Graphics.UI.Grapefruit.Circuit
>>> import Graphics.UI.Grapefruit.GTK
>>> import Examples.Grapefruit.Container
>>>
>>> main = run GTK mainCircuit
>>>
>>
>> Thanks a lot for your help.
>>
>> Best wishes,
>> Wolfgang
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Gtk2hs-users mailing list
>> Gtk2hs-users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gtk2hs-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.haskell.org/pipermail/grapefruit/attachments/20090310/483bd509/attachment.htm
More information about the Grapefruit
mailing list