openxenmanager icon indicating copy to clipboard operation
openxenmanager copied to clipboard

Port entire application from GTK2+ to GTK3+

Open TwoWheelDev opened this issue 11 years ago • 5 comments

The application should be ported from pyGTK to pyGI (GObject Introspection).

https://wiki.gnome.org/Projects/PyGObject/IntrospectionPorting

TwoWheelDev avatar Jun 24 '14 11:06 TwoWheelDev

Probably not my place, but if I might suggest considering Qt5 (PySide). Given the current state of both tool kits, Qt has a much bigger upside at this particular moment with more contributors, more contributions, and a clearer design goal (with governance).

That isn't to say GTK is dying, or even going away any time soon, and the jump from v2 to v3 is a good step to take, and probably a lot less work overall. Also, 3.14 has been a big plus so far.

Then there's the third option of turning it into a web based app, which exists in the same space as Xen Orchestra, which has its own benefits.

I'm a new user, due to a new job, but have no problem with hunting down and resolving bugs. And in the end, it is a suggestion, so feel free to shoot it down, as I'm sure a lot of thought went into choosing GTK initially, and there may be very good reasons to stay on it.

schplat avatar Oct 05 '14 03:10 schplat

All suggestions are gratefully received! I didn't personally choose GTK myself, so there is no reason why it couldn't be moved to Qt. In fact it is something that I have already considered.

The two things that are used in addition to GTK, that would need to be replaced are:

  • [ ] Live charts - currently uses embedded copy of pygtk_chart
  • [ ] VNC Console - On Linux, gtk-vnc is used to provide the console

TwoWheelDev avatar Oct 06 '14 20:10 TwoWheelDev

I almost sure there's a Qt VNC library same way there's a gtk-vnc, i know it exists in the embedded side. The live charts might be the bigger hurdle, as there would be a fair amount of code change. And then there's duplicating the windows and tabs into Qt/QML, reworking all the signals, etc, which would be the massive undertaking.

So probably in the nice-to-have realm, while more focus on fixing bugs in the short term.

schplat avatar Oct 06 '14 21:10 schplat

So I have finally decided on starting to work on using Qt5 to desing the next version of OpenXenManager. This will obviously take time to complete though

TwoWheelDev avatar Jan 16 '18 15:01 TwoWheelDev

Have you thought about Electron ?

glococo avatar Aug 17 '18 12:08 glococo