← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 1297688] Re: Moving away from Win API to Multiplatform

 

Having worked with GTK+ for LinuxDC++, I would highly not recommend
using it to replace DWT. It is a C based library and the impedance
mismatch with using it in a C++ based language makes for very unwieldy
code. There is a C++ wrapper called gtkmm which may alleviate that, but
when LinuxDC++ was originally using gtkmm I heard it was slow and
required extra compilation steps. This may have changed with the latest
version though so it might be worth looking at gtkmm 3.

I think the concerns about GTK+ 3 being an unstable API are unwarranted.
For the type of simple widgets that DC++ would be using, there would be
very little chance of an API breakage. Having bugs when using those APIs
would definitely be a possibility as there is still a lot of changes
going on behind the API though.

I agree with poy and crise that std and boost libraries should be used
as much as possible to avoid platform specific code. But if the latter
is required then avoiding ifdefs and using separate implementation files
would be the way to go.

Regarding DWT, I never understood why it was necessary to write a
separate widget toolkit. Just an observation and not a knock against
anyone since writing a toolkit is very hard, but it seems like a lot of
the bugs I see you guys fixing are due to this layer of the stack and
moving to a more well known toolkit may help alleviate the workload and
allow for a better multi-platform experience. It would also allow
LinuxDC++ to be integrated into DC++ (or for it to just disappear). I
would suggest sticking with the two main toolkits (QT5 or GTK+3) as
anything else will not have the financial backing behind it to be kept
stable and up to date nor will they be supported very well on multiple
platforms.

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/1297688

Title:
  Moving away from Win API to Multiplatform

Status in DC++:
  New

Bug description:
  Isnt it time to move away from Win API to multi-platform so every
  platform can enjoy the vanilla client without using mods.

  Currently im running DC++ under Wine and there are alot of missing
  features under Wine since they are windows specific and not working
  proper under Wine and that got me thinking why..

  More and more are moving away from Windows these days since the
  introduction of Windows 8 to other platforms and the development of
  LinuxDC++ seems really low more dead to be fair so why not fill the
  void with small steps towards true multi-platform.

  and without starting to talk about what windows manager to use etc im
  more or less talking about core features but if i can suggest
  something that seems ok, its QT5 i truly hope this feature request at
  least gets some proper consideration and discussion at the top level.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dcplusplus/+bug/1297688/+subscriptions


References