About Gtk3/Gtk2 in 4.12

Ernesto Acosta elav at ipichcb.rimed.cu
Sat May 26 15:09:55 CEST 2012


El 25/05/12 03:36, Nick Schermer escribió:
> Folks,
>
> We've ported a couple of parts of Xfce to Gtk3 and IMO it is better to
> stick with Gtk2 for 4.12. Beside that fact that it is an awful amount of
> work, the resulting applications are visibly slower (large treeviews
> mostly), consume more resources and hardly any advantages (api
> technically).
> So for me porting the core of Xfce in the state Gtk3 currently is, is
> for me a no-go.
>
> That said we can still prepare for this to make the switch easier in the
> future.
>
> - Depend on Gtk 2.24.
> - Use new API (compile with GSEAL) as much as possible and drop
> deprecated API.
> - In a number of places we use Gtk widgets instead of our own versions.
> - Libraries (libxfce4ui and exo) can provide a gtk2 and gtk3 version of
> the lib.
> - Some core modules (xfce4-appfinder for example) can optionally compile
> against gtk3. This allows us to track Gtk3 progress and possibly help
> finding issues.
>
> This will give us more time to port parts to Gtk3, because with the
> complexity it brings, it will consume a lot of time, leaving not much
> room for adding new features. Not to mention the fact porting (and only
> porting) takes to fun out of the project, for me at least.
>
> It might even be possible to run gtk3 panel plugins in a gtk2 panel
> (externally), so also for goodies it will give a better migration path.
>
> We've already discussed this a bit on IRC/private, and Jannis and Peter
> agree with this path. Hopefully others do as well, because then we can
> assign the porting parts and work on the 4.12 roadmap.
>
> Nick

Hey friends:
I am not a developer, so my opinion does not have any technical details. 
First of all I think you should ask:

Are all these tests were done on Gtk 3.4?

Output delay Xfce with Gtk3 would run counter to the logical development 
and evolution. Anyway in the end, you have to carry Gtk3 on Xfce to like 
it or not, it will fall further Gtk2 gradually unsupported and will need 
to work well.

I think I must die gtk2 with Xfce 4.10. Xfce 4.10 is the best version of 
this desktop environment to date, and changes that may be added to 
version 4.12, should be included in version 4.10.

I also think that if it ultimately carries Gtk3 to Xfce, Xfce4 should 
leave behind and become Xfce5.

Sorry, my English is terrible.


-- 
Saludos: Ernesto Acosta


More information about the Xfce4-dev mailing list