Home > GTK+ > GTK+ 2.5 ReleasedGTK+ 2.5 Released Eugenia Loli 2004-07-20 GTK+ 22 CommentsThe first unstable major version of GTK+ are out and about: Pango 1.5.1, GTK+ 2.5.0 and GLib 2.5.0. Among the new features are some visual ehancements on the way windows draw/resize. About The Author Eugenia LoliEx-programmer, ex-editor in chief at OSNews.com, now a visual artist/filmmaker.Follow me on Twitter @EugeniaLoli 22 Comments 2004-07-20 5:08 am Eugenia I searched those keywords in the links provided and I can’t find any reference to “windows draw/resize”How do you know of these improvements. 2004-07-20 5:17 am I didn’t read the whole thing, but I noticed this:* Performance improvements – predict exposes for override-redirect windows [SÃ?Â¸ren Sandmann] – unset the background when mapping or unmapping windows [SÃ?Â¸ren] – support the update counter spec for smoother resizing [SÃ?Â¸ren] 2004-07-20 5:45 am Thanks, I guess I don’t know what to look for. 2004-07-20 6:17 am At this rate, hopefully GTK and crew will hit v3.0 at the sametime as GNOME. I have always like version numbers coinciding.It makes things so… sexy ;] 2004-07-20 7:33 am GTK could do with some speedups, I hope it achives some faster load times and less clunky. 2004-07-20 8:10 am Like someone else said it would be nice to have both on the two on the same dev path. Though I do realize that to keep them on track on the at the same path is hard to do because one will always prevent the other from being released if they are not on the same page in terms of development speed. 2004-07-20 9:25 am >> Support for ellipsization in PangoLayoutFinally! Hope to see this implemented in most Gtk+ and Nautilus widgets as soon as possible.The current way of using capped texts without any further notice (or even worse: not capping texts) just sucks.>> GtkComboBox, GtkComboBoxEntry: improve placement and>> sizing of popupsHm, does this mean that combo box popups will be finally shown in ‘Windows-style’ below or above the combo box (which is used in Qt as well) instead of that useless way of popping it up on top of the combo box itself? (making it much harder to keep the thing popped up after clicking)>> support the update counter spec for smoother resizingGreat, if this is what I think it is, resizing is going to be much nicer (smoother) compared to how it used to be, especially in combination with Linux (kernel) 2.6 2004-07-20 9:49 am Is it possible to get the old style to define shortcuts? In GTK1 it was possible to select a menu item and press a key combination. I liked this, but in GTK2 it was removed (as default) because it is to complicated for newbies (I don’t like this argument). Is there an option to activate it or is this feature completely removed? 2004-07-20 11:02 am Great, if this is what I think it is, resizing is going to be much nicer (smoother) compared to how it used to be, especially in combination with Linux (kernel) 2.6 It is what you think it is Basically, the update counter makes the window frame and the client redraw in lock-step, so one can’t get way ahead of the other. I think it’s the same way OS X does things, except OS X has double-buffering on top of that. I haven’t tried the GTK+ patches, but in KDE, doing this makes resizing look a whole lot nicer for complicated applications (eg: Konqueror browsing Slashdot). It also get’s rid of a lot of the redraw lag that happens when you resize windows when there are other ones underneath. 2004-07-20 11:17 am Open gconf-editor. Set /desktop/gnome/interface/can_change_accels to true. 2004-07-20 12:25 pm RE: my subject By my name (IP: —.quicknet.nl)>> Support for ellipsization in PangoLayoutFinally! Hope to see this implemented in most Gtk+ and Nautilus widgets as soon as possible.The current way of using capped texts without any further notice (or even worse: not capping texts) just sucks.Nautilus, and so forth, used an Eel (a place where nautilus holds a bunch of extra widgets) widget that did the same. The code was just put into Gtk instead of living in a different module.>> GtkComboBox, GtkComboBoxEntry: improve placement and>> sizing of popupsHm, does this mean that combo box popups will be finally shown in ‘Windows-style’ below or above the combo box (which is used in Qt as well) instead of that useless way of popping it up on top of the combo box itself? (making it much harder to keep the thing popped up after clicking) This is already supported. It just depends on the theme to decide how to do it. Take a look here (notice it is a style property):http://developer.gnome.org/doc/API/2.0/gtk/GtkComboBox.html#GtkComb…What I am much more exited about is the development of some of the new widgets, like GtkIconView (really cool!), GtkCellView, GtkCellRenderProgress and GtkCellRenderCombo. Though many of these were already possible before hand (look at epiphany for example) it is nice to have them integrated into gtk. 2004-07-20 3:06 pm A lot of GTK+ widgets wastea lot of whitespace.For example in menus, thereare a few pixels above and below the textthat are empty. Compare this with windows or macmenus, the GTK ones look clunky because of this.Toolbars have the same problem, there’stoo much space above the icons,between icon and text, below icons and in between consecutive icons.Many other widgets have the same problems,and have had it for years.It would be great if this would be fixed. 2004-07-20 3:39 pm i don’t see that — on the contrary i think there is too little padding on the right side of a menu without accelerator keys.the menu item text ends just at the border but on the left side there is usually some padding because some of the options have icons and some have not (example: context menu of gnome desktop where “change desktop background” is displayed this way.at least i think the arrow that indicates an item has a submenu should go in its own column on the right just like the icons on the left. perhaps i am just to much of a perfectionist? 2004-07-20 3:45 pm >>> GtkComboBox, GtkComboBoxEntry: improve placement and>>> sizing of popups>Hm, does this mean that combo box popups will be finally shown in >’Windows-style’ below or above the combo box (which is used in Qt as well) >instead of that useless way of popping it up on top of the combo box itself? >(making it much harder to keep the thing popped up after clicking)Window’s style popups are actually inferior to the way gtk currently does it’s popups (but the same as gtk’s combo-box popups). In gtk’s current system (and Mac OS’s for that matter), the menu pops up such that the mouse appears over the current item. It is quite common for the user to want to select something near the current item, so this behavior can save said user a lot of time. 2004-07-20 3:58 pm you can just add the linegtk-can-change-accels = 1to your .gtkrc-2.0 file. hope that helps… it is a nice feature. 2004-07-20 4:35 pm This, like many other concerns in this thread, is theme-centric. Some themes, like Ximian Industrial, contain a lot of this wasted menu space, while others, like Simple or the XFce-engine themes, contain virtually no wasted space at all. If your theme has too much wasted space, contact the theme’s developer and voice your opinion about it! 2004-07-20 5:19 pm Or just rework it yourself 2004-07-20 7:22 pm fixing the amount of CPU usage it takes to move a window? If you look at the system monitor while moving a window you’ll see it spikes to 100% sometimes. 2004-07-20 10:40 pm Ignoring SMP here…CPU usage is always either 0% or 100%, unless youaverage it over time. Instantaneous CPU usage isalways 100% for the viewer tool and 0% for everythingelse. Every app that runs will spike to 100%.The “top” program with default settings will giveyou an average over 3 seconds. The “ps” program willgive you an average over the whole life of the process,though it really should give a decaying average.I suppose this “system monitor” thing will averageover a very short time. Perhaps it is 1 second. 2004-07-21 1:28 am > * GtkTreeView> – hover-selection mode [Matthias]If this is what I think it is then it’s something I’ve always missed in GTK, though it’s strange it comes in GtkTreeView (which also includes listview, I think). Or does the new GtkIconView also support hover select ? 2004-07-21 2:07 am You guys could have at least replied to my request after moderating down my comments. Truly disappointing.-magg 2004-07-21 1:09 pm Button space isn’t wasted:Fitts’ LawThe time(ms) it takes to move the cursor to a target isa + b * log2(D/S +1)D = Distance to targetS = Size of target.Note that the pixels around the screen edge can be seen as infinite in size.