Re: Shameless plug: GTK-Wimp

Richard Atterer <[email protected]> Thu, 20 Mar 2003 16:55:38 +0100
Newsgroups gmane.comp.video.gimp.windows.devel
Message-ID <[email protected]>
On Thu, Mar 20, 2003 at 01:42:58PM +0100, Raymond Penners wrote:
> Richard Atterer wrote:
> >  - It's noticeably slower than "plain" GTK+. (BTW, lots of messages
> >    are printed on the console: 'WARNING **: Couldn't load font "MS Sans
> >    Serif 8" falling back to "Sans 8"')
> 
> Hmm. What GTK version are you using, 2.2?

Yes.

> I don't have access to a W98 machine, could you try the following? What 
> happens if you use the following gtkrc file on plain GTK+, do you also 
> get those messages? [...]

I get them - and it also gets as slow as with GTK-Wimp.

> Also, I am wondering if it is slow because of the messages being printed
> repeatedly, or if it is slow even without the messages?

I managed to switch off the messages (and also compiled my app with 
-mwindows), and this made a big difference! It's hard to say but I think 
it's now as fast as with the default GTK+ theme.

> >  - Empty lines are not displayed
> 
> Noted...

This is now the only remaining big problem for me. FWIW, it happens with
"MS Sans Serif 8" even without using the wimp engine.

> Are the messages you describe above being printed while resizing?

Yes, and a great many of them. They even get printed if you just move the 
pointer over the GtkTextArea. IMHO it might be a good idea to rate-limit 
them somehow.

Cheers,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer     |  CS student at the Technische  |  GnuPG key:
  | \/¯|  http://atterer.net  |  UniversitÀt MÌnchen, Germany  |  0x888354F7
  ¯ '` ¯