Skip to content

Reloaded - Gtk3 migration #163

Open
Open
@d-j-a-y

Description

@d-j-a-y

https://github.com/d-j-a-y/veejay/commits/djay_gtk3

Reloaded specific

General Stuff
Preparation in GTK+ 2.x

Do not include individual headers
Do not use deprecated symbols
Use accessor functions instead of direct access
Replace GDK_ with GDK_KEY_
Use GIO for launching applications
Use cairo for drawing

Changes that need to be done at the time of the switch

Replace size_request by get_preferred_width/height
Replace GdkRegion by cairo_region_t
Replace GdkPixmap by cairo surfaces
Replace GdkColormap by GdkVisual
GdkDrawable is gone
Event filtering
Backend-specific code
GtkPlug and GtkSocket
The GtkWidget::draw signal
GtkProgressBar orientation
Check your expand and fill flags
Scrolling changes
GtkObject is gone
GtkEntryCompletion signal parameters
Resize grips
Prevent mixed linkage <--- see #163 (comment)
Install GTK+ modules in the right place

https://developer.gnome.org/gtk3/stable/gtk-migrating-2-to-3.html
https://developer.gnome.org/gtk3/stable/ch26s02.html
https://wiki.ubuntu.com/Lubuntu/Developers/GTK3Migration

After all .... TESTS!

TODO Before release

* Xorg high cpu! For instance, the program might be making resource-intensive xlib calls in a tight loop https://wiki.ubuntu.com/X/Troubleshooting/HighCPU ---- FIX issue exemple Fixed by cfa0a2e . See also #163 (comment)

  • ./Makefile.am --> review EXTRA_DIST
  • Fix Gtk-3 Minor version according api used (actually 3.0 but couldbe 3.10)
    * gtktimeselection / event_motion
    * multitrack / time line (horizontal slider) ... broken ? fixed by aacf57a
    * multitrack / opacity - chainfade (vertical n2 slider) ... broken ? fixed by bb13efe
    * fix vbox619 (stream/camera controls) scrolling fix by e60da41
    * fx and generator param's sliders don't catch mouse 3th btn roll fixed by fa890bd
    * fix feedback checkbox align fix by e60da41
    * scale value is not displayed full : change fx param widget container order : [ fx parameter value ] top hbox [ fx param description + fx param slider ] bottom vbox not ui issue, value is own by gtkscale, issue can be solved using a label out of gtkscale.
  • where the menu s gone ?
  • -a option broken
  • can't select codec when recording sample/stream (panel "Sample X" ---> "Recording to Disk" ---> drop down list "Codec")

minor

  • close veejay before reloaded --> can't close veejay_connection
  • close confirm dialog : [echap] should close dialog box not reloaded (self assign @d-j-a-y )
  • src/Makefile.am --> -lgmodule-2.0 should goto config.am
  • Purge/remove files not used stuff from reloaded and veejay
    ** gtkcolorsel (picker for ex) ... palette and other ?
    ** remove gtkhsv files
    ** Purge veejay config files
  • config.am : remove GLADE check (add GtkBuilder ?)
  • remove or update GTK_CHECK_VERSION related (ex vj-api.c)
  • Update veejay/reloaded dependencies (doc side)
  • reloaded as GtkApplication ?
  • Check if all gtk_*_new () calls have g_clear_object or g_object_unref counter part

TODO After release

  • Greetings to draekko-rand for Gtk3Curve

  • image in menu : gtkmenuitem + packing for image in menu, imagemenuitem deprecated from 3.10

    Add a status bar to connexion dialog ?
    fix gtkdialog ui def :      <child internal-child="vbox">    and     <child internal-child="action_area">
    

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions