GTK+ 3

75 views
Skip to first unread message

Matthew Flatt

unread,
Aug 17, 2015, 12:32:56 PM8/17/15
to d...@racket-lang.org
As of this morning, the `racket/gui` library on Unix variants uses GTK+
3 instead of GTK+ 2, although it will continue to use GTK+2 if GTK+ 3
is not available. The switch to GTK+ 3 hopefully provides better
support for high-resolution displays.

Watch out for GUI regressions, and let me know if you run into
problems. If you need to fall back to GTK+ 2 (when you have GTK+ 3
installed), set the `PLT_GTK2` environment variable to anything.

Laurent

unread,
Aug 19, 2015, 10:27:36 AM8/19/15
to Matthew Flatt, d...@racket-lang.org
That's great, thanks a lot!

One obvious regression: Scrolling in DrRacket works only when the mouse cursor is on the scroll bar. However it works well in the Edit/Preferences/Editing/Indenting lists.
I have some issues with refreshing message labels too, but I don't have yet a simple example.

Laurent


--
You received this message because you are subscribed to the Google Groups "Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-dev+...@googlegroups.com.
To post to this group, send email to racke...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/20150817163254.F41406501DE%40mail-svr1.cs.utah.edu.
For more options, visit https://groups.google.com/d/optout.

Matthew Flatt

unread,
Aug 19, 2015, 10:42:16 AM8/19/15
to Laurent, d...@racket-lang.org
Those sound like problems that I fixed yesterday, although they could
be additional issues.

If you're not running the very latest snapshot, please try the new one
and let me know whether the problems persist.

Thanks!

Laurent

unread,
Aug 19, 2015, 10:55:42 AM8/19/15
to Matthew Flatt, d...@racket-lang.org
It is indeed fixed in the newest version, however DrRacket is very slow to start up (more than 1minute I think), then uses 100% cpu for some time but then drops to normal usage and runs smoothly AFAICT.

Brian Mastenbrook

unread,
Aug 19, 2015, 10:57:35 AM8/19/15
to Matthew Flatt, d...@racket-lang.org
The scaling seems to be much improved in the GTK 3 version. However, the latest snapshot (20150819-674ab66) seems to be incredibly slow to start when compared to 6.2 on my system.
--
Brian Mastenbrook
br...@mastenbrook.net
http://brian.mastenbrook.net/

Matthew Flatt

unread,
Aug 19, 2015, 11:07:56 AM8/19/15
to Brian Mastenbrook, d...@racket-lang.org
It looks like there are timestamp problems with the snapshot builds. A
`raco setup` should fix the problem (quickly), and I'll figure out
what's going wrong with the snapshot VMs.

Laurent

unread,
Aug 19, 2015, 12:03:57 PM8/19/15
to Matthew Flatt, Brian Mastenbrook, d...@racket-lang.org
I confirm, a `raco setup` fixes the slow startup issue. Thanks!

--
You received this message because you are subscribed to the Google Groups "Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-dev+...@googlegroups.com.
To post to this group, send email to racke...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages