Skip to content

KDE 5 Port

gl-bars edited this page Mar 11, 2016 · 20 revisions

KDE Frameworks 5 Port

Branch: https://github.com/basket-notepads/basket/tree/kde5port

The first ported version (2.49a) is released!

ToDo

  • Make Settings window show the KCM pages
  • Port KDE4 components
    • Soprano, Nepomuk (CMakeLists and source) Baloo does not seem to have custom indexing features yet (FileModifyJob has been removed). Write KRunner plugin from scratch?
  • Test optional components: GPG, libgit
  • Features in CMakeLists
    • What should be OPTIONAL and what - REQUIRED
    • Can now remove "X not found, configuring without"
    • Cmake warnings (icons)
  • Source code porting
    • (check updated kde-dev-scripts)
    • KFileMetaInfo - try KFileMetaData/Extractor or KMetaDataInfo (see Baloo extractor.cpp)
    • system tray icon (KStatusNotifierItem QSystemTrayIcon + QMenu)
    • BasketTreeListView::dragMoveEvent - qabstractitemmodeldatalist code is now commented out
    • Resolve porting TODOs (look for PORTING SCRIPT/PORTING/PORT QT5 in the code)
    • Qt*/*-style includes are not in use? (e.g. #include <QtGui/QPixmap> not replaced with #include <QPixmap> - and it compiles)
    • Add Kdelibs4ConfigMigrator
  • Bugs
    • Default baskets not loaded on first start?
    • Export as Basket archive: two dialogs are shown at the same time ( m_url->fileDialog()->setAcceptMode(QFileDialog::AcceptSave); //<-- deprecated )
    • LinkNote cannot be inserted (see console output)
    • Customize tags action is disabled; Add new tag causes QObject::connect complaints
    • Select icon file dialog (Basket icon - Other icon) is frozen (bug in KDE)
    • Note disappears after dragging it to other column

Monitor terminal output for crash on exit (backtrace was often empty => no crash mail)

Test changed code

  • Phonon
  • KUniqueApplication → QApplication + KDBusService
  • GPG key selection dialog, Password dialog (ButtonBox)
  • baskets and notes drag&drop (basket tree)
  • automatic migration of config and data from KDE4 [run from console and see debug messages]
Clone this wiki locally