diff --git a/TODO.org b/TODO.org index bc3ca5a..3bb9135 100644 --- a/TODO.org +++ b/TODO.org @@ -3,16 +3,13 @@ :CATEGORY: dev :END: -* Tasks [50%] [14/28] +* Tasks [53%] [15/28] ** TODO add a dropping area in the library :feature:ui: ** TODO bug in dragging servicelist items to reorder. Maybe I can fix with me simplified model system :bug: ** TODO VideoSQL Model and SQLite system needs fixing :bug: [[file:src/videosqlmodel.cpp::if (!query.exec("CREATE TABLE IF NOT EXISTS 'videos' ("]] -** TODO Bug in mpv race condition with selecting with the presenter but not with the actual PresentationWindow. :bug: -when selecting an item in the ServiceList, if the PresentationWindow isn't visible, it seems to prompt mpv to show a window of it's own with the video playing if the item contains a video. - ** TODO Build out a slide preview system so we can see each slide in the song or image slideshow :ui: [[file:~/dev/church-presenter/src/qml/presenter/SongEditor.qml::Presenter.SlideEditor {]] @@ -83,6 +80,9 @@ This thread helped a lot ** DONE images and videos need a better get system [[file:~/dev/church-presenter/src/videosqlmodel.cpp::QVariantList VideoSqlModel::getVideo(const int &row) {]] +** DONE Bug in mpv race condition with selecting with the presenter but not with the actual PresentationWindow. :bug: +when selecting an item in the ServiceList, if the PresentationWindow isn't visible, it seems to prompt mpv to show a window of it's own with the video playing if the item contains a video. + ** DONE Find a way to maths the textsize :slide: [[file:~/dev/church-presenter/src/qml/presenter/Slide.qml::property real textSize: 50]] diff --git a/src/qml/presenter/MainWindow.qml b/src/qml/presenter/MainWindow.qml index c51a5b2..ef36bb7 100644 --- a/src/qml/presenter/MainWindow.qml +++ b/src/qml/presenter/MainWindow.qml @@ -192,7 +192,7 @@ Controls.Page { presentation.loadVideo(); print("For window: Screen is: " + pWindow.screen + " And selected screen is: " + presentationScreen); pWindow.showFullScreen(); - pWindow.screen = presentationScreen; + /* pWindow.screen = presentationScreen; */ print("For window: Screen is: " + pWindow.screen + " And selected screen is: " + presentationScreen); } else diff --git a/src/qml/presenter/PresentationWindow.qml b/src/qml/presenter/PresentationWindow.qml index 5e70935..b29293c 100644 --- a/src/qml/presenter/PresentationWindow.qml +++ b/src/qml/presenter/PresentationWindow.qml @@ -34,7 +34,7 @@ Window { id: presentationSlide anchors.fill: parent imageSource: SlideObject.imageBackground - videoSource: presentationWindow.visible ? SlideObject.videoBackground : null + videoSource: presentationWindow.visible ? SlideObject.videoBackground : "" text: SlideObject.text }